Class: AWSCDK::Interfaces::AWSControltower::LandingZoneReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSControltower::LandingZoneReference
- Defined in:
- interfaces/aws_controltower/landing_zone_reference.rb
Overview
A reference to a LandingZone resource.
Instance Attribute Summary collapse
-
#landing_zone_arn ⇒ String
readonly
The ARN of the LandingZone resource.
-
#landing_zone_identifier ⇒ String
readonly
The LandingZoneIdentifier of the LandingZone resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(landing_zone_arn:, landing_zone_identifier:) ⇒ LandingZoneReference
constructor
A new instance of LandingZoneReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(landing_zone_arn:, landing_zone_identifier:) ⇒ LandingZoneReference
Returns a new instance of LandingZoneReference.
9 10 11 12 13 14 |
# File 'interfaces/aws_controltower/landing_zone_reference.rb', line 9 def initialize(landing_zone_arn:, landing_zone_identifier:) @landing_zone_arn = landing_zone_arn Jsii::Type.check_type(@landing_zone_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "landingZoneArn") @landing_zone_identifier = landing_zone_identifier Jsii::Type.check_type(@landing_zone_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "landingZoneIdentifier") end |
Instance Attribute Details
#landing_zone_arn ⇒ String (readonly)
The ARN of the LandingZone resource.
19 20 21 |
# File 'interfaces/aws_controltower/landing_zone_reference.rb', line 19 def landing_zone_arn @landing_zone_arn end |
#landing_zone_identifier ⇒ String (readonly)
The LandingZoneIdentifier of the LandingZone resource.
23 24 25 |
# File 'interfaces/aws_controltower/landing_zone_reference.rb', line 23 def landing_zone_identifier @landing_zone_identifier end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/aws_controltower/landing_zone_reference.rb', line 25 def self.jsii_properties { :landing_zone_arn => "landingZoneArn", :landing_zone_identifier => "landingZoneIdentifier", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/aws_controltower/landing_zone_reference.rb', line 32 def to_jsii result = {} result.merge!({ "landingZoneArn" => @landing_zone_arn, "landingZoneIdentifier" => @landing_zone_identifier, }) result.compact end |