interface CfnDBSnapshotProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.RDS.CfnDBSnapshotProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsrds#CfnDBSnapshotProps |
Java | software.amazon.awscdk.services.rds.CfnDBSnapshotProps |
Python | aws_cdk.aws_rds.CfnDBSnapshotProps |
TypeScript | aws-cdk-lib » aws_rds » CfnDBSnapshotProps |
Properties for defining a CfnDBSnapshot.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsnapshot.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rds as rds } from 'aws-cdk-lib';
const cfnDBSnapshotProps: rds.CfnDBSnapshotProps = {
dbInstanceIdentifier: 'dbInstanceIdentifier',
dbSnapshotIdentifier: 'dbSnapshotIdentifier',
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| db | string | The identifier of the DB instance that you want to create the snapshot of. |
| db | string | The identifier for the DB snapshot. |
| tags? | Cfn[] | The tags to be assigned to the DB snapshot. |
dbInstanceIdentifier
Type:
string
The identifier of the DB instance that you want to create the snapshot of.
dbSnapshotIdentifier
Type:
string
The identifier for the DB snapshot.
Must contain from 1 to 255 letters, numbers, or hyphens. First character must be a letter. Can't end with a hyphen or contain two consecutive hyphens.
tags?
Type:
Cfn[]
(optional)
The tags to be assigned to the DB snapshot.

.NET
Go
Java
Python
TypeScript