class Amazonite::CloudWatch::TagResourceInput

Included Modules

Defined in:

cloudwatch/tag_resource_input.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(resource_arn : String, tags : Array(Tag)) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def resource_arn : String #

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.


[View source]
def resource_arn=(resource_arn : String) #

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.


[View source]
def tags : Array(Tag) #

The list of key-value pairs to associate with the alarm.


[View source]
def tags=(tags : Array(Tag)) #

The list of key-value pairs to associate with the alarm.


[View source]
def validate! : Nil #

[View source]