{ "type": "object", "required": [ "Type" ], "title": "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-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-xray/refs/heads/main/json-schema/xray-put-encryption-config-request-schema.json", "description": "PutEncryptionConfigRequest schema from Amazon X-Ray API" }