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