CreateClientVpnEndpointRequest
¶
Source code in docs_src/capo_ec2/types/create_client_vpn_endpoint_request.py
authentication_options
instance-attribute
¶
authentication_options: NotRequired[ClientVpnAuthenticationRequestList]
Information about the authentication method to be used to authenticate clients.
client_cidr_block
instance-attribute
¶
client_cidr_block: NotRequired[String]
The IPv4 address range, in CIDR notation, from which to assign client IP addresses. The address range cannot overlap with the local CIDR of the VPC in which the associated subnet is located, or the routes that you add manually. The address range cannot be changed after the Client VPN endpoint has been created. Client CIDR range must have a size of at least /22 and must not be greater than /12.
client_connect_options
instance-attribute
¶
client_connect_options: NotRequired[ClientConnectOptions]
The options for managing connection authorization for new client connections.
client_login_banner_options
instance-attribute
¶
client_login_banner_options: NotRequired[ClientLoginBannerOptions]
Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.
client_route_enforcement_options
instance-attribute
¶
client_route_enforcement_options: NotRequired[ClientRouteEnforcementOptions]
Client route enforcement is a feature of the Client VPN service that helps enforce administrator defined routes on devices connected through the VPN. T his feature helps improve your security posture by ensuring that network traffic originating from a connected client is not inadvertently sent outside the VPN tunnel.
Client route enforcement works by monitoring the route table of a connected device for routing policy changes to the VPN connection. If the feature detects any VPN routing policy modifications, it will automatically force an update to the route table, reverting it back to the expected route configurations.
client_token
instance-attribute
¶
client_token: NotRequired[String]
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
connection_log_options
instance-attribute
¶
connection_log_options: NotRequired[ConnectionLogOptions]
Information about the client connection logging options.
If you enable client connection logging, data about client connections is sent to a Cloudwatch Logs log stream. The following information is logged:
-
Client connection requests
-
Client connection results (successful and unsuccessful)
-
Reasons for unsuccessful client connection requests
-
Client connection termination time
description
instance-attribute
¶
description: NotRequired[String]
A brief description of the Client VPN endpoint.
device_posture_options
instance-attribute
¶
device_posture_options: NotRequired[DevicePostureOptions]
The device posture options for the Client VPN endpoint. Use this parameter to specify the device trust providers that the endpoint uses to evaluate the security posture of connecting devices.
disconnect_on_session_timeout
instance-attribute
¶
disconnect_on_session_timeout: NotRequired[Boolean]
Indicates whether the client VPN session is disconnected after the maximum timeout specified in 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.
dns_servers
instance-attribute
¶
dns_servers: NotRequired[ValueStringList]
Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to two DNS servers. If no DNS server is specified, the DNS address configured on the device is used for the DNS server.
dry_run
instance-attribute
¶
dry_run: NotRequired[Boolean]
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
endpoint_ip_address_type
instance-attribute
¶
endpoint_ip_address_type: NotRequired[EndpointIpAddressType]
The IP address type for the Client VPN endpoint. Valid values are ipv4 (default) for IPv4 addressing only, ipv6 for IPv6 addressing only, or dual-stack for both IPv4 and IPv6 addressing. When set to dual-stack, clients can connect to the endpoint using either IPv4 or IPv6 addresses..
security_group_ids
instance-attribute
¶
security_group_ids: NotRequired[ClientVpnSecurityGroupIdSet]
The IDs of one or more security groups to apply to the target network. You must also specify the ID of the VPC that contains the security groups.
self_service_portal
instance-attribute
¶
self_service_portal: NotRequired[SelfServicePortal]
Specify whether to enable the self-service portal for the Client VPN endpoint.
Default Value: enabled
server_certificate_arn
instance-attribute
¶
server_certificate_arn: NotRequired[String]
The ARN of the server certificate. For more information, see the Certificate Manager User Guide.
session_timeout_hours
instance-attribute
¶
session_timeout_hours: NotRequired[Integer]
The maximum VPN session duration time in hours.
Valid values: 8 | 10 | 12 | 24
Default value: 24
split_tunnel
instance-attribute
¶
split_tunnel: NotRequired[Boolean]
Indicates whether split-tunnel is enabled on the Client VPN endpoint.
By default, split-tunnel on a VPN endpoint is disabled.
For information about split-tunnel VPN endpoints, see Split-tunnel Client VPN endpoint in the Client VPN Administrator Guide.
tag_specifications
instance-attribute
¶
tag_specifications: NotRequired[TagSpecificationList]
The tags to apply to the Client VPN endpoint during creation.
traffic_ip_address_type
instance-attribute
¶
traffic_ip_address_type: NotRequired[TrafficIpAddressType]
The IP address type for traffic within the Client VPN tunnel. Valid values are ipv4 (default) for IPv4 traffic only, ipv6 for IPv6 addressing only, or dual-stack for both IPv4 and IPv6 traffic. When set to dual-stack, clients can access both IPv4 and IPv6 resources through the VPN .
transit_gateway_configuration
instance-attribute
¶
transit_gateway_configuration: NotRequired[TransitGatewayConfigurationInputStructure]
The Transit Gateway configuration for the Client VPN endpoint. Use this parameter to associate the endpoint with a Transit Gateway instead of a VPC. You cannot specify both TransitGatewayConfiguration and VpcId/SecurityGroupIds.
transport_protocol
instance-attribute
¶
transport_protocol: NotRequired[TransportProtocol]
The transport protocol to be used by the VPN session.
Default value: udp