Class: AWSCDK::EC2::CfnVPNConnection::Phase1EncryptionAlgorithmsRequestListValueProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnVPNConnection::Phase1EncryptionAlgorithmsRequestListValueProperty
- Defined in:
- ec2/cfn_vpn_connection.rb
Overview
Specifies the encryption algorithm for the VPN tunnel for phase 1 IKE negotiations.
Instance Attribute Summary collapse
-
#value ⇒ String?
readonly
The value for the encryption algorithm.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(value: nil) ⇒ Phase1EncryptionAlgorithmsRequestListValueProperty
constructor
A new instance of Phase1EncryptionAlgorithmsRequestListValueProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(value: nil) ⇒ Phase1EncryptionAlgorithmsRequestListValueProperty
Returns a new instance of Phase1EncryptionAlgorithmsRequestListValueProperty.
914 915 916 917 |
# File 'ec2/cfn_vpn_connection.rb', line 914 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 value for the encryption algorithm.
923 924 925 |
# File 'ec2/cfn_vpn_connection.rb', line 923 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
925 926 927 928 929 |
# File 'ec2/cfn_vpn_connection.rb', line 925 def self.jsii_properties { :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
931 932 933 934 935 936 937 |
# File 'ec2/cfn_vpn_connection.rb', line 931 def to_jsii result = {} result.merge!({ "value" => @value, }) result.compact end |