{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2/json-schema/amazon-ec2-describe-client-vpn-endpoints-result-schema.json",
  "title": "DescribeClientVpnEndpointsResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ec2-client-vpn-endpoint-api-openapi.yml#/components/schemas/DescribeClientVpnEndpointsResult",
  "type": "object",
  "properties": {
    "ClientVpnEndpoints": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ClientVpnEndpoint"
      },
      "description": "Information about the Client VPN endpoints."
    },
    "NextToken": {
      "type": "string",
      "description": "The token to use to retrieve the next page of results. This value is null when there are no more results to return."
    }
  },
  "$defs": {
    "AssociatedTargetNetwork": {
      "type": "object",
      "properties": {
        "NetworkId": {
          "type": "string",
          "description": "The ID of the subnet."
        },
        "NetworkType": {
          "type": "string",
          "enum": [
            "vpc"
          ],
          "description": "The target network type."
        }
      }
    },
    "CertificateAuthentication": {
      "type": "object",
      "properties": {
        "ClientRootCertificateChain": {
          "type": "string",
          "description": "The ARN of the client certificate."
        }
      }
    },
    "ClientConnectResponseOptions": {
      "type": "object",
      "properties": {
        "Enabled": {
          "type": "boolean",
          "description": "Indicates whether client connect options are enabled."
        },
        "LambdaFunctionArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Lambda function used for connection authorization."
        },
        "Status": {
          "$ref": "#/$defs/ClientVpnEndpointAttributeStatus"
        }
      }
    },
    "ClientLoginBannerResponseOptions": {
      "type": "object",
      "properties": {
        "Enabled": {
          "type": "boolean",
          "description": "Current state of text banner feature. Valid values: true | false"
        },
        "BannerText": {
          "type": "string",
          "description": "Customizable text that will be displayed in a banner on Amazon Web Services provided clients when a VPN session is established. UTF-8 encoded characters only. Maximum of 1400 characters."
        }
      }
    },
    "ClientRouteEnforcementResponseOptions": {
      "type": "object",
      "properties": {
        "Enforced": {
          "type": "boolean",
          "description": "Status of the client route enforcement feature, indicating whether Client Route Enforcement is true (enabled) or false (disabled). Valid values: true | false Default value: false"
        }
      }
    },
    "ClientVpnAuthentication": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "certificate-authentication",
            "directory-service-authentication",
            "federated-authentication"
          ],
          "description": "The authentication type used."
        },
        "ActiveDirectory": {
          "$ref": "#/$defs/DirectoryServiceAuthentication"
        },
        "MutualAuthentication": {
          "$ref": "#/$defs/CertificateAuthentication"
        },
        "FederatedAuthentication": {
          "$ref": "#/$defs/FederatedAuthentication"
        }
      }
    },
    "ClientVpnEndpoint": {
      "type": "object",
      "properties": {
        "ClientVpnEndpointId": {
          "type": "string",
          "description": "The ID of the Client VPN endpoint."
        },
        "Description": {
          "type": "string",
          "description": "A brief description of the endpoint."
        },
        "Status": {
          "$ref": "#/$defs/ClientVpnEndpointStatus"
        },
        "CreationTime": {
          "type": "string",
          "description": "The date and time the Client VPN endpoint was created."
        },
        "DeletionTime": {
          "type": "string",
          "description": "The date and time the Client VPN endpoint was deleted, if applicable."
        },
        "DnsName": {
          "type": "string",
          "description": "The DNS name to be used by clients when connecting to the Client VPN endpoint."
        },
        "ClientCidrBlock": {
          "type": "string",
          "description": "The IPv4 address range, in CIDR notation, from which client IP addresses are assigned."
        },
        "DnsServers": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Information about the DNS servers to be used for DNS resolution."
        },
        "SplitTunnel": {
          "type": "boolean",
          "description": "Indicates whether split-tunnel is enabled in the Client VPN endpoint. For information about split-tunnel VPN endpoints, see Split-Tunnel Client VPN endpoint in the Client VPN Administrator Guide."
        },
        "VpnProtocol": {
          "type": "string",
          "enum": [
            "openvpn"
          ],
          "description": "The protocol used by the VPN session."
        },
        "TransportProtocol": {
          "type": "string",
          "enum": [
            "tcp",
            "udp"
          ],
          "description": "The transport protocol used by the Client VPN endpoint."
        },
        "VpnPort": {
          "type": "integer",
          "description": "The port number for the Client VPN endpoint."
        },
        "AssociatedTargetNetworks": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AssociatedTargetNetwork"
          },
          "description": "Information about the associated target networks. A target network is a subnet in a VPC."
        },
        "ServerCertificateArn": {
          "type": "string",
          "description": "The ARN of the server certificate."
        },
        "AuthenticationOptions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ClientVpnAuthentication"
          },
          "description": "Information about the authentication method used by the Client VPN endpoint."
        },
        "ConnectionLogOptions": {
          "$ref": "#/$defs/ConnectionLogResponseOptions"
        },
        "Tags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          },
          "description": "Any tags assigned to the Client VPN endpoint."
        },
        "SecurityGroupIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The IDs of the security groups for the target network."
        },
        "VpcId": {
          "type": "string",
          "description": "The ID of the VPC."
        },
        "SelfServicePortalUrl": {
          "type": "string",
          "description": "The URL of the self-service portal."
        },
        "ClientConnectOptions": {
          "$ref": "#/$defs/ClientConnectResponseOptions"
        },
        "SessionTimeoutHours": {
          "type": "integer",
          "description": "The maximum VPN session duration time in hours. Valid values: 8 | 10 | 12 | 24 Default value: 24"
        },
        "ClientLoginBannerOptions": {
          "$ref": "#/$defs/ClientLoginBannerResponseOptions"
        },
        "ClientRouteEnforcementOptions": {
          "$ref": "#/$defs/ClientRouteEnforcementResponseOptions"
        },
        "DisconnectOnSessionTimeout": {
          "type": "boolean",
          "description": "Indicates whether the client VPN session is disconnected after the maximum sessionTimeoutHours is reached. If true, users are prompted to reconnect client VPN. If false, client VPN attempts to reconnect automatically. The default value is true."
        },
        "EndpointIpAddressType": {
          "type": "string",
          "enum": [
            "ipv4",
            "ipv6",
            "dual-stack"
          ],
          "description": "The IP address type of the Client VPN endpoint. Possible values are ipv4 for IPv4 addressing only, ipv6 for IPv6 addressing only, or dual-stack for both IPv4 and IPv6 addressing."
        },
        "TrafficIpAddressType": {
          "type": "string",
          "enum": [
            "ipv4",
            "ipv6",
            "dual-stack"
          ],
          "description": "The IP address type of the Client VPN endpoint. Possible values are either ipv4 for IPv4 addressing only, ipv6 for IPv6 addressing only, or dual-stack for both IPv4 and IPv6 addressing."
        },
        "TransitGatewayConfiguration": {
          "$ref": "#/$defs/TransitGatewayConfigurationDescribeEndpointStructure"
        },
        "DevicePostureOptions": {
          "$ref": "#/$defs/DevicePostureResponseOptions"
        }
      }
    },
    "ClientVpnEndpointAttributeStatus": {
      "type": "object",
      "properties": {
        "Code": {
          "type": "string",
          "enum": [
            "applying",
            "applied"
          ],
          "description": "The status code."
        },
        "Message": {
          "type": "string",
          "description": "The status message."
        }
      }
    },
    "ClientVpnEndpointStatus": {
      "type": "object",
      "properties": {
        "Code": {
          "type": "string",
          "enum": [
            "pending-associate",
            "available",
            "deleting",
            "deleted",
            "pending"
          ],
          "description": "The state of the Client VPN endpoint. Possible states include: pending-associate - The Client VPN endpoint has been created but no target networks have been associated. The Client VPN endpoint cannot accept connections. available - The Client VPN endpoint has been created and a target network has been associated. The Client VPN endpoint can accept connections. deleting - The Client VPN endpoint is being deleted. The Client VPN endpoint cannot accept connections. deleted - The Client VPN endpoint has been deleted. The Client VPN endpoint cannot accept connections. pending - The Client VPN endpo"
        },
        "Message": {
          "type": "string",
          "description": "A message about the status of the Client VPN endpoint."
        }
      }
    },
    "ClientVpnTrustProvider": {
      "type": "object",
      "properties": {
        "TrustProviderType": {
          "type": "string",
          "enum": [
            "crowdstrike",
            "jamf",
            "jumpcloud"
          ],
          "description": "The type of the device trust provider. Possible values include: crowdstrike - CrowdStrike device trust provider. jamf - Jamf device trust provider. jumpcloud - JumpCloud device trust provider."
        },
        "TenantId": {
          "type": "string",
          "description": "The tenant ID associated with your device trust provider account."
        },
        "PublicSigningKeyUrl": {
          "type": "string",
          "description": "The URL of the public signing key that is used to verify the identity token issued by the device trust provider."
        }
      }
    },
    "ConnectionLogResponseOptions": {
      "type": "object",
      "properties": {
        "Enabled": {
          "type": "boolean",
          "description": "Indicates whether client connection logging is enabled for the Client VPN endpoint."
        },
        "CloudwatchLogGroup": {
          "type": "string",
          "description": "The name of the Amazon CloudWatch Logs log group to which connection logging data is published."
        },
        "CloudwatchLogStream": {
          "type": "string",
          "description": "The name of the Amazon CloudWatch Logs log stream to which connection logging data is published."
        },
        "IncludeAuthorizationPolicyContext": {
          "type": "boolean",
          "description": "Specifies whether the authorization policy evaluation context is included in the connection logs for the Client VPN endpoint."
        }
      }
    },
    "DevicePostureResponseOptions": {
      "type": "object",
      "properties": {
        "TrustProviders": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ClientVpnTrustProvider"
          },
          "description": "The device trust providers configured for the Client VPN endpoint."
        }
      }
    },
    "DirectoryServiceAuthentication": {
      "type": "object",
      "properties": {
        "DirectoryId": {
          "type": "string",
          "description": "The ID of the Active Directory used for authentication."
        }
      }
    },
    "FederatedAuthentication": {
      "type": "object",
      "properties": {
        "SamlProviderArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the IAM SAML identity provider."
        },
        "SelfServiceSamlProviderArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the IAM SAML identity provider for the self-service portal."
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key of the tag. Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:."
        },
        "Value": {
          "type": "string",
          "description": "The value of the tag. Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters."
        }
      }
    },
    "TransitGatewayConfigurationDescribeEndpointStructure": {
      "type": "object",
      "properties": {
        "TransitGatewayId": {
          "type": "string",
          "description": "The ID of the Transit Gateway."
        },
        "TransitGatewayAttachmentId": {
          "type": "string",
          "description": "The ID of the Transit Gateway attachment."
        },
        "AvailabilityZones": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The Availability Zone names for the Transit Gateway association."
        },
        "AvailabilityZoneIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The Availability Zone IDs for the Transit Gateway association."
        }
      }
    }
  }
}