Class S3FilesVolumeConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<S3FilesVolumeConfiguration.Builder,S3FilesVolumeConfiguration>
This parameter is specified when you're using an Amazon S3 Files file system for task storage. For more information, see Amazon S3 Files volumes in the Amazon Elastic Container Service Developer Guide.
Your task definition must include a Task IAM Role. See IAM role for attaching your file system to AWS compute resources for required permissions.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe full ARN of the S3 Files access point to use.builder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringThe full ARN of the S3 Files file system to mount.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe directory within the Amazon S3 Files file system to mount as the root directory.static Class<? extends S3FilesVolumeConfiguration.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final IntegerThe port to use for sending encrypted data between the ECS host and the S3 Files file system.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
fileSystemArn
The full ARN of the S3 Files file system to mount.
- Returns:
- The full ARN of the S3 Files file system to mount.
-
rootDirectory
The directory within the Amazon S3 Files file system to mount as the root directory. If this parameter is omitted, the root of the Amazon S3 Files file system will be used. Specifying
/will have the same effect as omitting this parameter.If a S3 Files access point is specified in the
accessPointArn, the root directory parameter must either be omitted or set to/which will enforce the path set on the S3 Files access point.- Returns:
- The directory within the Amazon S3 Files file system to mount as the root directory. If this parameter is
omitted, the root of the Amazon S3 Files file system will be used. Specifying
/will have the same effect as omitting this parameter.If a S3 Files access point is specified in the
accessPointArn, the root directory parameter must either be omitted or set to/which will enforce the path set on the S3 Files access point.
-
transitEncryptionPort
The port to use for sending encrypted data between the ECS host and the S3 Files file system. If you do not specify a transit encryption port, it will use the port selection strategy that the Amazon S3 Files mount helper uses. For more information, see S3 Files mount helper.
- Returns:
- The port to use for sending encrypted data between the ECS host and the S3 Files file system. If you do not specify a transit encryption port, it will use the port selection strategy that the Amazon S3 Files mount helper uses. For more information, see S3 Files mount helper.
-
accessPointArn
The full ARN of the S3 Files access point to use. If an access point is specified, the root directory value specified in the
S3FilesVolumeConfigurationmust either be omitted or set to/which will enforce the path set on the S3 Files access point. For more information, see Creating S3 Files access points.- Returns:
- The full ARN of the S3 Files access point to use. If an access point is specified, the root directory
value specified in the
S3FilesVolumeConfigurationmust either be omitted or set to/which will enforce the path set on the S3 Files access point. For more information, see Creating S3 Files access points.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<S3FilesVolumeConfiguration.Builder,S3FilesVolumeConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-