Class: AWSCDK::EC2::CfnVPNConnection::Phase1EncryptionAlgorithmsRequestListValueProperty

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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value: nil) ⇒ Phase1EncryptionAlgorithmsRequestListValueProperty

Returns a new instance of Phase1EncryptionAlgorithmsRequestListValueProperty.

Parameters:

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

    The value for the encryption algorithm.



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

#valueString? (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_propertiesObject



925
926
927
928
929
# File 'ec2/cfn_vpn_connection.rb', line 925

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

Instance Method Details

#to_jsiiObject



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