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

Class: Aws::AutoScaling::Types::TagDescription

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb

Overview

Describes a tag for an Auto Scaling group.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The tag key.

Returns:

  • (String)


3929
3930
3931
3932
3933
3934
3935
3936
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3929

class TagDescription < Struct.new(
  :resource_id,
  :resource_type,
  :key,
  :value,
  :propagate_at_launch)
  include Aws::Structure
end

#propagate_at_launchBoolean

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

Returns:

  • (Boolean)


3929
3930
3931
3932
3933
3934
3935
3936
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3929

class TagDescription < Struct.new(
  :resource_id,
  :resource_type,
  :key,
  :value,
  :propagate_at_launch)
  include Aws::Structure
end

#resource_idString

The name of the group.

Returns:

  • (String)


3929
3930
3931
3932
3933
3934
3935
3936
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3929

class TagDescription < Struct.new(
  :resource_id,
  :resource_type,
  :key,
  :value,
  :propagate_at_launch)
  include Aws::Structure
end

#resource_typeString

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

Returns:

  • (String)


3929
3930
3931
3932
3933
3934
3935
3936
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3929

class TagDescription < Struct.new(
  :resource_id,
  :resource_type,
  :key,
  :value,
  :propagate_at_launch)
  include Aws::Structure
end

#valueString

The tag value.

Returns:

  • (String)


3929
3930
3931
3932
3933
3934
3935
3936
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3929

class TagDescription < Struct.new(
  :resource_id,
  :resource_type,
  :key,
  :value,
  :propagate_at_launch)
  include Aws::Structure
end