AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::AutoScaling::Types::Tag

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

Overview

Note:

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

{
  resource_id: "XmlString",
  resource_type: "XmlString",
  key: "TagKey", # required
  value: "TagValue",
  propagate_at_launch: false,
}

Describes a tag for an Auto Scaling group.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The tag key.

Returns:

  • (String)

    The tag key.

#propagate_at_launchBoolean

Determines whether the tag is added to new instances as they are launched in the group.

Returns:

  • (Boolean)

    Determines whether the tag is added to new instances as they are launched in the group.

#resource_idString

The name of the group.

Returns:

  • (String)

    The name of the group.

#resource_typeString

The type of resource. The only supported value is auto-scaling-group.

Returns:

  • (String)

    The type of resource.

#valueString

The tag value.

Returns:

  • (String)

    The tag value.