AmazonUpdateAutoScalingGroupsParameters Object

Description

Parameters for the Amazon Update Auto Scaling Groups action.

Properties

credentialIds

Registered credentials to use with the action. One and only one credential must be specified.

Type: Array of string

Required: Yes

desiredSize

Desired number of EC2 instances for the Auto Scaling group.

Type: integer

Required: No

groupNameComparisons

List of comparisons to use when identifying Auto Scaling groups by their name. Cannot be specified if groupNames is specified.

Type: Array of AmazonAutoScalingGroupNameComparison

Required: No

groupNames

Names of the Auto Scaling groups to update.

Type: Array of string

Required: No

launchConfigurationName

Name of the launch configuration to assign to the Auto Scaling group.

Type: string

Required: No

launchTemplateId

ID of the launch template to assign to the Auto Scaling group.

Type: string

Required: No

launchTemplateName

Name of the launch template to assign to the Auto Scaling group.

Type: string

Required: No

launchTemplateVersion

Version of the launch template to assign to the Auto Scaling group.

Type: string

Required: No

maxSize

Maximum number of EC2 instances for the Auto Scaling group.

Type: integer

Required: No

minSize

Minimum number of EC2 instances for the Auto Scaling group.

Type: integer

Required: No

regionNames

Regions to use with the action. Omit or specify null to include "all regions".

Type: Array of string

Required: No

resourceTagComparisons

List of resource tag comparisons to use when matching Auto Scaling groups.

Type: List of ResourceTagComparison objects.

Required: No

restoreTimeInSeconds

Time (in seconds) after which the Auto Scaling groups will be restored to their original settings.

Type: integer

Required: No

Sample JSON

{
    "credentialIds": [
        "cred-00000001"
    ],
    "regionNames": [
        "us-east-1"
    ],

    "groupNames": [
        "group-1"
    ],
            
    "minSize": 0,
    "desiredSize": 0,

    "revertTimeInSeconds": 43200
}

Last updated