@cfn-modules/efs-file-system
v1.3.0
Published
AWS EFS file system with alerting
Downloads
4
Readme
cfn-modules: AWS EFS file system
AWS EFS file system with alerting.
Install
Install Node.js and npm first!
npm i @cfn-modules/efs-file-system
Usage
By default, the EFS file system is only writable by the Linux root user.
---
AWSTemplateFormatVersion: '2010-09-09'
Description: 'cfn-modules example'
Resources:
FileSystem:
Type: 'AWS::CloudFormation::Stack'
Properties:
Parameters:
VpcModule: !GetAtt 'Vpc.Outputs.StackName' # required
ClientSgModule: !GetAtt 'ClientSg.Outputs.StackName' # required
AlertingModule: !GetAtt 'Alerting.Outputs.StackName' # optional
KmsKeyModule: !GetAtt 'Key.Outputs.StackName' # optional
PerformanceMode: generalPurpose # optional
NumberOfAvailabilityZones: !GetAtt 'Vpc.Outputs.NumberOfAvailabilityZones' # optional (must match with the value of the vpc module)
BackupRetentionPeriod: '30' # optional
BackupScheduleExpression: 'cron(0 5 ? * * *)' # optional
TemplateURL: './node_modules/@cfn-modules/efs-file-system/module.yml'