Class: Aws::EC2::Types::CreateClientVpnEndpointRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#authentication_optionsArray<Types::ClientVpnAuthenticationRequest>

Information about the authentication method to be used to authenticate clients.



8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8342

class CreateClientVpnEndpointRequest < Struct.new(
  :client_cidr_block,
  :server_certificate_arn,
  :authentication_options,
  :connection_log_options,
  :dns_servers,
  :transport_protocol,
  :vpn_port,
  :description,
  :split_tunnel,
  :dry_run,
  :client_token,
  :tag_specifications,
  :security_group_ids,
  :vpc_id,
  :self_service_portal,
  :client_connect_options,
  :session_timeout_hours,
  :client_login_banner_options,
  :client_route_enforcement_options,
  :disconnect_on_session_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#client_cidr_blockString

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.

Returns:

  • (String)


8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8342

class CreateClientVpnEndpointRequest < Struct.new(
  :client_cidr_block,
  :server_certificate_arn,
  :authentication_options,
  :connection_log_options,
  :dns_servers,
  :transport_protocol,
  :vpn_port,
  :description,
  :split_tunnel,
  :dry_run,
  :client_token,
  :tag_specifications,
  :security_group_ids,
  :vpc_id,
  :self_service_portal,
  :client_connect_options,
  :session_timeout_hours,
  :client_login_banner_options,
  :client_route_enforcement_options,
  :disconnect_on_session_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#client_connect_optionsTypes::ClientConnectOptions

The options for managing connection authorization for new client connections.



8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8342

class CreateClientVpnEndpointRequest < Struct.new(
  :client_cidr_block,
  :server_certificate_arn,
  :authentication_options,
  :connection_log_options,
  :dns_servers,
  :transport_protocol,
  :vpn_port,
  :description,
  :split_tunnel,
  :dry_run,
  :client_token,
  :tag_specifications,
  :security_group_ids,
  :vpc_id,
  :self_service_portal,
  :client_connect_options,
  :session_timeout_hours,
  :client_login_banner_options,
  :client_route_enforcement_options,
  :disconnect_on_session_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#client_login_banner_optionsTypes::ClientLoginBannerOptions

Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.



8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8342

class CreateClientVpnEndpointRequest < Struct.new(
  :client_cidr_block,
  :server_certificate_arn,
  :authentication_options,
  :connection_log_options,
  :dns_servers,
  :transport_protocol,
  :vpn_port,
  :description,
  :split_tunnel,
  :dry_run,
  :client_token,
  :tag_specifications,
  :security_group_ids,
  :vpc_id,
  :self_service_portal,
  :client_connect_options,
  :session_timeout_hours,
  :client_login_banner_options,
  :client_route_enforcement_options,
  :disconnect_on_session_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#client_route_enforcement_optionsTypes::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.



8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8342

class CreateClientVpnEndpointRequest < Struct.new(
  :client_cidr_block,
  :server_certificate_arn,
  :authentication_options,
  :connection_log_options,
  :dns_servers,
  :transport_protocol,
  :vpn_port,
  :description,
  :split_tunnel,
  :dry_run,
  :client_token,
  :tag_specifications,
  :security_group_ids,
  :vpc_id,
  :self_service_portal,
  :client_connect_options,
  :session_timeout_hours,
  :client_login_banner_options,
  :client_route_enforcement_options,
  :disconnect_on_session_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8342

class CreateClientVpnEndpointRequest < Struct.new(
  :client_cidr_block,
  :server_certificate_arn,
  :authentication_options,
  :connection_log_options,
  :dns_servers,
  :transport_protocol,
  :vpn_port,
  :description,
  :split_tunnel,
  :dry_run,
  :client_token,
  :tag_specifications,
  :security_group_ids,
  :vpc_id,
  :self_service_portal,
  :client_connect_options,
  :session_timeout_hours,
  :client_login_banner_options,
  :client_route_enforcement_options,
  :disconnect_on_session_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#connection_log_optionsTypes::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



8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8342

class CreateClientVpnEndpointRequest < Struct.new(
  :client_cidr_block,
  :server_certificate_arn,
  :authentication_options,
  :connection_log_options,
  :dns_servers,
  :transport_protocol,
  :vpn_port,
  :description,
  :split_tunnel,
  :dry_run,
  :client_token,
  :tag_specifications,
  :security_group_ids,
  :vpc_id,
  :self_service_portal,
  :client_connect_options,
  :session_timeout_hours,
  :client_login_banner_options,
  :client_route_enforcement_options,
  :disconnect_on_session_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A brief description of the Client VPN endpoint.

Returns:

  • (String)


8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8342

class CreateClientVpnEndpointRequest < Struct.new(
  :client_cidr_block,
  :server_certificate_arn,
  :authentication_options,
  :connection_log_options,
  :dns_servers,
  :transport_protocol,
  :vpn_port,
  :description,
  :split_tunnel,
  :dry_run,
  :client_token,
  :tag_specifications,
  :security_group_ids,
  :vpc_id,
  :self_service_portal,
  :client_connect_options,
  :session_timeout_hours,
  :client_login_banner_options,
  :client_route_enforcement_options,
  :disconnect_on_session_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#disconnect_on_session_timeoutBoolean

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 false.

Returns:

  • (Boolean)


8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8342

class CreateClientVpnEndpointRequest < Struct.new(
  :client_cidr_block,
  :server_certificate_arn,
  :authentication_options,
  :connection_log_options,
  :dns_servers,
  :transport_protocol,
  :vpn_port,
  :description,
  :split_tunnel,
  :dry_run,
  :client_token,
  :tag_specifications,
  :security_group_ids,
  :vpc_id,
  :self_service_portal,
  :client_connect_options,
  :session_timeout_hours,
  :client_login_banner_options,
  :client_route_enforcement_options,
  :disconnect_on_session_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#dns_serversArray<String>

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.

Returns:

  • (Array<String>)


8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8342

class CreateClientVpnEndpointRequest < Struct.new(
  :client_cidr_block,
  :server_certificate_arn,
  :authentication_options,
  :connection_log_options,
  :dns_servers,
  :transport_protocol,
  :vpn_port,
  :description,
  :split_tunnel,
  :dry_run,
  :client_token,
  :tag_specifications,
  :security_group_ids,
  :vpc_id,
  :self_service_portal,
  :client_connect_options,
  :session_timeout_hours,
  :client_login_banner_options,
  :client_route_enforcement_options,
  :disconnect_on_session_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#dry_runBoolean

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.

Returns:

  • (Boolean)


8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8342

class CreateClientVpnEndpointRequest < Struct.new(
  :client_cidr_block,
  :server_certificate_arn,
  :authentication_options,
  :connection_log_options,
  :dns_servers,
  :transport_protocol,
  :vpn_port,
  :description,
  :split_tunnel,
  :dry_run,
  :client_token,
  :tag_specifications,
  :security_group_ids,
  :vpc_id,
  :self_service_portal,
  :client_connect_options,
  :session_timeout_hours,
  :client_login_banner_options,
  :client_route_enforcement_options,
  :disconnect_on_session_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#security_group_idsArray<String>

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.

Returns:

  • (Array<String>)


8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8342

class CreateClientVpnEndpointRequest < Struct.new(
  :client_cidr_block,
  :server_certificate_arn,
  :authentication_options,
  :connection_log_options,
  :dns_servers,
  :transport_protocol,
  :vpn_port,
  :description,
  :split_tunnel,
  :dry_run,
  :client_token,
  :tag_specifications,
  :security_group_ids,
  :vpc_id,
  :self_service_portal,
  :client_connect_options,
  :session_timeout_hours,
  :client_login_banner_options,
  :client_route_enforcement_options,
  :disconnect_on_session_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#self_service_portalString

Specify whether to enable the self-service portal for the Client VPN endpoint.

Default Value: enabled

Returns:

  • (String)


8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8342

class CreateClientVpnEndpointRequest < Struct.new(
  :client_cidr_block,
  :server_certificate_arn,
  :authentication_options,
  :connection_log_options,
  :dns_servers,
  :transport_protocol,
  :vpn_port,
  :description,
  :split_tunnel,
  :dry_run,
  :client_token,
  :tag_specifications,
  :security_group_ids,
  :vpc_id,
  :self_service_portal,
  :client_connect_options,
  :session_timeout_hours,
  :client_login_banner_options,
  :client_route_enforcement_options,
  :disconnect_on_session_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#server_certificate_arnString

The ARN of the server certificate. For more information, see the Certificate Manager User Guide.

Returns:

  • (String)


8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8342

class CreateClientVpnEndpointRequest < Struct.new(
  :client_cidr_block,
  :server_certificate_arn,
  :authentication_options,
  :connection_log_options,
  :dns_servers,
  :transport_protocol,
  :vpn_port,
  :description,
  :split_tunnel,
  :dry_run,
  :client_token,
  :tag_specifications,
  :security_group_ids,
  :vpc_id,
  :self_service_portal,
  :client_connect_options,
  :session_timeout_hours,
  :client_login_banner_options,
  :client_route_enforcement_options,
  :disconnect_on_session_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#session_timeout_hoursInteger

The maximum VPN session duration time in hours.

Valid values: 8 | 10 | 12 | 24

Default value: 24

Returns:

  • (Integer)


8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8342

class CreateClientVpnEndpointRequest < Struct.new(
  :client_cidr_block,
  :server_certificate_arn,
  :authentication_options,
  :connection_log_options,
  :dns_servers,
  :transport_protocol,
  :vpn_port,
  :description,
  :split_tunnel,
  :dry_run,
  :client_token,
  :tag_specifications,
  :security_group_ids,
  :vpc_id,
  :self_service_portal,
  :client_connect_options,
  :session_timeout_hours,
  :client_login_banner_options,
  :client_route_enforcement_options,
  :disconnect_on_session_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#split_tunnelBoolean

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.

Returns:

  • (Boolean)


8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8342

class CreateClientVpnEndpointRequest < Struct.new(
  :client_cidr_block,
  :server_certificate_arn,
  :authentication_options,
  :connection_log_options,
  :dns_servers,
  :transport_protocol,
  :vpn_port,
  :description,
  :split_tunnel,
  :dry_run,
  :client_token,
  :tag_specifications,
  :security_group_ids,
  :vpc_id,
  :self_service_portal,
  :client_connect_options,
  :session_timeout_hours,
  :client_login_banner_options,
  :client_route_enforcement_options,
  :disconnect_on_session_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#tag_specificationsArray<Types::TagSpecification>

The tags to apply to the Client VPN endpoint during creation.

Returns:



8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8342

class CreateClientVpnEndpointRequest < Struct.new(
  :client_cidr_block,
  :server_certificate_arn,
  :authentication_options,
  :connection_log_options,
  :dns_servers,
  :transport_protocol,
  :vpn_port,
  :description,
  :split_tunnel,
  :dry_run,
  :client_token,
  :tag_specifications,
  :security_group_ids,
  :vpc_id,
  :self_service_portal,
  :client_connect_options,
  :session_timeout_hours,
  :client_login_banner_options,
  :client_route_enforcement_options,
  :disconnect_on_session_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#transport_protocolString

The transport protocol to be used by the VPN session.

Default value: udp

Returns:

  • (String)


8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8342

class CreateClientVpnEndpointRequest < Struct.new(
  :client_cidr_block,
  :server_certificate_arn,
  :authentication_options,
  :connection_log_options,
  :dns_servers,
  :transport_protocol,
  :vpn_port,
  :description,
  :split_tunnel,
  :dry_run,
  :client_token,
  :tag_specifications,
  :security_group_ids,
  :vpc_id,
  :self_service_portal,
  :client_connect_options,
  :session_timeout_hours,
  :client_login_banner_options,
  :client_route_enforcement_options,
  :disconnect_on_session_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_idString

The ID of the VPC to associate with the Client VPN endpoint. If no security group IDs are specified in the request, the default security group for the VPC is applied.

Returns:

  • (String)


8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8342

class CreateClientVpnEndpointRequest < Struct.new(
  :client_cidr_block,
  :server_certificate_arn,
  :authentication_options,
  :connection_log_options,
  :dns_servers,
  :transport_protocol,
  :vpn_port,
  :description,
  :split_tunnel,
  :dry_run,
  :client_token,
  :tag_specifications,
  :security_group_ids,
  :vpc_id,
  :self_service_portal,
  :client_connect_options,
  :session_timeout_hours,
  :client_login_banner_options,
  :client_route_enforcement_options,
  :disconnect_on_session_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#vpn_portInteger

The port number to assign to the Client VPN endpoint for TCP and UDP traffic.

Valid Values: 443 | 1194

Default Value: 443

Returns:

  • (Integer)


8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8342

class CreateClientVpnEndpointRequest < Struct.new(
  :client_cidr_block,
  :server_certificate_arn,
  :authentication_options,
  :connection_log_options,
  :dns_servers,
  :transport_protocol,
  :vpn_port,
  :description,
  :split_tunnel,
  :dry_run,
  :client_token,
  :tag_specifications,
  :security_group_ids,
  :vpc_id,
  :self_service_portal,
  :client_connect_options,
  :session_timeout_hours,
  :client_login_banner_options,
  :client_route_enforcement_options,
  :disconnect_on_session_timeout)
  SENSITIVE = []
  include Aws::Structure
end