Class: AWSCDK::Interfaces::AWSCases::LayoutReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_cases/layout_reference.rb

Overview

A reference to a Layout resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(layout_arn:) ⇒ LayoutReference

Returns a new instance of LayoutReference.

Parameters:

  • layout_arn (String)

    The LayoutArn of the Layout resource.



8
9
10
11
# File 'interfaces/aws_cases/layout_reference.rb', line 8

def initialize(layout_arn:)
  @layout_arn = layout_arn
  Jsii::Type.check_type(@layout_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "layoutArn")
end

Instance Attribute Details

#layout_arnString (readonly)

The LayoutArn of the Layout resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/aws_cases/layout_reference.rb', line 16

def layout_arn
  @layout_arn
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/aws_cases/layout_reference.rb', line 18

def self.jsii_properties
  {
    :layout_arn => "layoutArn",
  }
end

Instance Method Details

#to_jsiiObject



24
25
26
27
28
29
30
# File 'interfaces/aws_cases/layout_reference.rb', line 24

def to_jsii
  result = {}
  result.merge!({
    "layoutArn" => @layout_arn,
  })
  result.compact
end