Class: AWSCDK::Interfaces::AWSEC2::VPCEndpointReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSEC2::VPCEndpointReference
- Defined in:
- interfaces/awsec2/vpc_endpoint_reference.rb
Overview
A reference to a VPCEndpoint resource.
Instance Attribute Summary collapse
-
#vpc_endpoint_id ⇒ String
readonly
The Id of the VPCEndpoint resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(vpc_endpoint_id:) ⇒ VPCEndpointReference
constructor
A new instance of VPCEndpointReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(vpc_endpoint_id:) ⇒ VPCEndpointReference
Returns a new instance of VPCEndpointReference.
8 9 10 11 |
# File 'interfaces/awsec2/vpc_endpoint_reference.rb', line 8 def initialize(vpc_endpoint_id:) @vpc_endpoint_id = vpc_endpoint_id Jsii::Type.check_type(@vpc_endpoint_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vpcEndpointId") end |
Instance Attribute Details
#vpc_endpoint_id ⇒ String (readonly)
The Id of the VPCEndpoint resource.
16 17 18 |
# File 'interfaces/awsec2/vpc_endpoint_reference.rb', line 16 def vpc_endpoint_id @vpc_endpoint_id end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/awsec2/vpc_endpoint_reference.rb', line 18 def self.jsii_properties { :vpc_endpoint_id => "vpcEndpointId", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/awsec2/vpc_endpoint_reference.rb', line 24 def to_jsii result = {} result.merge!({ "vpcEndpointId" => @vpc_endpoint_id, }) result.compact end |