Class: AWSCDK::Interfaces::AWSRoute53Recoveryreadiness::CellReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_route53_recoveryreadiness/cell_reference.rb

Overview

A reference to a Cell resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cell_arn:, cell_name:) ⇒ CellReference

Returns a new instance of CellReference.

Parameters:

  • cell_arn (String)

    The ARN of the Cell resource.

  • cell_name (String)

    The CellName of the Cell resource.



9
10
11
12
13
14
# File 'interfaces/aws_route53_recoveryreadiness/cell_reference.rb', line 9

def initialize(cell_arn:, cell_name:)
  @cell_arn = cell_arn
  Jsii::Type.check_type(@cell_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "cellArn")
  @cell_name = cell_name
  Jsii::Type.check_type(@cell_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "cellName")
end

Instance Attribute Details

#cell_arnString (readonly)

The ARN of the Cell resource.

Returns:

  • (String)


19
20
21
# File 'interfaces/aws_route53_recoveryreadiness/cell_reference.rb', line 19

def cell_arn
  @cell_arn
end

#cell_nameString (readonly)

The CellName of the Cell resource.

Returns:

  • (String)


23
24
25
# File 'interfaces/aws_route53_recoveryreadiness/cell_reference.rb', line 23

def cell_name
  @cell_name
end

Class Method Details

.jsii_propertiesObject



25
26
27
28
29
30
# File 'interfaces/aws_route53_recoveryreadiness/cell_reference.rb', line 25

def self.jsii_properties
  {
    :cell_arn => "cellArn",
    :cell_name => "cellName",
  }
end

Instance Method Details

#to_jsiiObject



32
33
34
35
36
37
38
39
# File 'interfaces/aws_route53_recoveryreadiness/cell_reference.rb', line 32

def to_jsii
  result = {}
  result.merge!({
    "cellArn" => @cell_arn,
    "cellName" => @cell_name,
  })
  result.compact
end