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.
Copies of encrypted EBS snapshots remain encrypted. Copies of unencrypted snapshots
remain unencrypted, unless the Encrypted
flag is specified during the
snapshot copy operation. By default, encrypted snapshot copies use the default AWS
Key Management Service (AWS KMS) customer master key (CMK); however, you can specify
a non-default CMK with the KmsKeyId
parameter.
For more information, see Copying an Amazon EBS Snapshot in the Amazon Elastic Compute Cloud User Guide.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class CopySnapshotRequest : AmazonEC2Request IRequestEvents
The CopySnapshotRequest type exposes the following members
Name | Description | |
---|---|---|
CopySnapshotRequest() |
Name | Type | Description | |
---|---|---|---|
Description | System.String |
Gets and sets the property Description.
A description for the EBS snapshot. |
|
DestinationRegion | System.String |
Gets and sets the property DestinationRegion.
The destination region to use in the
|
|
Encrypted | System.Boolean |
Gets and sets the property Encrypted.
Specifies whether the destination snapshot should be encrypted. There is no way to
create an unencrypted snapshot copy from an encrypted snapshot; however, you can encrypt
a copy of an unencrypted snapshot with this flag. The default CMK for EBS is used
unless a non-default AWS Key Management Service (AWS KMS) CMK is specified with |
|
KmsKeyId | System.String |
Gets and sets the property KmsKeyId.
The full ARN of the AWS Key Management Service (AWS KMS) CMK to use when creating
the snapshot copy. This parameter is only required if you want to use a non-default
CMK; if this parameter is not specified, the default CMK for EBS is used. The ARN
contains the |
|
SourceRegion | System.String |
Gets and sets the property SourceRegion.
The ID of the region that contains the snapshot to be copied. |
|
SourceSnapshotId | System.String |
Gets and sets the property SourceSnapshotId.
The ID of the EBS snapshot to copy. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8