{
  "typeName" : "AWS::Route53Resolver::ResolverEndpoint",
  "description" : "Resource Type definition for AWS::Route53Resolver::ResolverEndpoint",
  "additionalProperties" : false,
  "properties" : {
    "IpAddresses" : {
      "type" : "array",
      "uniqueItems" : false,
      "items" : {
        "$ref" : "#/definitions/IpAddressRequest"
      }
    },
    "ResolverEndpointId" : {
      "type" : "string"
    },
    "IpAddressCount" : {
      "type" : "string"
    },
    "OutpostArn" : {
      "type" : "string"
    },
    "PreferredInstanceType" : {
      "type" : "string"
    },
    "ResolverEndpointType" : {
      "type" : "string"
    },
    "Arn" : {
      "type" : "string"
    },
    "Direction" : {
      "type" : "string"
    },
    "HostVPCId" : {
      "type" : "string"
    },
    "SecurityGroupIds" : {
      "type" : "array",
      "uniqueItems" : false,
      "items" : {
        "type" : "string"
      }
    },
    "Tags" : {
      "type" : "array",
      "uniqueItems" : false,
      "items" : {
        "$ref" : "#/definitions/Tag"
      }
    },
    "Name" : {
      "type" : "string"
    }
  },
  "definitions" : {
    "IpAddressRequest" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "SubnetId" : {
          "type" : "string"
        },
        "Ipv6" : {
          "type" : "string"
        },
        "Ip" : {
          "type" : "string"
        }
      },
      "required" : [ "SubnetId" ]
    },
    "Tag" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Value" : {
          "type" : "string"
        },
        "Key" : {
          "type" : "string"
        }
      },
      "required" : [ "Value", "Key" ]
    }
  },
  "required" : [ "IpAddresses", "Direction", "SecurityGroupIds" ],
  "createOnlyProperties" : [ "/properties/OutpostArn", "/properties/Direction", "/properties/SecurityGroupIds", "/properties/PreferredInstanceType" ],
  "primaryIdentifier" : [ "/properties/ResolverEndpointId" ],
  "readOnlyProperties" : [ "/properties/ResolverEndpointId", "/properties/IpAddressCount", "/properties/Arn", "/properties/HostVPCId" ]
}