{ "type": "object", "required": [ "Type" ], "name": "PutEncryptionConfigRequest", "properties": { "KeyId": { "allOf": [ { "$ref": "#/components/schemas/EncryptionKeyId" }, { "description": "

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

Omit this key if you set Type to NONE.

" } ] }, "Type": { "allOf": [ { "$ref": "#/components/schemas/EncryptionType" }, { "description": "The type of encryption. Set to KMS to use your own key for encryption. Set to NONE for default encryption." } ] } }, "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-xray/refs/heads/main/json-structure/xray-put-encryption-config-request-structure.json", "description": "PutEncryptionConfigRequest schema from Amazon X-Ray API" }