You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeStarNotifications::Types::TagResourceRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing TagResourceRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  arn: "NotificationRuleArn", # required
  tags: { # required
    "TagKey" => "TagValue",
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the notification rule to tag.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the notification rule to tag.

#tagsHash<String,String>

The list of tags to associate with the resource. Tag key names cannot start with \"aws\".

Returns:

  • (Hash<String,String>)

    The list of tags to associate with the resource.