Class CfnTaskDefinitionPropsMixin.S3FilesVolumeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnTaskDefinitionPropsMixin.S3FilesVolumeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTaskDefinitionPropsMixin.S3FilesVolumeConfigurationProperty>
- Enclosing interface:
CfnTaskDefinitionPropsMixin.S3FilesVolumeConfigurationProperty
@Stability(Stable)
public static final class CfnTaskDefinitionPropsMixin.S3FilesVolumeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTaskDefinitionPropsMixin.S3FilesVolumeConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessPointArn(String accessPointArn) build()Builds the configured instance.fileSystemArn(String fileSystemArn) rootDirectory(String rootDirectory) transitEncryptionPort(Number transitEncryptionPort)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessPointArn
@Stability(Stable) public CfnTaskDefinitionPropsMixin.S3FilesVolumeConfigurationProperty.Builder accessPointArn(String accessPointArn) Sets the value ofCfnTaskDefinitionPropsMixin.S3FilesVolumeConfigurationProperty.getAccessPointArn()- Parameters:
accessPointArn- The full ARN of the S3 Files access point to use. If an access point is specified, the root directory value specified in theS3FilesVolumeConfigurationmust 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:
this
-
fileSystemArn
@Stability(Stable) public CfnTaskDefinitionPropsMixin.S3FilesVolumeConfigurationProperty.Builder fileSystemArn(String fileSystemArn) - Parameters:
fileSystemArn- The full ARN of the S3 Files file system to mount.- Returns:
this
-
rootDirectory
@Stability(Stable) public CfnTaskDefinitionPropsMixin.S3FilesVolumeConfigurationProperty.Builder rootDirectory(String rootDirectory) - Parameters:
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 theaccessPointArn, the root directory parameter must either be omitted or set to/which will enforce the path set on the S3 Files access point.- Returns:
this
-
transitEncryptionPort
@Stability(Stable) public CfnTaskDefinitionPropsMixin.S3FilesVolumeConfigurationProperty.Builder transitEncryptionPort(Number transitEncryptionPort) Sets the value ofCfnTaskDefinitionPropsMixin.S3FilesVolumeConfigurationProperty.getTransitEncryptionPort()- Parameters:
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:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTaskDefinitionPropsMixin.S3FilesVolumeConfigurationProperty>- Returns:
- a new instance of
CfnTaskDefinitionPropsMixin.S3FilesVolumeConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-