{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-pinpointemail-configurationseteventdestination.json",
  "title": "AWSPinpointEmailConfigurationSetEventDestinationProperties",
  "description": "Resource Type definition for AWS::PinpointEmail::ConfigurationSetEventDestination. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-pinpointemail-configurationseteventdestination.json",
    "sourceSha256": "bfdf3e14fd153efea3982e998f3ed55389767fc8c2b2967f8c308170a5afbaf9"
  },
  "type": "object",
  "properties": {
    "EventDestinationName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "ConfigurationSetName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "EventDestination": {
      "$ref": "#/$defs/EventDestination"
    }
  },
  "typeName": "AWS::PinpointEmail::ConfigurationSetEventDestination",
  "readOnlyProperties": [
    "/properties/Id"
  ],
  "$defs": {
    "EventDestination": {
      "type": "object",
      "title": "AWSPinpointEmailConfigurationSetEventDestinationEventDestinationDefinition",
      "properties": {
        "SnsDestination": {
          "$ref": "#/$defs/SnsDestination"
        },
        "CloudWatchDestination": {
          "$ref": "#/$defs/CloudWatchDestination"
        },
        "Enabled": {
          "type": "boolean"
        },
        "MatchingEventTypes": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "type": "string"
          }
        },
        "PinpointDestination": {
          "$ref": "#/$defs/PinpointDestination"
        },
        "KinesisFirehoseDestination": {
          "$ref": "#/$defs/KinesisFirehoseDestination"
        }
      },
      "required": [
        "MatchingEventTypes"
      ],
      "additionalProperties": false
    },
    "SnsDestination": {
      "type": "object",
      "title": "AWSPinpointEmailConfigurationSetEventDestinationSnsDestinationDefinition",
      "properties": {
        "TopicArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "TopicArn"
      ],
      "additionalProperties": false
    },
    "PinpointDestination": {
      "type": "object",
      "title": "AWSPinpointEmailConfigurationSetEventDestinationPinpointDestinationDefinition",
      "properties": {
        "ApplicationArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "KinesisFirehoseDestination": {
      "type": "object",
      "title": "AWSPinpointEmailConfigurationSetEventDestinationKinesisFirehoseDestinationDefinition",
      "properties": {
        "DeliveryStreamArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "IamRoleArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "DeliveryStreamArn",
        "IamRoleArn"
      ],
      "additionalProperties": false
    },
    "CloudWatchDestination": {
      "type": "object",
      "title": "AWSPinpointEmailConfigurationSetEventDestinationCloudWatchDestinationDefinition",
      "properties": {
        "DimensionConfigurations": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "$ref": "#/$defs/DimensionConfiguration"
          }
        }
      },
      "additionalProperties": false
    },
    "DimensionConfiguration": {
      "type": "object",
      "title": "AWSPinpointEmailConfigurationSetEventDestinationDimensionConfigurationDefinition",
      "properties": {
        "DimensionValueSource": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "DefaultDimensionValue": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "DimensionName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "DimensionValueSource",
        "DefaultDimensionValue",
        "DimensionName"
      ],
      "additionalProperties": false
    }
  },
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "additionalProperties": false,
  "required": [
    "ConfigurationSetName",
    "EventDestinationName"
  ],
  "createOnlyProperties": [
    "/properties/ConfigurationSetName",
    "/properties/EventDestinationName"
  ]
}
