Class: AWSCDK::EC2::CfnClientVpnEndpoint::DirectoryServiceAuthenticationRequestProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnClientVpnEndpoint::DirectoryServiceAuthenticationRequestProperty
- Defined in:
- ec2/cfn_client_vpn_endpoint.rb
Overview
Describes the Active Directory to be used for client authentication.
Instance Attribute Summary collapse
-
#directory_id ⇒ String
readonly
The ID of the Active Directory to be used for authentication.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(directory_id:) ⇒ DirectoryServiceAuthenticationRequestProperty
constructor
A new instance of DirectoryServiceAuthenticationRequestProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(directory_id:) ⇒ DirectoryServiceAuthenticationRequestProperty
Returns a new instance of DirectoryServiceAuthenticationRequestProperty.
1081 1082 1083 1084 |
# File 'ec2/cfn_client_vpn_endpoint.rb', line 1081 def initialize(directory_id:) @directory_id = directory_id Jsii::Type.check_type(@directory_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "directoryId") end |
Instance Attribute Details
#directory_id ⇒ String (readonly)
The ID of the Active Directory to be used for authentication.
1090 1091 1092 |
# File 'ec2/cfn_client_vpn_endpoint.rb', line 1090 def directory_id @directory_id end |
Class Method Details
.jsii_properties ⇒ Object
1092 1093 1094 1095 1096 |
# File 'ec2/cfn_client_vpn_endpoint.rb', line 1092 def self.jsii_properties { :directory_id => "directoryId", } end |
Instance Method Details
#to_jsii ⇒ Object
1098 1099 1100 1101 1102 1103 1104 |
# File 'ec2/cfn_client_vpn_endpoint.rb', line 1098 def to_jsii result = {} result.merge!({ "directoryId" => @directory_id, }) result.compact end |