@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.697Z") @Stability(value=Stable) public interface EfsVolumeConfiguration extends software.amazon.jsii.JsiiSerializable
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.
|
String |
getFileSystemId()
The Amazon EFS file system ID to use.
|
default String |
getRootDirectory()
The directory within the Amazon EFS file system to mount as the root directory inside the host.
|
default 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 Number |
getTransitEncryptionPort()
The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server.
|
@Stability(value=Stable) @NotNull String getFileSystemId()
@Stability(value=Stable) @Nullable default AuthorizationConfig getAuthorizationConfig()
Default: No configuration.
@Stability(value=Stable) @Nullable default String getRootDirectory()
Specifying / will have the same effect as omitting this parameter.
Default: The root of the Amazon EFS volume
@Stability(value=Stable) @Nullable default String getTransitEncryption()
Transit encryption must be enabled if Amazon EFS IAM authorization is used.
Valid values: ENABLED | DISABLED
Default: DISABLED
@Stability(value=Stable) @Nullable default Number getTransitEncryptionPort()
EFS mount helper uses.
Default: Port selection strategy that the Amazon EFS mount helper uses.
@Stability(value=Stable) static EfsVolumeConfiguration.Builder builder()
EfsVolumeConfiguration.Builder of EfsVolumeConfigurationCopyright © 2022. All rights reserved.