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