@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:17.348Z") @Stability(value=Experimental) public interface FileSystemProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
FileSystemProps.Builder
A builder for
FileSystemProps |
static class |
FileSystemProps.Jsii$Proxy
An implementation for
FileSystemProps |
| Modifier and Type | Method and Description |
|---|---|
static FileSystemProps.Builder |
builder() |
default Boolean |
getEnableAutomaticBackups()
(experimental) Whether to enable automatic backups for the file system.
|
default Boolean |
getEncrypted()
(experimental) Defines if the data at rest in the file system is encrypted or not.
|
default String |
getFileSystemName()
(experimental) The file system's name.
|
default IKey |
getKmsKey()
(experimental) The KMS key used for encryption.
|
default LifecyclePolicy |
getLifecyclePolicy()
(experimental) A policy used by EFS lifecycle management to transition files to the Infrequent Access (IA) storage class.
|
default PerformanceMode |
getPerformanceMode()
(experimental) The performance mode that the file system will operate under.
|
default Size |
getProvisionedThroughputPerSecond()
(experimental) Provisioned throughput for the file system.
|
default RemovalPolicy |
getRemovalPolicy()
(experimental) The removal policy to apply to the file system.
|
default ISecurityGroup |
getSecurityGroup()
(experimental) Security Group to assign to this file system.
|
default ThroughputMode |
getThroughputMode()
(experimental) Enum to mention the throughput mode of the file system.
|
IVpc |
getVpc()
(experimental) VPC to launch the file system in.
|
default SubnetSelection |
getVpcSubnets()
(experimental) Which subnets to place the mount target in the VPC.
|
@Stability(value=Experimental) @NotNull IVpc getVpc()
@Stability(value=Experimental) @Nullable default Boolean getEnableAutomaticBackups()
Default: false
@Stability(value=Experimental) @Nullable default Boolean getEncrypted()
Default: - If your application has the '
@Stability(value=Experimental) @Nullable default String getFileSystemName()
Default: - CDK generated name
@Stability(value=Experimental) @Nullable default IKey getKmsKey()
This is required to encrypt the data at rest if @encrypted is set to true.
Default: - if 'encrypted' is true, the default key for EFS (/aws/elasticfilesystem) is used
@Stability(value=Experimental) @Nullable default LifecyclePolicy getLifecyclePolicy()
Default: - None. EFS will not transition files to the IA storage class.
@Stability(value=Experimental) @Nullable default PerformanceMode getPerformanceMode()
An Amazon EFS file system's performance mode can't be changed after the file system has been created. Updating this property will replace the file system.
Default: PerformanceMode.GENERAL_PURPOSE
@Stability(value=Experimental) @Nullable default Size getProvisionedThroughputPerSecond()
This is a required property if the throughput mode is set to PROVISIONED. Must be at least 1MiB/s.
Default: - none, errors out
@Stability(value=Experimental) @Nullable default RemovalPolicy getRemovalPolicy()
Default: RemovalPolicy.RETAIN
@Stability(value=Experimental) @Nullable default ISecurityGroup getSecurityGroup()
Default: - creates new security group which allows all outbound traffic
@Stability(value=Experimental) @Nullable default ThroughputMode getThroughputMode()
Default: ThroughputMode.BURSTING
@Stability(value=Experimental) @Nullable default SubnetSelection getVpcSubnets()
Default: - the Vpc default strategy if not specified
@Stability(value=Experimental) static FileSystemProps.Builder builder()
FileSystemProps.Builder of FileSystemPropsCopyright © 2021. All rights reserved.