Class: AWSCDK::SAM::CfnAPI::EndpointConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SAM::CfnAPI::EndpointConfigurationProperty
- Defined in:
- sam/cfn_api.rb
Overview
Instance Attribute Summary collapse
- #type ⇒ String? readonly
- #vpc_endpoint_ids ⇒ Array<String>? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type: nil, vpc_endpoint_ids: nil) ⇒ EndpointConfigurationProperty
constructor
A new instance of EndpointConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(type: nil, vpc_endpoint_ids: nil) ⇒ EndpointConfigurationProperty
Returns a new instance of EndpointConfigurationProperty.
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
#type ⇒ String? (readonly)
1055 1056 1057 |
# File 'sam/cfn_api.rb', line 1055 def type @type end |
#vpc_endpoint_ids ⇒ Array<String>? (readonly)
1058 1059 1060 |
# File 'sam/cfn_api.rb', line 1058 def vpc_endpoint_ids @vpc_endpoint_ids end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |