interface CfnSnapshotProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.RedshiftServerless.CfnSnapshotProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsredshiftserverless#CfnSnapshotProps |
![]() | software.amazon.awscdk.services.redshiftserverless.CfnSnapshotProps |
![]() | aws_cdk.aws_redshiftserverless.CfnSnapshotProps |
![]() | aws-cdk-lib » aws_redshiftserverless » CfnSnapshotProps |
Properties for defining a CfnSnapshot
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_redshiftserverless as redshiftserverless } from 'aws-cdk-lib';
const cfnSnapshotProps: redshiftserverless.CfnSnapshotProps = {
snapshotName: 'snapshotName',
// the properties below are optional
namespaceName: 'namespaceName',
retentionPeriod: 123,
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
snapshot | string | The name of the snapshot. |
namespace | string | The name of the namepsace. |
retention | number | The retention period of the snapshot created by the scheduled action. |
tags? | Cfn [] | An array of Tag objects to associate with the snapshot. |
snapshotName
Type:
string
The name of the snapshot.
namespaceName?
Type:
string
(optional)
The name of the namepsace.
retentionPeriod?
Type:
number
(optional)
The retention period of the snapshot created by the scheduled action.
tags?
Type:
Cfn
[]
(optional)
An array of Tag objects to associate with the snapshot.