We recommend new projects start with resources from the AWS provider.
aws-native.efs.FileSystem
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::EFS::FileSystem
resource creates a new, empty file system in EFSlong (EFS). You must create a mount target (AWS::EFS::MountTarget) to mount your EFS file system on an EC2 or other AWS cloud compute resource.
Create FileSystem Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FileSystem(name: string, args?: FileSystemArgs, opts?: CustomResourceOptions);
@overload
def FileSystem(resource_name: str,
args: Optional[FileSystemArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def FileSystem(resource_name: str,
opts: Optional[ResourceOptions] = None,
availability_zone_name: Optional[str] = None,
backup_policy: Optional[FileSystemBackupPolicyArgs] = None,
bypass_policy_lockout_safety_check: Optional[bool] = None,
encrypted: Optional[bool] = None,
file_system_policy: Optional[Any] = None,
file_system_protection: Optional[FileSystemProtectionArgs] = None,
file_system_tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
kms_key_id: Optional[str] = None,
lifecycle_policies: Optional[Sequence[FileSystemLifecyclePolicyArgs]] = None,
performance_mode: Optional[str] = None,
provisioned_throughput_in_mibps: Optional[float] = None,
replication_configuration: Optional[FileSystemReplicationConfigurationArgs] = None,
throughput_mode: Optional[str] = None)
func NewFileSystem(ctx *Context, name string, args *FileSystemArgs, opts ...ResourceOption) (*FileSystem, error)
public FileSystem(string name, FileSystemArgs? args = null, CustomResourceOptions? opts = null)
public FileSystem(String name, FileSystemArgs args)
public FileSystem(String name, FileSystemArgs args, CustomResourceOptions options)
type: aws-native:efs:FileSystem
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args FileSystemArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FileSystemArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FileSystemArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FileSystemArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FileSystemArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
FileSystem Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The FileSystem resource accepts the following input properties:
- Availability
Zone stringName - For One Zone file systems, specify the AWS Availability Zone in which to create the file system. Use the format
us-east-1a
to specify the Availability Zone. For more information about One Zone file systems, see EFS file system types in the Amazon EFS User Guide. One Zone file systems are not available in all Availability Zones in AWS-Regions where Amazon EFS is available. - Backup
Policy Pulumi.Aws Native. Efs. Inputs. File System Backup Policy - Use the
BackupPolicy
to turn automatic backups on or off for the file system. - Bypass
Policy boolLockout Safety Check - (Optional) A boolean that specifies whether or not to bypass the
FileSystemPolicy
lockout safety check. The lockout safety check determines whether the policy in the request will lock out, or prevent, the IAM principal that is making the request from making futurePutFileSystemPolicy
requests on this file system. SetBypassPolicyLockoutSafetyCheck
toTrue
only when you intend to prevent the IAM principal that is making the request from making subsequentPutFileSystemPolicy
requests on this file system. The default value isFalse
. - Encrypted bool
- A Boolean value that, if true, creates an encrypted file system. When creating an encrypted file system, you have the option of specifying a KmsKeyId for an existing kms-key-long. If you don't specify a kms-key, then the default kms-key for EFS,
/aws/elasticfilesystem
, is used to protect the encrypted file system. - File
System objectPolicy The
FileSystemPolicy
for the EFS file system. A file system policy is an IAM resource policy used to control NFS access to an EFS file system. For more information, see Using to control NFS access to Amazon EFS in the Amazon EFS User Guide.Search the CloudFormation User Guide for
AWS::EFS::FileSystem
for more information about the expected schema for this property.- File
System Pulumi.Protection Aws Native. Efs. Inputs. File System Protection - Describes the protection on the file system.
- List<Pulumi.
Aws Native. Inputs. Tag> - Use to create one or more tags associated with the file system. Each tag is a user-defined key-value pair. Name your file system on creation by including a
"Key":"Name","Value":"{value}"
key-value pair. Each key must be unique. For more information, see Tagging resources in the General Reference Guide. - Kms
Key stringId The ID of the kms-key-long to be used to protect the encrypted file system. This parameter is only required if you want to use a nondefault kms-key. If this parameter is not specified, the default kms-key for EFS is used. This ID can be in one of the following formats:
- Key ID - A unique identifier of the key, for example
1234abcd-12ab-34cd-56ef-1234567890ab
. - ARN - An Amazon Resource Name (ARN) for the key, for example
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
. - Key alias - A previously created display name for a key, for example
alias/projectKey1
. - Key alias ARN - An ARN for a key alias, for example
arn:aws:kms:us-west-2:444455556666:alias/projectKey1
.
If
KmsKeyId
is specified, theEncrypted
parameter must be set to true.- Key ID - A unique identifier of the key, for example
- Lifecycle
Policies List<Pulumi.Aws Native. Efs. Inputs. File System Lifecycle Policy> An array of
LifecyclePolicy
objects that define the file system'sLifecycleConfiguration
object. ALifecycleConfiguration
object informs Lifecycle management of the following:- When to move files in the file system from primary storage to IA storage.
- When to move files in the file system from primary storage or IA storage to Archive storage.
- When to move files that are in IA or Archive storage to primary storage.
EFS requires that each
LifecyclePolicy
object have only a single transition. This means that in a request body,LifecyclePolicies
needs to be structured as an array ofLifecyclePolicy
objects, one object for each transition,TransitionToIA
,TransitionToArchive
TransitionToPrimaryStorageClass
. See the example requests in the following section for more information.- Performance
Mode string - The performance mode of the file system. We recommend
generalPurpose
performance mode for all file systems. File systems using themaxIO
performance mode can scale to higher levels of aggregate throughput and operations per second with a tradeoff of slightly higher latencies for most file operations. The performance mode can't be changed after the file system has been created. ThemaxIO
mode is not supported on One Zone file systems. Due to the higher per-operation latencies with Max I/O, we recommend using General Purpose performance mode for all file systems. Default isgeneralPurpose
. - Provisioned
Throughput doubleIn Mibps - The throughput, measured in mebibytes per second (MiBps), that you want to provision for a file system that you're creating. Required if
ThroughputMode
is set toprovisioned
. Valid values are 1-3414 MiBps, with the upper limit depending on Region. To increase this limit, contact SUP. For more information, see Amazon EFS quotas that you can increase in the Amazon EFS User Guide. - Replication
Configuration Pulumi.Aws Native. Efs. Inputs. File System Replication Configuration - Describes the replication configuration for a specific file system.
- Throughput
Mode string - Specifies the throughput mode for the file system. The mode can be
bursting
,provisioned
, orelastic
. If you setThroughputMode
toprovisioned
, you must also set a value forProvisionedThroughputInMibps
. After you create the file system, you can decrease your file system's Provisioned throughput or change between the throughput modes, with certain time restrictions. For more information, see Specifying throughput with provisioned mode in the Amazon EFS User Guide. Default isbursting
.
- Availability
Zone stringName - For One Zone file systems, specify the AWS Availability Zone in which to create the file system. Use the format
us-east-1a
to specify the Availability Zone. For more information about One Zone file systems, see EFS file system types in the Amazon EFS User Guide. One Zone file systems are not available in all Availability Zones in AWS-Regions where Amazon EFS is available. - Backup
Policy FileSystem Backup Policy Args - Use the
BackupPolicy
to turn automatic backups on or off for the file system. - Bypass
Policy boolLockout Safety Check - (Optional) A boolean that specifies whether or not to bypass the
FileSystemPolicy
lockout safety check. The lockout safety check determines whether the policy in the request will lock out, or prevent, the IAM principal that is making the request from making futurePutFileSystemPolicy
requests on this file system. SetBypassPolicyLockoutSafetyCheck
toTrue
only when you intend to prevent the IAM principal that is making the request from making subsequentPutFileSystemPolicy
requests on this file system. The default value isFalse
. - Encrypted bool
- A Boolean value that, if true, creates an encrypted file system. When creating an encrypted file system, you have the option of specifying a KmsKeyId for an existing kms-key-long. If you don't specify a kms-key, then the default kms-key for EFS,
/aws/elasticfilesystem
, is used to protect the encrypted file system. - File
System interface{}Policy The
FileSystemPolicy
for the EFS file system. A file system policy is an IAM resource policy used to control NFS access to an EFS file system. For more information, see Using to control NFS access to Amazon EFS in the Amazon EFS User Guide.Search the CloudFormation User Guide for
AWS::EFS::FileSystem
for more information about the expected schema for this property.- File
System FileProtection System Protection Args - Describes the protection on the file system.
- Tag
Args - Use to create one or more tags associated with the file system. Each tag is a user-defined key-value pair. Name your file system on creation by including a
"Key":"Name","Value":"{value}"
key-value pair. Each key must be unique. For more information, see Tagging resources in the General Reference Guide. - Kms
Key stringId The ID of the kms-key-long to be used to protect the encrypted file system. This parameter is only required if you want to use a nondefault kms-key. If this parameter is not specified, the default kms-key for EFS is used. This ID can be in one of the following formats:
- Key ID - A unique identifier of the key, for example
1234abcd-12ab-34cd-56ef-1234567890ab
. - ARN - An Amazon Resource Name (ARN) for the key, for example
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
. - Key alias - A previously created display name for a key, for example
alias/projectKey1
. - Key alias ARN - An ARN for a key alias, for example
arn:aws:kms:us-west-2:444455556666:alias/projectKey1
.
If
KmsKeyId
is specified, theEncrypted
parameter must be set to true.- Key ID - A unique identifier of the key, for example
- Lifecycle
Policies []FileSystem Lifecycle Policy Args An array of
LifecyclePolicy
objects that define the file system'sLifecycleConfiguration
object. ALifecycleConfiguration
object informs Lifecycle management of the following:- When to move files in the file system from primary storage to IA storage.
- When to move files in the file system from primary storage or IA storage to Archive storage.
- When to move files that are in IA or Archive storage to primary storage.
EFS requires that each
LifecyclePolicy
object have only a single transition. This means that in a request body,LifecyclePolicies
needs to be structured as an array ofLifecyclePolicy
objects, one object for each transition,TransitionToIA
,TransitionToArchive
TransitionToPrimaryStorageClass
. See the example requests in the following section for more information.- Performance
Mode string - The performance mode of the file system. We recommend
generalPurpose
performance mode for all file systems. File systems using themaxIO
performance mode can scale to higher levels of aggregate throughput and operations per second with a tradeoff of slightly higher latencies for most file operations. The performance mode can't be changed after the file system has been created. ThemaxIO
mode is not supported on One Zone file systems. Due to the higher per-operation latencies with Max I/O, we recommend using General Purpose performance mode for all file systems. Default isgeneralPurpose
. - Provisioned
Throughput float64In Mibps - The throughput, measured in mebibytes per second (MiBps), that you want to provision for a file system that you're creating. Required if
ThroughputMode
is set toprovisioned
. Valid values are 1-3414 MiBps, with the upper limit depending on Region. To increase this limit, contact SUP. For more information, see Amazon EFS quotas that you can increase in the Amazon EFS User Guide. - Replication
Configuration FileSystem Replication Configuration Args - Describes the replication configuration for a specific file system.
- Throughput
Mode string - Specifies the throughput mode for the file system. The mode can be
bursting
,provisioned
, orelastic
. If you setThroughputMode
toprovisioned
, you must also set a value forProvisionedThroughputInMibps
. After you create the file system, you can decrease your file system's Provisioned throughput or change between the throughput modes, with certain time restrictions. For more information, see Specifying throughput with provisioned mode in the Amazon EFS User Guide. Default isbursting
.
- availability
Zone StringName - For One Zone file systems, specify the AWS Availability Zone in which to create the file system. Use the format
us-east-1a
to specify the Availability Zone. For more information about One Zone file systems, see EFS file system types in the Amazon EFS User Guide. One Zone file systems are not available in all Availability Zones in AWS-Regions where Amazon EFS is available. - backup
Policy FileSystem Backup Policy - Use the
BackupPolicy
to turn automatic backups on or off for the file system. - bypass
Policy BooleanLockout Safety Check - (Optional) A boolean that specifies whether or not to bypass the
FileSystemPolicy
lockout safety check. The lockout safety check determines whether the policy in the request will lock out, or prevent, the IAM principal that is making the request from making futurePutFileSystemPolicy
requests on this file system. SetBypassPolicyLockoutSafetyCheck
toTrue
only when you intend to prevent the IAM principal that is making the request from making subsequentPutFileSystemPolicy
requests on this file system. The default value isFalse
. - encrypted Boolean
- A Boolean value that, if true, creates an encrypted file system. When creating an encrypted file system, you have the option of specifying a KmsKeyId for an existing kms-key-long. If you don't specify a kms-key, then the default kms-key for EFS,
/aws/elasticfilesystem
, is used to protect the encrypted file system. - file
System ObjectPolicy The
FileSystemPolicy
for the EFS file system. A file system policy is an IAM resource policy used to control NFS access to an EFS file system. For more information, see Using to control NFS access to Amazon EFS in the Amazon EFS User Guide.Search the CloudFormation User Guide for
AWS::EFS::FileSystem
for more information about the expected schema for this property.- file
System FileProtection System Protection - Describes the protection on the file system.
- List<Tag>
- Use to create one or more tags associated with the file system. Each tag is a user-defined key-value pair. Name your file system on creation by including a
"Key":"Name","Value":"{value}"
key-value pair. Each key must be unique. For more information, see Tagging resources in the General Reference Guide. - kms
Key StringId The ID of the kms-key-long to be used to protect the encrypted file system. This parameter is only required if you want to use a nondefault kms-key. If this parameter is not specified, the default kms-key for EFS is used. This ID can be in one of the following formats:
- Key ID - A unique identifier of the key, for example
1234abcd-12ab-34cd-56ef-1234567890ab
. - ARN - An Amazon Resource Name (ARN) for the key, for example
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
. - Key alias - A previously created display name for a key, for example
alias/projectKey1
. - Key alias ARN - An ARN for a key alias, for example
arn:aws:kms:us-west-2:444455556666:alias/projectKey1
.
If
KmsKeyId
is specified, theEncrypted
parameter must be set to true.- Key ID - A unique identifier of the key, for example
- lifecycle
Policies List<FileSystem Lifecycle Policy> An array of
LifecyclePolicy
objects that define the file system'sLifecycleConfiguration
object. ALifecycleConfiguration
object informs Lifecycle management of the following:- When to move files in the file system from primary storage to IA storage.
- When to move files in the file system from primary storage or IA storage to Archive storage.
- When to move files that are in IA or Archive storage to primary storage.
EFS requires that each
LifecyclePolicy
object have only a single transition. This means that in a request body,LifecyclePolicies
needs to be structured as an array ofLifecyclePolicy
objects, one object for each transition,TransitionToIA
,TransitionToArchive
TransitionToPrimaryStorageClass
. See the example requests in the following section for more information.- performance
Mode String - The performance mode of the file system. We recommend
generalPurpose
performance mode for all file systems. File systems using themaxIO
performance mode can scale to higher levels of aggregate throughput and operations per second with a tradeoff of slightly higher latencies for most file operations. The performance mode can't be changed after the file system has been created. ThemaxIO
mode is not supported on One Zone file systems. Due to the higher per-operation latencies with Max I/O, we recommend using General Purpose performance mode for all file systems. Default isgeneralPurpose
. - provisioned
Throughput DoubleIn Mibps - The throughput, measured in mebibytes per second (MiBps), that you want to provision for a file system that you're creating. Required if
ThroughputMode
is set toprovisioned
. Valid values are 1-3414 MiBps, with the upper limit depending on Region. To increase this limit, contact SUP. For more information, see Amazon EFS quotas that you can increase in the Amazon EFS User Guide. - replication
Configuration FileSystem Replication Configuration - Describes the replication configuration for a specific file system.
- throughput
Mode String - Specifies the throughput mode for the file system. The mode can be
bursting
,provisioned
, orelastic
. If you setThroughputMode
toprovisioned
, you must also set a value forProvisionedThroughputInMibps
. After you create the file system, you can decrease your file system's Provisioned throughput or change between the throughput modes, with certain time restrictions. For more information, see Specifying throughput with provisioned mode in the Amazon EFS User Guide. Default isbursting
.
- availability
Zone stringName - For One Zone file systems, specify the AWS Availability Zone in which to create the file system. Use the format
us-east-1a
to specify the Availability Zone. For more information about One Zone file systems, see EFS file system types in the Amazon EFS User Guide. One Zone file systems are not available in all Availability Zones in AWS-Regions where Amazon EFS is available. - backup
Policy FileSystem Backup Policy - Use the
BackupPolicy
to turn automatic backups on or off for the file system. - bypass
Policy booleanLockout Safety Check - (Optional) A boolean that specifies whether or not to bypass the
FileSystemPolicy
lockout safety check. The lockout safety check determines whether the policy in the request will lock out, or prevent, the IAM principal that is making the request from making futurePutFileSystemPolicy
requests on this file system. SetBypassPolicyLockoutSafetyCheck
toTrue
only when you intend to prevent the IAM principal that is making the request from making subsequentPutFileSystemPolicy
requests on this file system. The default value isFalse
. - encrypted boolean
- A Boolean value that, if true, creates an encrypted file system. When creating an encrypted file system, you have the option of specifying a KmsKeyId for an existing kms-key-long. If you don't specify a kms-key, then the default kms-key for EFS,
/aws/elasticfilesystem
, is used to protect the encrypted file system. - file
System anyPolicy The
FileSystemPolicy
for the EFS file system. A file system policy is an IAM resource policy used to control NFS access to an EFS file system. For more information, see Using to control NFS access to Amazon EFS in the Amazon EFS User Guide.Search the CloudFormation User Guide for
AWS::EFS::FileSystem
for more information about the expected schema for this property.- file
System FileProtection System Protection - Describes the protection on the file system.
- Tag[]
- Use to create one or more tags associated with the file system. Each tag is a user-defined key-value pair. Name your file system on creation by including a
"Key":"Name","Value":"{value}"
key-value pair. Each key must be unique. For more information, see Tagging resources in the General Reference Guide. - kms
Key stringId The ID of the kms-key-long to be used to protect the encrypted file system. This parameter is only required if you want to use a nondefault kms-key. If this parameter is not specified, the default kms-key for EFS is used. This ID can be in one of the following formats:
- Key ID - A unique identifier of the key, for example
1234abcd-12ab-34cd-56ef-1234567890ab
. - ARN - An Amazon Resource Name (ARN) for the key, for example
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
. - Key alias - A previously created display name for a key, for example
alias/projectKey1
. - Key alias ARN - An ARN for a key alias, for example
arn:aws:kms:us-west-2:444455556666:alias/projectKey1
.
If
KmsKeyId
is specified, theEncrypted
parameter must be set to true.- Key ID - A unique identifier of the key, for example
- lifecycle
Policies FileSystem Lifecycle Policy[] An array of
LifecyclePolicy
objects that define the file system'sLifecycleConfiguration
object. ALifecycleConfiguration
object informs Lifecycle management of the following:- When to move files in the file system from primary storage to IA storage.
- When to move files in the file system from primary storage or IA storage to Archive storage.
- When to move files that are in IA or Archive storage to primary storage.
EFS requires that each
LifecyclePolicy
object have only a single transition. This means that in a request body,LifecyclePolicies
needs to be structured as an array ofLifecyclePolicy
objects, one object for each transition,TransitionToIA
,TransitionToArchive
TransitionToPrimaryStorageClass
. See the example requests in the following section for more information.- performance
Mode string - The performance mode of the file system. We recommend
generalPurpose
performance mode for all file systems. File systems using themaxIO
performance mode can scale to higher levels of aggregate throughput and operations per second with a tradeoff of slightly higher latencies for most file operations. The performance mode can't be changed after the file system has been created. ThemaxIO
mode is not supported on One Zone file systems. Due to the higher per-operation latencies with Max I/O, we recommend using General Purpose performance mode for all file systems. Default isgeneralPurpose
. - provisioned
Throughput numberIn Mibps - The throughput, measured in mebibytes per second (MiBps), that you want to provision for a file system that you're creating. Required if
ThroughputMode
is set toprovisioned
. Valid values are 1-3414 MiBps, with the upper limit depending on Region. To increase this limit, contact SUP. For more information, see Amazon EFS quotas that you can increase in the Amazon EFS User Guide. - replication
Configuration FileSystem Replication Configuration - Describes the replication configuration for a specific file system.
- throughput
Mode string - Specifies the throughput mode for the file system. The mode can be
bursting
,provisioned
, orelastic
. If you setThroughputMode
toprovisioned
, you must also set a value forProvisionedThroughputInMibps
. After you create the file system, you can decrease your file system's Provisioned throughput or change between the throughput modes, with certain time restrictions. For more information, see Specifying throughput with provisioned mode in the Amazon EFS User Guide. Default isbursting
.
- availability_
zone_ strname - For One Zone file systems, specify the AWS Availability Zone in which to create the file system. Use the format
us-east-1a
to specify the Availability Zone. For more information about One Zone file systems, see EFS file system types in the Amazon EFS User Guide. One Zone file systems are not available in all Availability Zones in AWS-Regions where Amazon EFS is available. - backup_
policy FileSystem Backup Policy Args - Use the
BackupPolicy
to turn automatic backups on or off for the file system. - bypass_
policy_ boollockout_ safety_ check - (Optional) A boolean that specifies whether or not to bypass the
FileSystemPolicy
lockout safety check. The lockout safety check determines whether the policy in the request will lock out, or prevent, the IAM principal that is making the request from making futurePutFileSystemPolicy
requests on this file system. SetBypassPolicyLockoutSafetyCheck
toTrue
only when you intend to prevent the IAM principal that is making the request from making subsequentPutFileSystemPolicy
requests on this file system. The default value isFalse
. - encrypted bool
- A Boolean value that, if true, creates an encrypted file system. When creating an encrypted file system, you have the option of specifying a KmsKeyId for an existing kms-key-long. If you don't specify a kms-key, then the default kms-key for EFS,
/aws/elasticfilesystem
, is used to protect the encrypted file system. - file_
system_ Anypolicy The
FileSystemPolicy
for the EFS file system. A file system policy is an IAM resource policy used to control NFS access to an EFS file system. For more information, see Using to control NFS access to Amazon EFS in the Amazon EFS User Guide.Search the CloudFormation User Guide for
AWS::EFS::FileSystem
for more information about the expected schema for this property.- file_
system_ Fileprotection System Protection Args - Describes the protection on the file system.
- Sequence[Tag
Args] - Use to create one or more tags associated with the file system. Each tag is a user-defined key-value pair. Name your file system on creation by including a
"Key":"Name","Value":"{value}"
key-value pair. Each key must be unique. For more information, see Tagging resources in the General Reference Guide. - kms_
key_ strid The ID of the kms-key-long to be used to protect the encrypted file system. This parameter is only required if you want to use a nondefault kms-key. If this parameter is not specified, the default kms-key for EFS is used. This ID can be in one of the following formats:
- Key ID - A unique identifier of the key, for example
1234abcd-12ab-34cd-56ef-1234567890ab
. - ARN - An Amazon Resource Name (ARN) for the key, for example
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
. - Key alias - A previously created display name for a key, for example
alias/projectKey1
. - Key alias ARN - An ARN for a key alias, for example
arn:aws:kms:us-west-2:444455556666:alias/projectKey1
.
If
KmsKeyId
is specified, theEncrypted
parameter must be set to true.- Key ID - A unique identifier of the key, for example
- lifecycle_
policies Sequence[FileSystem Lifecycle Policy Args] An array of
LifecyclePolicy
objects that define the file system'sLifecycleConfiguration
object. ALifecycleConfiguration
object informs Lifecycle management of the following:- When to move files in the file system from primary storage to IA storage.
- When to move files in the file system from primary storage or IA storage to Archive storage.
- When to move files that are in IA or Archive storage to primary storage.
EFS requires that each
LifecyclePolicy
object have only a single transition. This means that in a request body,LifecyclePolicies
needs to be structured as an array ofLifecyclePolicy
objects, one object for each transition,TransitionToIA
,TransitionToArchive
TransitionToPrimaryStorageClass
. See the example requests in the following section for more information.- performance_
mode str - The performance mode of the file system. We recommend
generalPurpose
performance mode for all file systems. File systems using themaxIO
performance mode can scale to higher levels of aggregate throughput and operations per second with a tradeoff of slightly higher latencies for most file operations. The performance mode can't be changed after the file system has been created. ThemaxIO
mode is not supported on One Zone file systems. Due to the higher per-operation latencies with Max I/O, we recommend using General Purpose performance mode for all file systems. Default isgeneralPurpose
. - provisioned_
throughput_ floatin_ mibps - The throughput, measured in mebibytes per second (MiBps), that you want to provision for a file system that you're creating. Required if
ThroughputMode
is set toprovisioned
. Valid values are 1-3414 MiBps, with the upper limit depending on Region. To increase this limit, contact SUP. For more information, see Amazon EFS quotas that you can increase in the Amazon EFS User Guide. - replication_
configuration FileSystem Replication Configuration Args - Describes the replication configuration for a specific file system.
- throughput_
mode str - Specifies the throughput mode for the file system. The mode can be
bursting
,provisioned
, orelastic
. If you setThroughputMode
toprovisioned
, you must also set a value forProvisionedThroughputInMibps
. After you create the file system, you can decrease your file system's Provisioned throughput or change between the throughput modes, with certain time restrictions. For more information, see Specifying throughput with provisioned mode in the Amazon EFS User Guide. Default isbursting
.
- availability
Zone StringName - For One Zone file systems, specify the AWS Availability Zone in which to create the file system. Use the format
us-east-1a
to specify the Availability Zone. For more information about One Zone file systems, see EFS file system types in the Amazon EFS User Guide. One Zone file systems are not available in all Availability Zones in AWS-Regions where Amazon EFS is available. - backup
Policy Property Map - Use the
BackupPolicy
to turn automatic backups on or off for the file system. - bypass
Policy BooleanLockout Safety Check - (Optional) A boolean that specifies whether or not to bypass the
FileSystemPolicy
lockout safety check. The lockout safety check determines whether the policy in the request will lock out, or prevent, the IAM principal that is making the request from making futurePutFileSystemPolicy
requests on this file system. SetBypassPolicyLockoutSafetyCheck
toTrue
only when you intend to prevent the IAM principal that is making the request from making subsequentPutFileSystemPolicy
requests on this file system. The default value isFalse
. - encrypted Boolean
- A Boolean value that, if true, creates an encrypted file system. When creating an encrypted file system, you have the option of specifying a KmsKeyId for an existing kms-key-long. If you don't specify a kms-key, then the default kms-key for EFS,
/aws/elasticfilesystem
, is used to protect the encrypted file system. - file
System AnyPolicy The
FileSystemPolicy
for the EFS file system. A file system policy is an IAM resource policy used to control NFS access to an EFS file system. For more information, see Using to control NFS access to Amazon EFS in the Amazon EFS User Guide.Search the CloudFormation User Guide for
AWS::EFS::FileSystem
for more information about the expected schema for this property.- file
System Property MapProtection - Describes the protection on the file system.
- List<Property Map>
- Use to create one or more tags associated with the file system. Each tag is a user-defined key-value pair. Name your file system on creation by including a
"Key":"Name","Value":"{value}"
key-value pair. Each key must be unique. For more information, see Tagging resources in the General Reference Guide. - kms
Key StringId The ID of the kms-key-long to be used to protect the encrypted file system. This parameter is only required if you want to use a nondefault kms-key. If this parameter is not specified, the default kms-key for EFS is used. This ID can be in one of the following formats:
- Key ID - A unique identifier of the key, for example
1234abcd-12ab-34cd-56ef-1234567890ab
. - ARN - An Amazon Resource Name (ARN) for the key, for example
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
. - Key alias - A previously created display name for a key, for example
alias/projectKey1
. - Key alias ARN - An ARN for a key alias, for example
arn:aws:kms:us-west-2:444455556666:alias/projectKey1
.
If
KmsKeyId
is specified, theEncrypted
parameter must be set to true.- Key ID - A unique identifier of the key, for example
- lifecycle
Policies List<Property Map> An array of
LifecyclePolicy
objects that define the file system'sLifecycleConfiguration
object. ALifecycleConfiguration
object informs Lifecycle management of the following:- When to move files in the file system from primary storage to IA storage.
- When to move files in the file system from primary storage or IA storage to Archive storage.
- When to move files that are in IA or Archive storage to primary storage.
EFS requires that each
LifecyclePolicy
object have only a single transition. This means that in a request body,LifecyclePolicies
needs to be structured as an array ofLifecyclePolicy
objects, one object for each transition,TransitionToIA
,TransitionToArchive
TransitionToPrimaryStorageClass
. See the example requests in the following section for more information.- performance
Mode String - The performance mode of the file system. We recommend
generalPurpose
performance mode for all file systems. File systems using themaxIO
performance mode can scale to higher levels of aggregate throughput and operations per second with a tradeoff of slightly higher latencies for most file operations. The performance mode can't be changed after the file system has been created. ThemaxIO
mode is not supported on One Zone file systems. Due to the higher per-operation latencies with Max I/O, we recommend using General Purpose performance mode for all file systems. Default isgeneralPurpose
. - provisioned
Throughput NumberIn Mibps - The throughput, measured in mebibytes per second (MiBps), that you want to provision for a file system that you're creating. Required if
ThroughputMode
is set toprovisioned
. Valid values are 1-3414 MiBps, with the upper limit depending on Region. To increase this limit, contact SUP. For more information, see Amazon EFS quotas that you can increase in the Amazon EFS User Guide. - replication
Configuration Property Map - Describes the replication configuration for a specific file system.
- throughput
Mode String - Specifies the throughput mode for the file system. The mode can be
bursting
,provisioned
, orelastic
. If you setThroughputMode
toprovisioned
, you must also set a value forProvisionedThroughputInMibps
. After you create the file system, you can decrease your file system's Provisioned throughput or change between the throughput modes, with certain time restrictions. For more information, see Specifying throughput with provisioned mode in the Amazon EFS User Guide. Default isbursting
.
Outputs
All input properties are implicitly available as output properties. Additionally, the FileSystem resource produces the following output properties:
- Arn string
The Amazon Resource Name (ARN) of the EFS file system.
Example:
arn:aws:elasticfilesystem:us-west-2:1111333322228888:file-system/fs-0123456789abcdef8
- File
System stringId - The ID of the EFS file system. For example:
fs-abcdef0123456789a
- Id string
- The provider-assigned unique ID for this managed resource.
- Arn string
The Amazon Resource Name (ARN) of the EFS file system.
Example:
arn:aws:elasticfilesystem:us-west-2:1111333322228888:file-system/fs-0123456789abcdef8
- File
System stringId - The ID of the EFS file system. For example:
fs-abcdef0123456789a
- Id string
- The provider-assigned unique ID for this managed resource.
- arn String
The Amazon Resource Name (ARN) of the EFS file system.
Example:
arn:aws:elasticfilesystem:us-west-2:1111333322228888:file-system/fs-0123456789abcdef8
- file
System StringId - The ID of the EFS file system. For example:
fs-abcdef0123456789a
- id String
- The provider-assigned unique ID for this managed resource.
- arn string
The Amazon Resource Name (ARN) of the EFS file system.
Example:
arn:aws:elasticfilesystem:us-west-2:1111333322228888:file-system/fs-0123456789abcdef8
- file
System stringId - The ID of the EFS file system. For example:
fs-abcdef0123456789a
- id string
- The provider-assigned unique ID for this managed resource.
- arn str
The Amazon Resource Name (ARN) of the EFS file system.
Example:
arn:aws:elasticfilesystem:us-west-2:1111333322228888:file-system/fs-0123456789abcdef8
- file_
system_ strid - The ID of the EFS file system. For example:
fs-abcdef0123456789a
- id str
- The provider-assigned unique ID for this managed resource.
- arn String
The Amazon Resource Name (ARN) of the EFS file system.
Example:
arn:aws:elasticfilesystem:us-west-2:1111333322228888:file-system/fs-0123456789abcdef8
- file
System StringId - The ID of the EFS file system. For example:
fs-abcdef0123456789a
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
FileSystemBackupPolicy, FileSystemBackupPolicyArgs
- Status
Pulumi.
Aws Native. Efs. File System Backup Policy Status - Set the backup policy status for the file system.
- ENABLED - Turns automatic backups on for the file system.
- DISABLED - Turns automatic backups off for the file system.
- Status
File
System Backup Policy Status - Set the backup policy status for the file system.
- ENABLED - Turns automatic backups on for the file system.
- DISABLED - Turns automatic backups off for the file system.
- status
File
System Backup Policy Status - Set the backup policy status for the file system.
- ENABLED - Turns automatic backups on for the file system.
- DISABLED - Turns automatic backups off for the file system.
- status
File
System Backup Policy Status - Set the backup policy status for the file system.
- ENABLED - Turns automatic backups on for the file system.
- DISABLED - Turns automatic backups off for the file system.
- status
File
System Backup Policy Status - Set the backup policy status for the file system.
- ENABLED - Turns automatic backups on for the file system.
- DISABLED - Turns automatic backups off for the file system.
- status "DISABLED" | "ENABLED"
- Set the backup policy status for the file system.
- ENABLED - Turns automatic backups on for the file system.
- DISABLED - Turns automatic backups off for the file system.
FileSystemBackupPolicyStatus, FileSystemBackupPolicyStatusArgs
- Disabled
- DISABLED
- Enabled
- ENABLED
- File
System Backup Policy Status Disabled - DISABLED
- File
System Backup Policy Status Enabled - ENABLED
- Disabled
- DISABLED
- Enabled
- ENABLED
- Disabled
- DISABLED
- Enabled
- ENABLED
- DISABLED
- DISABLED
- ENABLED
- ENABLED
- "DISABLED"
- DISABLED
- "ENABLED"
- ENABLED
FileSystemLifecyclePolicy, FileSystemLifecyclePolicyArgs
- Transition
To stringArchive - The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.
- Transition
To stringIa - The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Infrequent Access (IA) storage. Metadata operations such as listing the contents of a directory don't count as file access events.
- Transition
To stringPrimary Storage Class - Whether to move files back to primary (Standard) storage after they are accessed in IA or Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.
- Transition
To stringArchive - The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.
- Transition
To stringIa - The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Infrequent Access (IA) storage. Metadata operations such as listing the contents of a directory don't count as file access events.
- Transition
To stringPrimary Storage Class - Whether to move files back to primary (Standard) storage after they are accessed in IA or Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.
- transition
To StringArchive - The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.
- transition
To StringIa - The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Infrequent Access (IA) storage. Metadata operations such as listing the contents of a directory don't count as file access events.
- transition
To StringPrimary Storage Class - Whether to move files back to primary (Standard) storage after they are accessed in IA or Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.
- transition
To stringArchive - The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.
- transition
To stringIa - The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Infrequent Access (IA) storage. Metadata operations such as listing the contents of a directory don't count as file access events.
- transition
To stringPrimary Storage Class - Whether to move files back to primary (Standard) storage after they are accessed in IA or Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.
- transition_
to_ strarchive - The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.
- transition_
to_ stria - The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Infrequent Access (IA) storage. Metadata operations such as listing the contents of a directory don't count as file access events.
- transition_
to_ strprimary_ storage_ class - Whether to move files back to primary (Standard) storage after they are accessed in IA or Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.
- transition
To StringArchive - The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.
- transition
To StringIa - The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Infrequent Access (IA) storage. Metadata operations such as listing the contents of a directory don't count as file access events.
- transition
To StringPrimary Storage Class - Whether to move files back to primary (Standard) storage after they are accessed in IA or Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.
FileSystemProtection, FileSystemProtectionArgs
- Replication
Overwrite Pulumi.Protection Aws Native. Efs. File System Protection Replication Overwrite Protection The status of the file system's replication overwrite protection.
ENABLED
– The file system cannot be used as the destination file system in a replication configuration. The file system is writeable. Replication overwrite protection isENABLED
by default.DISABLED
– The file system can be used as the destination file system in a replication configuration. The file system is read-only and can only be modified by EFS replication.REPLICATING
– The file system is being used as the destination file system in a replication configuration. The file system is read-only and is only modified only by EFS replication.
If the replication configuration is deleted, the file system's replication overwrite protection is re-enabled, the file system becomes writeable.
- Replication
Overwrite FileProtection System Protection Replication Overwrite Protection The status of the file system's replication overwrite protection.
ENABLED
– The file system cannot be used as the destination file system in a replication configuration. The file system is writeable. Replication overwrite protection isENABLED
by default.DISABLED
– The file system can be used as the destination file system in a replication configuration. The file system is read-only and can only be modified by EFS replication.REPLICATING
– The file system is being used as the destination file system in a replication configuration. The file system is read-only and is only modified only by EFS replication.
If the replication configuration is deleted, the file system's replication overwrite protection is re-enabled, the file system becomes writeable.
- replication
Overwrite FileProtection System Protection Replication Overwrite Protection The status of the file system's replication overwrite protection.
ENABLED
– The file system cannot be used as the destination file system in a replication configuration. The file system is writeable. Replication overwrite protection isENABLED
by default.DISABLED
– The file system can be used as the destination file system in a replication configuration. The file system is read-only and can only be modified by EFS replication.REPLICATING
– The file system is being used as the destination file system in a replication configuration. The file system is read-only and is only modified only by EFS replication.
If the replication configuration is deleted, the file system's replication overwrite protection is re-enabled, the file system becomes writeable.
- replication
Overwrite FileProtection System Protection Replication Overwrite Protection The status of the file system's replication overwrite protection.
ENABLED
– The file system cannot be used as the destination file system in a replication configuration. The file system is writeable. Replication overwrite protection isENABLED
by default.DISABLED
– The file system can be used as the destination file system in a replication configuration. The file system is read-only and can only be modified by EFS replication.REPLICATING
– The file system is being used as the destination file system in a replication configuration. The file system is read-only and is only modified only by EFS replication.
If the replication configuration is deleted, the file system's replication overwrite protection is re-enabled, the file system becomes writeable.
- replication_
overwrite_ Fileprotection System Protection Replication Overwrite Protection The status of the file system's replication overwrite protection.
ENABLED
– The file system cannot be used as the destination file system in a replication configuration. The file system is writeable. Replication overwrite protection isENABLED
by default.DISABLED
– The file system can be used as the destination file system in a replication configuration. The file system is read-only and can only be modified by EFS replication.REPLICATING
– The file system is being used as the destination file system in a replication configuration. The file system is read-only and is only modified only by EFS replication.
If the replication configuration is deleted, the file system's replication overwrite protection is re-enabled, the file system becomes writeable.
- replication
Overwrite "DISABLED" | "ENABLED"Protection The status of the file system's replication overwrite protection.
ENABLED
– The file system cannot be used as the destination file system in a replication configuration. The file system is writeable. Replication overwrite protection isENABLED
by default.DISABLED
– The file system can be used as the destination file system in a replication configuration. The file system is read-only and can only be modified by EFS replication.REPLICATING
– The file system is being used as the destination file system in a replication configuration. The file system is read-only and is only modified only by EFS replication.
If the replication configuration is deleted, the file system's replication overwrite protection is re-enabled, the file system becomes writeable.
FileSystemProtectionReplicationOverwriteProtection, FileSystemProtectionReplicationOverwriteProtectionArgs
- Disabled
- DISABLED
- Enabled
- ENABLED
- File
System Protection Replication Overwrite Protection Disabled - DISABLED
- File
System Protection Replication Overwrite Protection Enabled - ENABLED
- Disabled
- DISABLED
- Enabled
- ENABLED
- Disabled
- DISABLED
- Enabled
- ENABLED
- DISABLED
- DISABLED
- ENABLED
- ENABLED
- "DISABLED"
- DISABLED
- "ENABLED"
- ENABLED
FileSystemReplicationConfiguration, FileSystemReplicationConfigurationArgs
- Destinations
List<Pulumi.
Aws Native. Efs. Inputs. File System Replication Destination> - An array of destination objects. Only one destination object is supported.
- Destinations
[]File
System Replication Destination - An array of destination objects. Only one destination object is supported.
- destinations
List<File
System Replication Destination> - An array of destination objects. Only one destination object is supported.
- destinations
File
System Replication Destination[] - An array of destination objects. Only one destination object is supported.
- destinations
Sequence[File
System Replication Destination] - An array of destination objects. Only one destination object is supported.
- destinations List<Property Map>
- An array of destination objects. Only one destination object is supported.
FileSystemReplicationDestination, FileSystemReplicationDestinationArgs
- Availability
Zone stringName - For One Zone file systems, the replication configuration must specify the Availability Zone in which the destination file system is located.
Use the format
us-east-1a
to specify the Availability Zone. For more information about One Zone file systems, see EFS file system types in the Amazon EFS User Guide. One Zone file system type is not available in all Availability Zones in AWS-Regions where Amazon EFS is available. - File
System stringId - The ID of the destination Amazon EFS file system.
- Kms
Key stringId - The ID of an kms-key-long used to protect the encrypted file system.
- Region string
- The AWS-Region in which the destination file system is located. For One Zone file systems, the replication configuration must specify the AWS-Region in which the destination file system is located.
- Availability
Zone stringName - For One Zone file systems, the replication configuration must specify the Availability Zone in which the destination file system is located.
Use the format
us-east-1a
to specify the Availability Zone. For more information about One Zone file systems, see EFS file system types in the Amazon EFS User Guide. One Zone file system type is not available in all Availability Zones in AWS-Regions where Amazon EFS is available. - File
System stringId - The ID of the destination Amazon EFS file system.
- Kms
Key stringId - The ID of an kms-key-long used to protect the encrypted file system.
- Region string
- The AWS-Region in which the destination file system is located. For One Zone file systems, the replication configuration must specify the AWS-Region in which the destination file system is located.
- availability
Zone StringName - For One Zone file systems, the replication configuration must specify the Availability Zone in which the destination file system is located.
Use the format
us-east-1a
to specify the Availability Zone. For more information about One Zone file systems, see EFS file system types in the Amazon EFS User Guide. One Zone file system type is not available in all Availability Zones in AWS-Regions where Amazon EFS is available. - file
System StringId - The ID of the destination Amazon EFS file system.
- kms
Key StringId - The ID of an kms-key-long used to protect the encrypted file system.
- region String
- The AWS-Region in which the destination file system is located. For One Zone file systems, the replication configuration must specify the AWS-Region in which the destination file system is located.
- availability
Zone stringName - For One Zone file systems, the replication configuration must specify the Availability Zone in which the destination file system is located.
Use the format
us-east-1a
to specify the Availability Zone. For more information about One Zone file systems, see EFS file system types in the Amazon EFS User Guide. One Zone file system type is not available in all Availability Zones in AWS-Regions where Amazon EFS is available. - file
System stringId - The ID of the destination Amazon EFS file system.
- kms
Key stringId - The ID of an kms-key-long used to protect the encrypted file system.
- region string
- The AWS-Region in which the destination file system is located. For One Zone file systems, the replication configuration must specify the AWS-Region in which the destination file system is located.
- availability_
zone_ strname - For One Zone file systems, the replication configuration must specify the Availability Zone in which the destination file system is located.
Use the format
us-east-1a
to specify the Availability Zone. For more information about One Zone file systems, see EFS file system types in the Amazon EFS User Guide. One Zone file system type is not available in all Availability Zones in AWS-Regions where Amazon EFS is available. - file_
system_ strid - The ID of the destination Amazon EFS file system.
- kms_
key_ strid - The ID of an kms-key-long used to protect the encrypted file system.
- region str
- The AWS-Region in which the destination file system is located. For One Zone file systems, the replication configuration must specify the AWS-Region in which the destination file system is located.
- availability
Zone StringName - For One Zone file systems, the replication configuration must specify the Availability Zone in which the destination file system is located.
Use the format
us-east-1a
to specify the Availability Zone. For more information about One Zone file systems, see EFS file system types in the Amazon EFS User Guide. One Zone file system type is not available in all Availability Zones in AWS-Regions where Amazon EFS is available. - file
System StringId - The ID of the destination Amazon EFS file system.
- kms
Key StringId - The ID of an kms-key-long used to protect the encrypted file system.
- region String
- The AWS-Region in which the destination file system is located. For One Zone file systems, the replication configuration must specify the AWS-Region in which the destination file system is located.
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.