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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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](vpn/latest/clientvpn-admin/authentication-authrization.html#client-authentication) in the *AWS Client VPN Admin 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`.



2984
2985
2986
2987
2988
2989
# File 'lib/aws-sdk-ec2/types.rb', line 2984

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



2984
2985
2986
2987
2988
2989
# File 'lib/aws-sdk-ec2/types.rb', line 2984

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)


2984
2985
2986
2987
2988
2989
# File 'lib/aws-sdk-ec2/types.rb', line 2984

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