CfnSnapshotProps Struct
Properties for defining a CfnSnapshot.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_redshift as redshift } from 'aws-cdk-lib';
const cfnSnapshotProps: redshift.CfnSnapshotProps = {
clusterIdentifier: 'clusterIdentifier',
snapshotIdentifier: 'snapshotIdentifier',
// the properties below are optional
manualSnapshotRetentionPeriod: 123,
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
clusterIdentifierstringcluster_identifierstrclusterIdentifierStringClusterIdentifierstringClusterIdentifier*stringrequired#The cluster identifier for which you want a snapshot.
manualSnapshotRetentionPeriodoptionalnumbermanual_snapshot_retention_periodoptionalint | floatmanualSnapshotRetentionPeriodoptionalNumberManualSnapshotRetentionPeriodoptionaldoubleManualSnapshotRetentionPeriodoptional*float64#The number of days that a manual snapshot is retained.
If the value is -1, the manual snapshot is retained indefinitely. The value must be either -1 or an integer between 1 and 3653.
snapshotIdentifierstringsnapshot_identifierstrsnapshotIdentifierStringSnapshotIdentifierstringSnapshotIdentifier*stringrequired#A unique identifier for the snapshot that you are requesting.
This identifier must be unique for all snapshots within the Amazon Web Services account.