{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-ec2-verifiedaccessendpoint.json",
  "title": "AWSEC2VerifiedAccessEndpointProperties",
  "description": "The AWS::EC2::VerifiedAccessEndpoint resource creates an AWS EC2 Verified Access Endpoint.. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2-verified-access.aws-ec2-verifiedaccessendpoint>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-ec2-verifiedaccessendpoint.json",
    "sourceSha256": "b5c1dbe0e2aa376cd5742fc8614c4e7342ca72fed8077c85ca38cb6ad35303a4"
  },
  "type": "object",
  "properties": {
    "VerifiedAccessGroupId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The ID of the AWS Verified Access group."
    },
    "SecurityGroupIds": {
      "description": "The IDs of the security groups for the endpoint.",
      "type": "array",
      "uniqueItems": true,
      "insertionOrder": false,
      "items": {
        "$ref": "#/$defs/SecurityGroupId"
      }
    },
    "NetworkInterfaceOptions": {
      "description": "The options for network-interface type endpoint.",
      "$ref": "#/$defs/NetworkInterfaceOptions"
    },
    "LoadBalancerOptions": {
      "description": "The load balancer details if creating the AWS Verified Access endpoint as load-balancer type.",
      "$ref": "#/$defs/LoadBalancerOptions"
    },
    "EndpointType": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The type of AWS Verified Access endpoint. Incoming application requests will be sent to an IP address, load balancer or a network interface depending on the endpoint type specified.The type of AWS Verified Access endpoint. Incoming application requests will be sent to an IP address, load balancer or a network interface depending on the endpoint type specified."
    },
    "EndpointDomainPrefix": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "A custom identifier that gets prepended to a DNS name that is generated for the endpoint."
    },
    "DomainCertificateArn": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The ARN of a public TLS/SSL certificate imported into or created with ACM."
    },
    "AttachmentType": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The type of attachment used to provide connectivity between the AWS Verified Access endpoint and the application."
    },
    "ApplicationDomain": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The DNS name for users to reach your application."
    },
    "Description": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "A description for the AWS Verified Access endpoint."
    },
    "PolicyDocument": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The AWS Verified Access policy document."
    },
    "PolicyEnabled": {
      "description": "The status of the Verified Access policy.",
      "type": "boolean"
    },
    "Tags": {
      "description": "An array of key-value pairs to apply to this resource.",
      "type": "array",
      "uniqueItems": true,
      "insertionOrder": false,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::EC2::VerifiedAccessEndpoint",
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": true,
    "cloudFormationSystemTags": false,
    "tagProperty": "/properties/Tags"
  },
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2-verified-access.aws-ec2-verifiedaccessendpoint",
  "primaryIdentifier": [
    "/properties/VerifiedAccessEndpointId"
  ],
  "additionalProperties": false,
  "$defs": {
    "SecurityGroupId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The ID of a security group for the endpoint.",
      "title": "AWSEC2VerifiedAccessEndpointSecurityGroupIdDefinition"
    },
    "NetworkInterfaceOptions": {
      "description": "The options for network-interface type endpoint.",
      "type": "object",
      "properties": {
        "NetworkInterfaceId": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The ID of the network interface."
        },
        "Port": {
          "description": "The IP port number.",
          "type": "integer",
          "minimum": 1,
          "maximum": 65535
        },
        "Protocol": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The IP protocol."
        }
      },
      "title": "AWSEC2VerifiedAccessEndpointNetworkInterfaceOptionsDefinition",
      "additionalProperties": false
    },
    "LoadBalancerOptions": {
      "description": "The load balancer details if creating the AWS Verified Access endpoint as load-balancertype.",
      "type": "object",
      "properties": {
        "LoadBalancerArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The ARN of the load balancer."
        },
        "Port": {
          "description": "The IP port number.",
          "type": "integer",
          "minimum": 1,
          "maximum": 65535
        },
        "Protocol": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The IP protocol."
        },
        "SubnetIds": {
          "description": "The IDs of the subnets.",
          "type": "array",
          "uniqueItems": true,
          "insertionOrder": false,
          "items": {
            "$ref": "#/$defs/SubnetId"
          }
        }
      },
      "title": "AWSEC2VerifiedAccessEndpointLoadBalancerOptionsDefinition",
      "additionalProperties": false
    },
    "SubnetId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The IDs of the subnet.",
      "title": "AWSEC2VerifiedAccessEndpointSubnetIdDefinition"
    },
    "Tag": {
      "description": "A key-value pair to associate with a resource.",
      "type": "object",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -."
        },
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 0,
              "maxLength": 256
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -."
        }
      },
      "required": [
        "Key",
        "Value"
      ],
      "title": "AWSEC2VerifiedAccessEndpointTagDefinition",
      "additionalProperties": false
    }
  },
  "required": [
    "ApplicationDomain",
    "AttachmentType",
    "DomainCertificateArn",
    "EndpointType",
    "VerifiedAccessGroupId",
    "EndpointDomainPrefix"
  ],
  "readOnlyProperties": [
    "/properties/VerifiedAccessEndpointId",
    "/properties/EndpointDomain",
    "/properties/CreationTime",
    "/properties/LastUpdatedTime",
    "/properties/Status",
    "/properties/DeviceValidationDomain",
    "/properties/VerifiedAccessInstanceId"
  ],
  "createOnlyProperties": [
    "/properties/ApplicationDomain",
    "/properties/AttachmentType",
    "/properties/DomainCertificateArn",
    "/properties/EndpointDomainPrefix",
    "/properties/EndpointType",
    "/properties/SecurityGroupIds",
    "/properties/NetworkInterfaceOptions/NetworkInterfaceId",
    "/properties/LoadBalancerOptions/LoadBalancerArn"
  ]
}
