-
Notifications
You must be signed in to change notification settings - Fork 4.5k
(docdb): copyTagsToSnapshot is missing in the DatabaseCluster Construct #30090
Copy link
Copy link
Closed
Closed
Copy link
Labels
@aws-cdk/aws-docdbRelated to Amazon DocumentDBRelated to Amazon DocumentDBfeature-requestA feature should be added or improved.A feature should be added or improved.
Description
Describe the feature
In the DatabaseCluster Construct, copyTagsToSnapshot is missing.
Use Case
Use this when you want to copy tags to snapshots.
Proposed Solution
Add copyTagsToSnapshot to the DatabaseCluster Construct.
const cluster = new docdb.DatabaseCluster(this, 'Database', {
masterUser: {
username: 'myuser', // NOTE: 'admin' is reserved by DocumentDB
excludeCharacters: '\"@/:', // optional, defaults to the set "\"@/" and is also used for eventually created rotations
secretName: '/myapp/mydocdb/masteruser', // optional, if you prefer to specify the secret name
},
instanceType: ec2.InstanceType.of(ec2.InstanceClass.MEMORY5, ec2.InstanceSize.LARGE),
vpc,
copyTagsToSnapshot: true, // Add
});Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
CDK version used
2.140.0
Environment details (OS name and version, etc.)
MacOS
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-docdbRelated to Amazon DocumentDBRelated to Amazon DocumentDBfeature-requestA feature should be added or improved.A feature should be added or improved.