class
Amazonite::CloudWatch::TagResourceInput
- Amazonite::CloudWatch::TagResourceInput
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
cloudwatch/tag_resource_input.crConstructors
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#resource_arn : String
The ARN of the CloudWatch resource that you're adding tags to.
-
#resource_arn=(resource_arn : String)
The ARN of the CloudWatch resource that you're adding tags to.
-
#tags : Array(Tag)
The list of key-value pairs to associate with the alarm.
-
#tags=(tags : Array(Tag))
The list of key-value pairs to associate with the alarm.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The ARN of the CloudWatch resource that you're adding tags to.
The ARN format of an alarm is arn:aws:cloudwatch:*Region*:*account-id*:alarm:*alarm-name*
The ARN format of a Contributor Insights rule is
arn:aws:cloudwatch:*Region*:*account-id*:insight-rule/*insight-rule-name*
The ARN format of a dashboard is arn:aws:cloudwatch::*account-id*:dashboard/*dashboard-name*
The ARN format of a metric stream is
arn:aws:cloudwatch:*Region*:*account-id*:metric-stream/*metric-stream-name*
For more information about ARN format, see Resource Types Defined by Amazon CloudWatch in the Amazon Web Services General Reference.
The ARN of the CloudWatch resource that you're adding tags to.
The ARN format of an alarm is arn:aws:cloudwatch:*Region*:*account-id*:alarm:*alarm-name*
The ARN format of a Contributor Insights rule is
arn:aws:cloudwatch:*Region*:*account-id*:insight-rule/*insight-rule-name*
The ARN format of a dashboard is arn:aws:cloudwatch::*account-id*:dashboard/*dashboard-name*
The ARN format of a metric stream is
arn:aws:cloudwatch:*Region*:*account-id*:metric-stream/*metric-stream-name*
For more information about ARN format, see Resource Types Defined by Amazon CloudWatch in the Amazon Web Services General Reference.
The list of key-value pairs to associate with the alarm.