Class: AWSCDK::SAM::CfnAPI::EndpointConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
sam/cfn_api.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type: nil, vpc_endpoint_ids: nil) ⇒ EndpointConfigurationProperty

Returns a new instance of EndpointConfigurationProperty.

Parameters:

  • type (String, nil) (defaults to: nil)
  • vpc_endpoint_ids (Array<String>, nil) (defaults to: nil)


1046
1047
1048
1049
1050
1051
# File 'sam/cfn_api.rb', line 1046

def initialize(type: nil, vpc_endpoint_ids: nil)
  @type = type
  Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") unless @type.nil?
  @vpc_endpoint_ids = vpc_endpoint_ids
  Jsii::Type.check_type(@vpc_endpoint_ids, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "vpcEndpointIds") unless @vpc_endpoint_ids.nil?
end

Instance Attribute Details

#typeString? (readonly)



1055
1056
1057
# File 'sam/cfn_api.rb', line 1055

def type
  @type
end

#vpc_endpoint_idsArray<String>? (readonly)



1058
1059
1060
# File 'sam/cfn_api.rb', line 1058

def vpc_endpoint_ids
  @vpc_endpoint_ids
end

Class Method Details

.jsii_propertiesObject



1060
1061
1062
1063
1064
1065
# File 'sam/cfn_api.rb', line 1060

def self.jsii_properties
  {
    :type => "type",
    :vpc_endpoint_ids => "vpcEndpointIds",
  }
end

Instance Method Details

#to_jsiiObject



1067
1068
1069
1070
1071
1072
1073
1074
# File 'sam/cfn_api.rb', line 1067

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