TagService:
Type: String
Description: Exact name of the Service as defined in the service catalog.
Default: Docuware EBS backup
TagEnvironment:
Type: String
Description: Used to distinguish between development, test, production,etc. environment types.
AllowedValues: [dev, tst, prd]
Default: prd
TagContactNetid:
Type: String
Description: Used to identify the netid of the person most familiar with the usage of the resource.
Default: mhirst
TagAccountNumber:
Type: String
Description: Identifies the financial system account number.
Default: '1192623'
TagSubAccount:
Type: String
Description: Identifies the financial system's sub account, which contains a name that identifies a collection of services.
Default: 11AWS
TagName:
Type: String
Description: Used by Amazon to display a default name in the AWS console
Default: Docuware EBS automated snapshots
TagCreatedBy:
Type: String
Description: Who created this resource
TagTicketNumber:
Type: String
Description: Jira ticket number that references this resource
Default: DW-258
#Metadata:
Resources:
dlmRole:
Type: AWS::IAM::Role
Properties:
Path: /service-role/dlm/
AssumeRolePolicyDocument:
Version: 2012-10-17
Statement:
-
Effect: "Allow"
Action:
- sts:AssumeRole
Principal:
Service:
- dlm.amazonaws.com
Policies:
- PolicyName: "dlmPolicy"
PolicyDocument:
Version: '2012-10-17'
Statement:
- Effect: Allow
Action:
- ec2:CreateSnapshot
- ec2:CreateSnapshots
- ec2:DeleteSnapshot
- ec2:DescribeVolumes
- ec2:DescribeInstances
- ec2:DescribeSnapshots
Resource: "*"
- Effect: Allow
Action:
- ec2:CreateTags
Resource: arn:aws:ec2:*::snapshot
Docuware EBS automated snapshots
Docuware EBS snapshot/backup handled by Amazon Data Lifecycle Manager to automate the creation, retention, and deletion of snapshots