Class: AWSCDK::EC2::CfnVPNConnection::Phase2EncryptionAlgorithmsRequestListValueProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnVPNConnection::Phase2EncryptionAlgorithmsRequestListValueProperty
- Defined in:
- ec2/cfn_vpn_connection.rb
Overview
Specifies the encryption algorithm for the VPN tunnel for phase 2 IKE negotiations.
Instance Attribute Summary collapse
-
#value ⇒ String?
readonly
The encryption algorithm.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(value: nil) ⇒ Phase2EncryptionAlgorithmsRequestListValueProperty
constructor
A new instance of Phase2EncryptionAlgorithmsRequestListValueProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(value: nil) ⇒ Phase2EncryptionAlgorithmsRequestListValueProperty
Returns a new instance of Phase2EncryptionAlgorithmsRequestListValueProperty.
1013 1014 1015 1016 |
# File 'ec2/cfn_vpn_connection.rb', line 1013 def initialize(value: nil) @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") unless @value.nil? end |
Instance Attribute Details
#value ⇒ String? (readonly)
The encryption algorithm.
1022 1023 1024 |
# File 'ec2/cfn_vpn_connection.rb', line 1022 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
1024 1025 1026 1027 1028 |
# File 'ec2/cfn_vpn_connection.rb', line 1024 def self.jsii_properties { :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
1030 1031 1032 1033 1034 1035 1036 |
# File 'ec2/cfn_vpn_connection.rb', line 1030 def to_jsii result = {} result.merge!({ "value" => @value, }) result.compact end |