Class: AWSCDK::Interfaces::AWSControltower::LandingZoneReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_controltower/landing_zone_reference.rb

Overview

A reference to a LandingZone resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(landing_zone_arn:, landing_zone_identifier:) ⇒ LandingZoneReference

Returns a new instance of LandingZoneReference.

Parameters:

  • landing_zone_arn (String)

    The ARN of the LandingZone resource.

  • landing_zone_identifier (String)

    The LandingZoneIdentifier of the LandingZone resource.



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_arnString (readonly)

The ARN of the LandingZone resource.

Returns:

  • (String)


19
20
21
# File 'interfaces/aws_controltower/landing_zone_reference.rb', line 19

def landing_zone_arn
  @landing_zone_arn
end

#landing_zone_identifierString (readonly)

The LandingZoneIdentifier of the LandingZone resource.

Returns:

  • (String)


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_propertiesObject



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_jsiiObject



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