Class: AWSCDK::EC2::CfnClientVpnEndpoint::ClientConnectOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnClientVpnEndpoint::ClientConnectOptionsProperty
- Defined in:
- ec2/cfn_client_vpn_endpoint.rb
Overview
Indicates whether client connect options are enabled.
The default is false (not enabled).
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean, AWSCDK::IResolvable
readonly
Indicates whether client connect options are enabled.
-
#lambda_function_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the AWS Lambda function used for connection authorization.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(enabled:, lambda_function_arn: nil) ⇒ ClientConnectOptionsProperty
constructor
A new instance of ClientConnectOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(enabled:, lambda_function_arn: nil) ⇒ ClientConnectOptionsProperty
Returns a new instance of ClientConnectOptionsProperty.
890 891 892 893 894 895 |
# File 'ec2/cfn_client_vpn_endpoint.rb', line 890 def initialize(enabled:, lambda_function_arn: nil) @enabled = enabled Jsii::Type.check_type(@enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enabled") @lambda_function_arn = lambda_function_arn Jsii::Type.check_type(@lambda_function_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "lambdaFunctionArn") unless @lambda_function_arn.nil? end |
Instance Attribute Details
#enabled ⇒ Boolean, AWSCDK::IResolvable (readonly)
Indicates whether client connect options are enabled.
The default is false (not enabled).
903 904 905 |
# File 'ec2/cfn_client_vpn_endpoint.rb', line 903 def enabled @enabled end |
#lambda_function_arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) of the AWS Lambda function used for connection authorization.
908 909 910 |
# File 'ec2/cfn_client_vpn_endpoint.rb', line 908 def lambda_function_arn @lambda_function_arn end |
Class Method Details
.jsii_properties ⇒ Object
910 911 912 913 914 915 |
# File 'ec2/cfn_client_vpn_endpoint.rb', line 910 def self.jsii_properties { :enabled => "enabled", :lambda_function_arn => "lambdaFunctionArn", } end |
Instance Method Details
#to_jsii ⇒ Object
917 918 919 920 921 922 923 924 |
# File 'ec2/cfn_client_vpn_endpoint.rb', line 917 def to_jsii result = {} result.merge!({ "enabled" => @enabled, "lambdaFunctionArn" => @lambda_function_arn, }) result.compact end |