class Amazonite::CloudWatchLogs::TagResourceRequest

Included Modules

Defined in:

cloudwatch_logs/tag_resource_request.cr

Constructors

Instance Method Summary

Constructor Detail

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

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

[View source]
def self.new(*, __pull_for_json_serializable 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 resource that you're adding tags to.

The ARN format of a log group is arn:aws:logs:*Region*:*account-id*:log-group:*log-group-name*

The ARN format of a destination is arn:aws:logs:*Region*:*account-id*:destination:*destination-name*

For more information about ARN format, see CloudWatch Logs resources and operations.


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

The ARN of the resource that you're adding tags to.

The ARN format of a log group is arn:aws:logs:*Region*:*account-id*:log-group:*log-group-name*

The ARN format of a destination is arn:aws:logs:*Region*:*account-id*:destination:*destination-name*

For more information about ARN format, see CloudWatch Logs resources and operations.


[View source]
def tags : Hash(String, String) #

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


[View source]
def tags=(tags : Hash(String, String)) #

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


[View source]
def validate! : Nil #

[View source]