Amazon EC2 Auto Scaling · JSON Structure

Ec2 Auto Scaling Policy Arn Type Structure

Contains the output of PutScalingPolicy.

Type: object Properties: 2
Amazon Web ServicesAuto ScalingComputeEC2High AvailabilityScaling

PolicyARNType is a JSON Structure definition published by Amazon EC2 Auto Scaling, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

PolicyARN Alarms

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-policy-arn-type-structure.json",
  "name": "PolicyARNType",
  "description": "Contains the output of PutScalingPolicy.",
  "type": "object",
  "properties": {
    "PolicyARN": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ResourceName"
        },
        {
          "description": "The Amazon Resource Name (ARN) of the policy."
        }
      ]
    },
    "Alarms": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Alarms"
        },
        {
          "description": "The CloudWatch alarms created for the target tracking scaling policy."
        }
      ]
    }
  },
  "example": {
    "Alarms": [
      {
        "AlarmARN": "arn:aws:cloudwatch:us-west-2:123456789012:alarm:TargetTracking-my-asg-AlarmHigh-fc0e4183-23ac-497e-9992-691c9980c38e",
        "AlarmName": "TargetTracking-my-asg-AlarmHigh-fc0e4183-23ac-497e-9992-691c9980c38e"
      },
      {
        "AlarmARN": "arn:aws:cloudwatch:us-west-2:123456789012:alarm:TargetTracking-my-asg-AlarmLow-61a39305-ed0c-47af-bd9e-471a352ee1a2",
        "AlarmName": "TargetTracking-my-asg-AlarmLow-61a39305-ed0c-47af-bd9e-471a352ee1a2"
      }
    ],
    "PolicyARN": "arn:aws:autoscaling:us-west-2:123456789012:scalingPolicy:228f02c2-c665-4bfd-aaac-8b04080bea3c:autoScalingGroupName/my-auto-scaling-group:policyName/alb1000-target-tracking-scaling-policy"
  }
}