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.
PendingDeletion
. Before the waiting period ends,
you can use CancelKeyDeletion to cancel the deletion of the CMK. After the
waiting period ends, AWS KMS deletes the CMK and all AWS KMS data associated with
it, including all aliases that point to it.
Deleting a CMK is a destructive and potentially dangerous operation. When a CMK is deleted, all data that was encrypted under the CMK is rendered unrecoverable. To restrict the use of a CMK without deleting it, use DisableKey.
For more information about scheduling a CMK for deletion, go to Deleting Customer Master Keys in the AWS Key Management Service Developer Guide.
Namespace: Amazon.KeyManagementService.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class ScheduleKeyDeletionRequest : AmazonKeyManagementServiceRequest IRequestEvents
The ScheduleKeyDeletionRequest type exposes the following members
Name | Description | |
---|---|---|
ScheduleKeyDeletionRequest() |
Name | Type | Description | |
---|---|---|---|
KeyId | System.String |
Gets and sets the property KeyId.
The unique identifier for the customer master key (CMK) to delete. To specify this value, use the unique key ID or the Amazon Resource Name (ARN) of the CMK. Examples:
To obtain the unique key ID and key ARN for a given CMK, use ListKeys or DescribeKey. |
|
PendingWindowInDays | System.Int32 |
Gets and sets the property PendingWindowInDays.
The waiting period, specified in number of days. After the waiting period ends, AWS KMS deletes the customer master key (CMK). This value is optional. If you include a value, it must be between 7 and 30, inclusive. If you do not include a value, it defaults to 30. |
.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