{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/EventGatewayKeySource", "title": "EventGatewayKeySource", "description": "A key source that describes how to find a symmetric key for encryption or decryption.\nIt can be an AWS KMS key source that uses a KMS to find a symmetric key,\nor a static key source that uses a static symmetric key provided as secrets.\n", "discriminator": { "propertyName": "type", "mapping": { "aws": "#/components/schemas/EventGatewayAWSKeySource", "static": "#/components/schemas/EventGatewayStaticKeySource" } }, "oneOf": [ { "$ref": "#/components/schemas/EventGatewayAWSKeySource" }, { "$ref": "#/components/schemas/EventGatewayStaticKeySource" } ] }