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.

Container for the parameters to the PutEncryptionConfig operation. Updates the encryption configuration for X-Ray data.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.XRay.AmazonXRayRequest
      Amazon.XRay.Model.PutEncryptionConfigRequest

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

Syntax

C#
public class PutEncryptionConfigRequest : AmazonXRayRequest
         IAmazonWebServiceRequest

The PutEncryptionConfigRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property KeyId System.String

Gets and sets the property KeyId.

An Amazon Web Services KMS key in one of the following formats:

  • Alias - The name of the key. For example, alias/MyKey.

  • Key ID - The KMS key ID of the key. For example, ae4aa6d49-a4d8-9df9-a475-4ff6d7898456. Amazon Web Services X-Ray does not support asymmetric KMS keys.

  • ARN - The full Amazon Resource Name of the key ID or alias. For example, arn:aws:kms:us-east-2:123456789012:key/ae4aa6d49-a4d8-9df9-a475-4ff6d7898456. Use this format to specify a key in a different account.

Omit this key if you set Type to NONE.

Public Property Type Amazon.XRay.EncryptionType

Gets and sets the property Type.

The type of encryption. Set to KMS to use your own key for encryption. Set to NONE for default encryption.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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