Class: AWSCDK::Interfaces::AWSRoute53Recoveryreadiness::CellReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSRoute53Recoveryreadiness::CellReference
- Defined in:
- interfaces/aws_route53_recoveryreadiness/cell_reference.rb
Overview
A reference to a Cell resource.
Instance Attribute Summary collapse
-
#cell_arn ⇒ String
readonly
The ARN of the Cell resource.
-
#cell_name ⇒ String
readonly
The CellName of the Cell resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cell_arn:, cell_name:) ⇒ CellReference
constructor
A new instance of CellReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(cell_arn:, cell_name:) ⇒ CellReference
Returns a new instance of CellReference.
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_arn ⇒ String (readonly)
The ARN of the Cell resource.
19 20 21 |
# File 'interfaces/aws_route53_recoveryreadiness/cell_reference.rb', line 19 def cell_arn @cell_arn end |
#cell_name ⇒ String (readonly)
The CellName of the Cell resource.
23 24 25 |
# File 'interfaces/aws_route53_recoveryreadiness/cell_reference.rb', line 23 def cell_name @cell_name end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |