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