{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-ec2-clientvpnendpoint.json",
  "title": "AWSEC2ClientVpnEndpointProperties",
  "description": "Resource Type definition for AWS::EC2::ClientVpnEndpoint. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-ec2-clientvpnendpoint.json",
    "sourceSha256": "8da4d0c6b58fddc03a9a7c3d97335590c2f4da8e8c3b5c4a31331543d8f5afe9"
  },
  "type": "object",
  "properties": {
    "ClientCidrBlock": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "ClientConnectOptions": {
      "$ref": "#/$defs/ClientConnectOptions"
    },
    "Description": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "TagSpecifications": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/TagSpecification"
      }
    },
    "AuthenticationOptions": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/ClientAuthenticationRequest"
      }
    },
    "ServerCertificateArn": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "SessionTimeoutHours": {
      "type": "integer"
    },
    "DnsServers": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "type": "string"
      }
    },
    "SecurityGroupIds": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "type": "string"
      }
    },
    "ConnectionLogOptions": {
      "$ref": "#/$defs/ConnectionLogOptions"
    },
    "SplitTunnel": {
      "type": "boolean"
    },
    "ClientLoginBannerOptions": {
      "$ref": "#/$defs/ClientLoginBannerOptions"
    },
    "VpcId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "SelfServicePortal": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "TransportProtocol": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "VpnPort": {
      "type": "integer"
    }
  },
  "typeName": "AWS::EC2::ClientVpnEndpoint",
  "readOnlyProperties": [
    "/properties/Id"
  ],
  "$defs": {
    "ConnectionLogOptions": {
      "type": "object",
      "title": "AWSEC2ClientVpnEndpointConnectionLogOptionsDefinition",
      "properties": {
        "Enabled": {
          "type": "boolean"
        },
        "CloudwatchLogGroup": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "CloudwatchLogStream": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Enabled"
      ],
      "additionalProperties": false
    },
    "ClientConnectOptions": {
      "type": "object",
      "title": "AWSEC2ClientVpnEndpointClientConnectOptionsDefinition",
      "properties": {
        "Enabled": {
          "type": "boolean"
        },
        "LambdaFunctionArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Enabled"
      ],
      "additionalProperties": false
    },
    "FederatedAuthenticationRequest": {
      "type": "object",
      "title": "AWSEC2ClientVpnEndpointFederatedAuthenticationRequestDefinition",
      "properties": {
        "SAMLProviderArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "SelfServiceSAMLProviderArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "SAMLProviderArn"
      ],
      "additionalProperties": false
    },
    "ClientLoginBannerOptions": {
      "type": "object",
      "title": "AWSEC2ClientVpnEndpointClientLoginBannerOptionsDefinition",
      "properties": {
        "Enabled": {
          "type": "boolean"
        },
        "BannerText": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Enabled"
      ],
      "additionalProperties": false
    },
    "DirectoryServiceAuthenticationRequest": {
      "type": "object",
      "title": "AWSEC2ClientVpnEndpointDirectoryServiceAuthenticationRequestDefinition",
      "properties": {
        "DirectoryId": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "DirectoryId"
      ],
      "additionalProperties": false
    },
    "CertificateAuthenticationRequest": {
      "type": "object",
      "title": "AWSEC2ClientVpnEndpointCertificateAuthenticationRequestDefinition",
      "properties": {
        "ClientRootCertificateChainArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "ClientRootCertificateChainArn"
      ],
      "additionalProperties": false
    },
    "ClientAuthenticationRequest": {
      "type": "object",
      "title": "AWSEC2ClientVpnEndpointClientAuthenticationRequestDefinition",
      "properties": {
        "MutualAuthentication": {
          "$ref": "#/$defs/CertificateAuthenticationRequest"
        },
        "Type": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "ActiveDirectory": {
          "$ref": "#/$defs/DirectoryServiceAuthenticationRequest"
        },
        "FederatedAuthentication": {
          "$ref": "#/$defs/FederatedAuthenticationRequest"
        }
      },
      "required": [
        "Type"
      ],
      "additionalProperties": false
    },
    "Tag": {
      "type": "object",
      "title": "AWSEC2ClientVpnEndpointTagDefinition",
      "properties": {
        "Value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Key": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Value",
        "Key"
      ],
      "additionalProperties": false
    },
    "TagSpecification": {
      "type": "object",
      "title": "AWSEC2ClientVpnEndpointTagSpecificationDefinition",
      "properties": {
        "ResourceType": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Tags": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "$ref": "#/$defs/Tag"
          }
        }
      },
      "required": [
        "ResourceType",
        "Tags"
      ],
      "additionalProperties": false
    }
  },
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "additionalProperties": false,
  "required": [
    "ClientCidrBlock",
    "ConnectionLogOptions",
    "AuthenticationOptions",
    "ServerCertificateArn"
  ],
  "createOnlyProperties": [
    "/properties/TransportProtocol",
    "/properties/ClientCidrBlock",
    "/properties/TagSpecifications",
    "/properties/AuthenticationOptions"
  ]
}
