AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the CreateClusterSnapshot operation.
Creates a manual snapshot of the specified cluster. The cluster must be in the available
state.
For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide.
Namespace: Amazon.Redshift.Model
Assembly: AWSSDK.Redshift.dll
Version: 3.x.y.z
public class CreateClusterSnapshotRequest : AmazonRedshiftRequest IAmazonWebServiceRequest
The CreateClusterSnapshotRequest type exposes the following members
Name | Description | |
---|---|---|
CreateClusterSnapshotRequest() |
Name | Type | Description | |
---|---|---|---|
ClusterIdentifier | System.String |
Gets and sets the property ClusterIdentifier. The cluster identifier for which you want a snapshot. |
|
ManualSnapshotRetentionPeriod | System.Int32 |
Gets and sets the property ManualSnapshotRetentionPeriod. 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 3,653. The default value is -1. |
|
SnapshotIdentifier | System.String |
Gets and sets the property SnapshotIdentifier. A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the Amazon Web Services account. Constraints:
Example: |
|
Tags | System.Collections.Generic.List<Amazon.Redshift.Model.Tag> |
Gets and sets the property Tags. A list of tag instances. |
This example creates a new cluster snapshot.
var client = new AmazonRedshiftClient(); var response = client.CreateClusterSnapshot(new CreateClusterSnapshotRequest { ClusterIdentifier = "mycluster", SnapshotIdentifier = "my-snapshot-id" });
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5