Amazon EC2 Auto Scaling · JSON Structure

Ec2 Auto Scaling Tag Structure

Describes a tag for an Auto Scaling group.

Type: object Properties: 5 Required: 1
Amazon Web ServicesAuto ScalingComputeEC2High AvailabilityScaling

Tag is a JSON Structure definition published by Amazon EC2 Auto Scaling, describing 5 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

ResourceId ResourceType Key Value PropagateAtLaunch

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-ec2-auto-scaling/refs/heads/main/json-structure/ec2-auto-scaling-tag-structure.json",
  "name": "Tag",
  "description": "Describes a tag for an Auto Scaling group.",
  "type": "object",
  "properties": {
    "ResourceId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/XmlString"
        },
        {
          "description": "The name of the Auto Scaling group."
        }
      ]
    },
    "ResourceType": {
      "allOf": [
        {
          "$ref": "#/components/schemas/XmlString"
        },
        {
          "description": "The type of resource. The only supported value is <code>auto-scaling-group</code>."
        }
      ]
    },
    "Key": {
      "allOf": [
        {
          "$ref": "#/components/schemas/TagKey"
        },
        {
          "description": "The tag key."
        }
      ]
    },
    "Value": {
      "allOf": [
        {
          "$ref": "#/components/schemas/TagValue"
        },
        {
          "description": "The tag value."
        }
      ]
    },
    "PropagateAtLaunch": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PropagateAtLaunch"
        },
        {
          "description": "Determines whether the tag is added to new instances as they are launched in the group."
        }
      ]
    }
  },
  "required": [
    "Key"
  ]
}