Class: AWSCDK::EC2::CfnVPNConnection::Phase1IntegrityAlgorithmsRequestListValueProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ec2/cfn_vpn_connection.rb

Overview

Specifies the integrity 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) ⇒ Phase1IntegrityAlgorithmsRequestListValueProperty

Returns a new instance of Phase1IntegrityAlgorithmsRequestListValueProperty.

Parameters:

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

    The value for the integrity algorithm.



947
948
949
950
# File 'ec2/cfn_vpn_connection.rb', line 947

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 integrity algorithm.



956
957
958
# File 'ec2/cfn_vpn_connection.rb', line 956

def value
  @value
end

Class Method Details

.jsii_propertiesObject



958
959
960
961
962
# File 'ec2/cfn_vpn_connection.rb', line 958

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

Instance Method Details

#to_jsiiObject



964
965
966
967
968
969
970
# File 'ec2/cfn_vpn_connection.rb', line 964

def to_jsii
  result = {}
  result.merge!({
    "value" => @value,
  })
  result.compact
end