Interface EfsVolumeConfiguration

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:47.306Z") @Stability(Stable) public interface EfsVolumeConfiguration extends
The configuration for an Elastic FileSystem volume.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 EfsVolumeConfiguration efsVolumeConfiguration = EfsVolumeConfiguration.builder()
         // the properties below are optional
  • Method Details

    • getFileSystemId

      @Stability(Stable) @NotNull String getFileSystemId()
      The Amazon EFS file system ID to use.
    • getAuthorizationConfig

      @Stability(Stable) @Nullable default AuthorizationConfig getAuthorizationConfig()
      The authorization configuration details for the Amazon EFS file system.

      Default: No configuration.

    • getRootDirectory

      @Stability(Stable) @Nullable default String 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

      @Stability(Stable) @Nullable 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.

      Transit encryption must be enabled if Amazon EFS IAM authorization is used.

      Valid values: ENABLED | DISABLED

      Default: DISABLED

    • getTransitEncryptionPort

      @Stability(Stable) @Nullable default Number 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

      @Stability(Stable) static EfsVolumeConfiguration.Builder builder()
      a EfsVolumeConfiguration.Builder of EfsVolumeConfiguration