@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-31T18:37:00.334Z")
public interface EfsVolumeConfiguration
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ecs.*; EfsVolumeConfiguration efsVolumeConfiguration = EfsVolumeConfiguration.builder() .fileSystemId("fileSystemId") // the properties below are optional .authorizationConfig(AuthorizationConfig.builder() .accessPointId("accessPointId") .iam("iam") .build()) .rootDirectory("rootDirectory") .transitEncryption("transitEncryption") .transitEncryptionPort(123) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
EfsVolumeConfiguration.Builder
A builder for
EfsVolumeConfiguration |
static class |
EfsVolumeConfiguration.Jsii$Proxy
An implementation for
EfsVolumeConfiguration |
Modifier and Type | Method and Description |
---|---|
static EfsVolumeConfiguration.Builder |
builder() |
default AuthorizationConfig |
getAuthorizationConfig()
The authorization configuration details for the Amazon EFS file system.
|
java.lang.String |
getFileSystemId()
The Amazon EFS file system ID to use.
|
default java.lang.String |
getRootDirectory()
The directory within the Amazon EFS file system to mount as the root directory inside the host.
|
default java.lang.String |
getTransitEncryption()
Whether or not to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server.
|
default java.lang.Number |
getTransitEncryptionPort()
The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server.
|
java.lang.String getFileSystemId()
default AuthorizationConfig getAuthorizationConfig()
Default: No configuration.
default java.lang.String getRootDirectory()
Specifying / will have the same effect as omitting this parameter.
Default: The root of the Amazon EFS volume
default java.lang.String getTransitEncryption()
Transit encryption must be enabled if Amazon EFS IAM authorization is used.
Valid values: ENABLED | DISABLED
Default: DISABLED
default java.lang.Number getTransitEncryptionPort()
EFS mount helper uses.
Default: Port selection strategy that the Amazon EFS mount helper uses.
static EfsVolumeConfiguration.Builder builder()
EfsVolumeConfiguration.Builder
of EfsVolumeConfiguration