Interface EfsVolumeConfiguration
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EfsVolumeConfiguration.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:47.306Z")
@Stability(Stable)
public interface EfsVolumeConfiguration
extends software.amazon.jsii.JsiiSerializable
The configuration for an Elastic FileSystem volume.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forEfsVolumeConfiguration
static final class
An implementation forEfsVolumeConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default AuthorizationConfig
The authorization configuration details for the Amazon EFS file system.The Amazon EFS file system ID to use.default String
The directory within the Amazon EFS file system to mount as the root directory inside the host.default String
Whether or not to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server.default Number
The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFileSystemId
The Amazon EFS file system ID to use. -
getAuthorizationConfig
The authorization configuration details for the Amazon EFS file system.Default: No configuration.
-
getRootDirectory
The directory within the Amazon EFS file system to mount as the root directory inside the host.Specifying / will have the same effect as omitting this parameter.
Default: The root of the Amazon EFS volume
-
getTransitEncryption
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
Default: DISABLED
-
getTransitEncryptionPort
The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server.EFS mount helper uses.
Default: Port selection strategy that the Amazon EFS mount helper uses.
-
builder
- Returns:
- a
EfsVolumeConfiguration.Builder
ofEfsVolumeConfiguration
-