Class: AWSCDK::EC2::CfnVPNConnection::Phase2EncryptionAlgorithmsRequestListValueProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value: nil) ⇒ Phase2EncryptionAlgorithmsRequestListValueProperty

Returns a new instance of Phase2EncryptionAlgorithmsRequestListValueProperty.

Parameters:

  • value (String, nil) (defaults to: nil)

    The encryption algorithm.



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

#valueString? (readonly)

The encryption algorithm.



1022
1023
1024
# File 'ec2/cfn_vpn_connection.rb', line 1022

def value
  @value
end

Class Method Details

.jsii_propertiesObject



1024
1025
1026
1027
1028
# File 'ec2/cfn_vpn_connection.rb', line 1024

def self.jsii_properties
  {
    :value => "value",
  }
end

Instance Method Details

#to_jsiiObject



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