CfnSnapshotProps
- class aws_cdk.aws_redshiftserverless.CfnSnapshotProps(*, snapshot_name, namespace_name=None, retention_period=None, tags=None)
Bases:
object
Properties for defining a
CfnSnapshot
.- Parameters:
snapshot_name (
str
) – The name of the snapshot.namespace_name (
Optional
[str
]) – The name of the namepsace.retention_period (
Union
[int
,float
,None
]) – The retention period of the snapshot created by the scheduled action.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – An array of Tag objects to associate with the snapshot.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_redshiftserverless as redshiftserverless cfn_snapshot_props = redshiftserverless.CfnSnapshotProps( snapshot_name="snapshotName", # the properties below are optional namespace_name="namespaceName", retention_period=123, tags=[CfnTag( key="key", value="value" )] )
Attributes
- namespace_name
The name of the namepsace.
- retention_period
The retention period of the snapshot created by the scheduled action.
- snapshot_name
The name of the snapshot.
- tags
An array of Tag objects to associate with the snapshot.