TaskDefinitionVolumeEfsVolumeConfiguration constructor
- Input<
TaskDefinitionVolumeEfsVolumeConfigurationAuthorizationConfig?> ? authorizationConfig, - required Input<
String> fileSystemId, - Input<
String?> ? rootDirectory, - Input<
String?> ? transitEncryption, - Input<
int?> ? transitEncryptionPort,
Creates a new TaskDefinitionVolumeEfsVolumeConfiguration.
authorizationConfig Configuration block for authorization for the Amazon EFS file system. Detailed below.
fileSystemId ID of the EFS File System.
rootDirectory Directory within the Amazon EFS file system to mount as the root directory inside the host. If this parameter is omitted, the root of the Amazon EFS volume will be used. Specifying / will have the same effect as omitting this parameter. This argument is ignored when using authorizationConfig.
transitEncryption Whether or not to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization is used. Valid values: ENABLED, DISABLED. If this parameter is omitted, the default value of DISABLED is used.
transitEncryptionPort Port to use for transit encryption. If you do not specify a transit encryption port, it will use the port selection strategy that the Amazon EFS mount helper uses.
Implementation
const TaskDefinitionVolumeEfsVolumeConfiguration({
this.authorizationConfig,
required this.fileSystemId,
this.rootDirectory,
this.transitEncryption,
this.transitEncryptionPort,
});