{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-ssmcontacts-contactchannel.json",
  "title": "AWSSSMContactsContactChannelProperties",
  "description": "Resource Type definition for AWS::SSMContacts::ContactChannel. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-ssmcontacts-contactchannel.json",
    "sourceSha256": "ba4f542601dc66a8790739122ae8945b0c30a642575fa34a31dfc82b18e6dc15"
  },
  "type": "object",
  "properties": {
    "ContactId": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 2048,
          "pattern": "arn:[-\\w+=\\/,.@]+:[-\\w+=\\/,.@]+:[-\\w+=\\/,.@]*:[0-9]+:([\\w+=\\/,.@:-]+)*"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "ARN of the contact resource"
    },
    "ChannelName": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 255,
          "pattern": "[a-zA-Z 0-9_\\-+'&amp;\\uD83C-\\uDBFF\\uDC00-\\uDFFF\\u2000-\\u3300]+"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The device name. String of 6 to 50 alphabetical, numeric, dash, and underscore characters."
    },
    "ChannelType": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "SMS",
            "VOICE",
            "EMAIL"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Device type, which specify notification channel. Currently supported values: “SMS”, “VOICE”, “EMAIL”, “CHATBOT."
    },
    "DeferActivation": {
      "type": "boolean",
      "description": "If you want to activate the channel at a later time, you can choose to defer activation. SSM Incident Manager can't engage your contact channel until it has been activated."
    },
    "ChannelAddress": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The details that SSM Incident Manager uses when trying to engage the contact channel."
    }
  },
  "typeName": "AWS::SSMContacts::ContactChannel",
  "writeOnlyProperties": [
    "/properties/DeferActivation"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
  "createOnlyProperties": [
    "/properties/ContactId",
    "/properties/ChannelType"
  ],
  "additionalProperties": false,
  "oneOf": [
    {
      "required": [
        "ContactId",
        "ChannelName",
        "ChannelType",
        "ChannelAddress"
      ]
    }
  ],
  "primaryIdentifier": [
    "/properties/Arn"
  ],
  "readOnlyProperties": [
    "/properties/Arn"
  ]
}
