AWS SDK Version 3 for .NET
API Reference

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.

Resets the default KMS key for EBS encryption for your account in this Region to the Amazon Web Services managed KMS key for EBS.

After resetting the default KMS key to the Amazon Web Services managed KMS key, you can continue to encrypt by a customer managed KMS key by specifying it when you create the volume. For more information, see Amazon EBS encryption in the Amazon EBS User Guide.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to ResetEbsDefaultKmsKeyIdAsync.

Namespace: Amazon.EC2
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public virtual ResetEbsDefaultKmsKeyIdResponse ResetEbsDefaultKmsKeyId(
         ResetEbsDefaultKmsKeyIdRequest request
)

Parameters

request
Type: Amazon.EC2.Model.ResetEbsDefaultKmsKeyIdRequest

Container for the necessary parameters to execute the ResetEbsDefaultKmsKeyId service method.

Return Value


The response from the ResetEbsDefaultKmsKeyId service method, as returned by EC2.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also