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 CreateSnapshotCopyGrant operation. Creates a snapshot copy grant that permits Amazon Redshift to use an encrypted symmetric key from Key Management Service (KMS) to encrypt copied snapshots in a destination region.
For more information about managing snapshot copy grants, go to Amazon Redshift Database Encryption in the Amazon Redshift Cluster Management Guide.
Namespace: Amazon.Redshift.Model
Assembly: AWSSDK.Redshift.dll
Version: 3.x.y.z
public class CreateSnapshotCopyGrantRequest : AmazonRedshiftRequest IAmazonWebServiceRequest
The CreateSnapshotCopyGrantRequest type exposes the following members
Name | Description | |
---|---|---|
CreateSnapshotCopyGrantRequest() |
Name | Type | Description | |
---|---|---|---|
KmsKeyId | System.String |
Gets and sets the property KmsKeyId. The unique identifier of the encrypted symmetric key to which to grant Amazon Redshift permission. If no key is specified, the default key is used. |
|
SnapshotCopyGrantName | System.String |
Gets and sets the property SnapshotCopyGrantName. The name of the snapshot copy grant. This name must be unique in the region for the Amazon Web Services account. Constraints:
|
|
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 snapshot copy grant.
var client = new AmazonRedshiftClient(); var response = client.CreateSnapshotCopyGrant(new CreateSnapshotCopyGrantRequest { SnapshotCopyGrantName = "mycopygrant" });
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5