CfnSnapshotMixinProps
- class aws_cdk.cfn_property_mixins.aws_redshift.CfnSnapshotMixinProps(*, cluster_identifier=None, manual_snapshot_retention_period=None, snapshot_identifier=None, tags=None)
Bases:
objectProperties for CfnSnapshotPropsMixin.
- Parameters:
cluster_identifier (
Optional[str]) – The cluster identifier for which you want a snapshot.manual_snapshot_retention_period (
Union[int,float,None]) – 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.snapshot_identifier (
Optional[str]) – A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the Amazon Web Services account.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – A list of tag instances.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-snapshot.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.cfn_property_mixins import aws_redshift as redshift cfn_snapshot_mixin_props = redshift.CfnSnapshotMixinProps( cluster_identifier="clusterIdentifier", manual_snapshot_retention_period=123, snapshot_identifier="snapshotIdentifier", tags=[CfnTag( key="key", value="value" )] )
Attributes
- cluster_identifier
The cluster identifier for which you want a snapshot.
- manual_snapshot_retention_period
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.
- snapshot_identifier
A unique identifier for the snapshot that you are requesting.
This identifier must be unique for all snapshots within the Amazon Web Services account.
- tags
A list of tag instances.