CmdID

CmdID / aws / aws ec2

aws ec2 modify-availability-zone-group

Changes the opt-in status of the specified zone group for your account. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To enable a zone group

The following modify-availability-zone-group example enables the specified zone group.

aws ec2 modify-availability-zone-group --group-name us-west-2-lax-1 --opt-in-status opted-inIdentify
--group-nameThe name of the Availability Zone group, Local Zone group, or Wavelength Zone group.
--opt-in-statusIndicates whether to opt in to the zone group.
Its output
{
    "Return": true
}

For more information, see Regions and Zones in the Amazon EC2 User Guide.

Options

3 in the AWS CLI reference
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.
--group-nameThe name of the Availability Zone group, Local Zone group, or Wavelength Zone group.
--opt-in-statusIndicates whether to opt in to the zone group.