# CfnSnapshotProps

Properties for defining a `CfnSnapshot`.

Extends: CfnSnapshotProps
Used as props by: CfnSnapshot

- Source: Generated code
- Type last changed: v2.272.0 · 30 Sep 2026

## 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

- `clusterIdentifier`: string (required) — The cluster identifier for which you want a snapshot.

- `manualSnapshotRetentionPeriod`: number — 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.

- `snapshotIdentifier`: string (required) — 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`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — A list of tag instances.
