CfnClusterSnapshotProps
- class aws_cdk.aws_rds.CfnClusterSnapshotProps(*, db_cluster_identifier, db_cluster_snapshot_identifier, tags=None)
Bases:
objectProperties for defining a
CfnClusterSnapshot.- Parameters:
db_cluster_identifier (
str) – The identifier of the DB cluster to create a snapshot for.db_cluster_snapshot_identifier (
str) – The identifier for the DB cluster snapshot. Must contain from 1 to 63 letters, numbers, or hyphens. First character must be a letter. Can’t end with a hyphen or contain two consecutive hyphens.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – The tags to be assigned to the DB cluster snapshot.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-clustersnapshot.html
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_rds as rds cfn_cluster_snapshot_props = rds.CfnClusterSnapshotProps( db_cluster_identifier="dbClusterIdentifier", db_cluster_snapshot_identifier="dbClusterSnapshotIdentifier", # the properties below are optional tags=[CfnTag( key="key", value="value" )] )
Attributes
- db_cluster_identifier
The identifier of the DB cluster to create a snapshot for.
- db_cluster_snapshot_identifier
The identifier for the DB cluster snapshot.
Must contain from 1 to 63 letters, numbers, or hyphens. First character must be a letter. Can’t end with a hyphen or contain two consecutive hyphens.
- tags
The tags to be assigned to the DB cluster snapshot.