Amazon EC2 Auto Scaling · JSON Structure

Ec2 Auto Scaling Record Lifecycle Action Heartbeat Type Structure

RecordLifecycleActionHeartbeatType schema from Auto Scaling

Type: object Properties: 4 Required: 2
Amazon Web ServicesAuto ScalingComputeEC2High AvailabilityScaling

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

Properties

LifecycleHookName AutoScalingGroupName LifecycleActionToken InstanceId

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-record-lifecycle-action-heartbeat-type-structure.json",
  "name": "RecordLifecycleActionHeartbeatType",
  "description": "RecordLifecycleActionHeartbeatType schema from Auto Scaling",
  "type": "object",
  "properties": {
    "LifecycleHookName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AsciiStringMaxLen255"
        },
        {
          "description": "The name of the lifecycle hook."
        }
      ]
    },
    "AutoScalingGroupName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ResourceName"
        },
        {
          "description": "The name of the Auto Scaling group."
        }
      ]
    },
    "LifecycleActionToken": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LifecycleActionToken"
        },
        {
          "description": "A token that uniquely identifies a specific lifecycle action associated with an instance. Amazon EC2 Auto Scaling sends this token to the notification target that you specified when you created the lifecycle hook."
        }
      ]
    },
    "InstanceId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/XmlStringMaxLen19"
        },
        {
          "description": "The ID of the instance."
        }
      ]
    }
  },
  "required": [
    "LifecycleHookName",
    "AutoScalingGroupName"
  ]
}