Class: AWSCDK::Interfaces::AWSCloudwatch::InsightRuleReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSCloudwatch::InsightRuleReference
- Defined in:
- interfaces/aws_cloudwatch/insight_rule_reference.rb
Overview
A reference to a InsightRule resource.
Instance Attribute Summary collapse
-
#insight_rule_arn ⇒ String
readonly
The Arn of the InsightRule resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(insight_rule_arn:) ⇒ InsightRuleReference
constructor
A new instance of InsightRuleReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(insight_rule_arn:) ⇒ InsightRuleReference
Returns a new instance of InsightRuleReference.
8 9 10 11 |
# File 'interfaces/aws_cloudwatch/insight_rule_reference.rb', line 8 def initialize(insight_rule_arn:) @insight_rule_arn = insight_rule_arn Jsii::Type.check_type(@insight_rule_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "insightRuleArn") end |
Instance Attribute Details
#insight_rule_arn ⇒ String (readonly)
The Arn of the InsightRule resource.
16 17 18 |
# File 'interfaces/aws_cloudwatch/insight_rule_reference.rb', line 16 def insight_rule_arn @insight_rule_arn end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/aws_cloudwatch/insight_rule_reference.rb', line 18 def self.jsii_properties { :insight_rule_arn => "insightRuleArn", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/aws_cloudwatch/insight_rule_reference.rb', line 24 def to_jsii result = {} result.merge!({ "insightRuleArn" => @insight_rule_arn, }) result.compact end |