You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EC2::Types::ClientVpnAuthenticationRequest

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

Overview

Note:

When making an API call, you may pass ClientVpnAuthenticationRequest data as a hash:

{
  type: "certificate-authentication", # accepts certificate-authentication, directory-service-authentication
  active_directory: {
    directory_id: "String",
  },
  mutual_authentication: {
    client_root_certificate_chain_arn: "String",
  },
}

Describes the authentication method to be used by a Client VPN endpoint. Client VPN supports Active Directory and mutual authentication. For more information, see Authentication in the AWS Client VPN Administrator Guide.

Instance Attribute Summary collapse

Instance Attribute Details

#active_directoryTypes::DirectoryServiceAuthenticationRequest

Information about the Active Directory to be used, if applicable. You must provide this information if Type is directory-service-authentication.



3100
3101
3102
3103
3104
3105
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3100

class ClientVpnAuthenticationRequest < Struct.new(
  :type,
  :active_directory,
  :mutual_authentication)
  include Aws::Structure
end

#mutual_authenticationTypes::CertificateAuthenticationRequest

Information about the authentication certificates to be used, if applicable. You must provide this information if Type is certificate-authentication.



3100
3101
3102
3103
3104
3105
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3100

class ClientVpnAuthenticationRequest < Struct.new(
  :type,
  :active_directory,
  :mutual_authentication)
  include Aws::Structure
end

#typeString

The type of client authentication to be used. Specify certificate-authentication to use certificate-based authentication, or directory-service-authentication to use Active Directory authentication.

Returns:

  • (String)


3100
3101
3102
3103
3104
3105
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3100

class ClientVpnAuthenticationRequest < Struct.new(
  :type,
  :active_directory,
  :mutual_authentication)
  include Aws::Structure
end