Parameters for the Amazon Change EC2 Instances action.
Registered credentials to use with the action. One and only one credential must be specified.
Type: Array of string
Required: Yes
deregisterFromLoadBalancers
Indicates whether to deregister from load balancers when stopping the EC2 instance.
Type: string
Valid Values:
Required: Yes
Instance IDs of the EC2 instances which will be changed. Required when instanceIdentificationMethod is by-instance-id.
Type: Array of string
Required: Conditional
instanceNameComparison
Comparison to use when identifying EC2 instances by Name tag. Required when instanceIdentificationMethod is by-instance-name-tag.
Type: InstanceNameComparison object.
Required: Conditional
instanceIdentificationMethod
Method of identifying the EC2 instances.
Type: string
Valid Values:
Required: Yes
New instance type for the EC2 instances.
Type: string
Required: No
New flag indicating whether the EC2 instances are EBS-optimized or not.
Type: boolean
Required: No
isEnableTerminationProtection
New flag indicating whether the EC2 instances should have termination protection enabled.
Type: boolean
Required: No
Regions to use with the action. One and only one region must be specified.
Type: Array of string
Required: Yes
resourceTagComparison
Comparison to use when identifying instances by resource tag. Required when instanceIdentificationMethod is by-resource-tag.
Type: ResourceTagComparison object.
Required: Conditional
revertTimeInSeconds
Time (in seconds) after which the EC2 instances will be reverted to their original settings.
Type: integer
Required: No