Class: Aws::EC2::Types::ModifyClientVpnEndpointRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::ModifyClientVpnEndpointRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
When making an API call, you may pass ModifyClientVpnEndpointRequest data as a hash:
{
client_vpn_endpoint_id: "String", # required
server_certificate_arn: "String",
connection_log_options: {
enabled: false,
cloudwatch_log_group: "String",
cloudwatch_log_stream: "String",
},
dns_servers: {
custom_dns_servers: ["String"],
enabled: false,
},
description: "String",
dry_run: false,
}
Instance Attribute Summary collapse
-
#client_vpn_endpoint_id ⇒ String
The ID of the Client VPN endpoint to modify.
-
#connection_log_options ⇒ Types::ConnectionLogOptions
Information about the client connection logging options.
-
#description ⇒ String
A brief description of the Client VPN endpoint.
-
#dns_servers ⇒ Types::DnsServersOptionsModifyStructure
Information about the DNS servers to be used by Client VPN connections.
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#server_certificate_arn ⇒ String
The ARN of the server certificate to be used.
Instance Attribute Details
#client_vpn_endpoint_id ⇒ String
The ID of the Client VPN endpoint to modify.
25177 25178 25179 25180 25181 25182 25183 25184 25185 |
# File 'lib/aws-sdk-ec2/types.rb', line 25177 class ModifyClientVpnEndpointRequest < Struct.new( :client_vpn_endpoint_id, :server_certificate_arn, :connection_log_options, :dns_servers, :description, :dry_run) include Aws::Structure end |
#connection_log_options ⇒ Types::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
25177 25178 25179 25180 25181 25182 25183 25184 25185 |
# File 'lib/aws-sdk-ec2/types.rb', line 25177 class ModifyClientVpnEndpointRequest < Struct.new( :client_vpn_endpoint_id, :server_certificate_arn, :connection_log_options, :dns_servers, :description, :dry_run) include Aws::Structure end |
#description ⇒ String
A brief description of the Client VPN endpoint.
25177 25178 25179 25180 25181 25182 25183 25184 25185 |
# File 'lib/aws-sdk-ec2/types.rb', line 25177 class ModifyClientVpnEndpointRequest < Struct.new( :client_vpn_endpoint_id, :server_certificate_arn, :connection_log_options, :dns_servers, :description, :dry_run) include Aws::Structure end |
#dns_servers ⇒ Types::DnsServersOptionsModifyStructure
Information about the DNS servers to be used by Client VPN connections. A Client VPN endpoint can have up to two DNS servers.
25177 25178 25179 25180 25181 25182 25183 25184 25185 |
# File 'lib/aws-sdk-ec2/types.rb', line 25177 class ModifyClientVpnEndpointRequest < Struct.new( :client_vpn_endpoint_id, :server_certificate_arn, :connection_log_options, :dns_servers, :description, :dry_run) include Aws::Structure end |
#dry_run ⇒ 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`.
25177 25178 25179 25180 25181 25182 25183 25184 25185 |
# File 'lib/aws-sdk-ec2/types.rb', line 25177 class ModifyClientVpnEndpointRequest < Struct.new( :client_vpn_endpoint_id, :server_certificate_arn, :connection_log_options, :dns_servers, :description, :dry_run) include Aws::Structure end |
#server_certificate_arn ⇒ String
The ARN of the server certificate to be used. The server certificate must be provisioned in AWS Certificate Manager (ACM).
25177 25178 25179 25180 25181 25182 25183 25184 25185 |
# File 'lib/aws-sdk-ec2/types.rb', line 25177 class ModifyClientVpnEndpointRequest < Struct.new( :client_vpn_endpoint_id, :server_certificate_arn, :connection_log_options, :dns_servers, :description, :dry_run) include Aws::Structure end |