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

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#key ⇒ String

The tag key.

Returns:

  • (String)


8207
8208
8209
8210
8211
8212
8213
8214
8215
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 8207

class Tag < Struct.new(
  :resource_id,
  :resource_type,
  :key,
  :value,
  :propagate_at_launch)
  SENSITIVE = []
  include Aws::Structure
end

#propagate_at_launch ⇒ Boolean

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

Returns:

  • (Boolean)


8207
8208
8209
8210
8211
8212
8213
8214
8215
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 8207

class Tag < Struct.new(
  :resource_id,
  :resource_type,
  :key,
  :value,
  :propagate_at_launch)
  SENSITIVE = []
  include Aws::Structure
end

#resource_id ⇒ String

The name of the Auto Scaling group.

Returns:

  • (String)


8207
8208
8209
8210
8211
8212
8213
8214
8215
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 8207

class Tag < Struct.new(
  :resource_id,
  :resource_type,
  :key,
  :value,
  :propagate_at_launch)
  SENSITIVE = []
  include Aws::Structure
end

#resource_type ⇒ String

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

Returns:

  • (String)


8207
8208
8209
8210
8211
8212
8213
8214
8215
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 8207

class Tag < Struct.new(
  :resource_id,
  :resource_type,
  :key,
  :value,
  :propagate_at_launch)
  SENSITIVE = []
  include Aws::Structure
end

#value ⇒ String

The tag value.

Returns:

  • (String)


8207
8208
8209
8210
8211
8212
8213
8214
8215
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 8207

class Tag < Struct.new(
  :resource_id,
  :resource_type,
  :key,
  :value,
  :propagate_at_launch)
  SENSITIVE = []
  include Aws::Structure
end