availability_zones#
- async idem_aws.exec.aws.ec2.availability_zones.get(hub, ctx, name: str = None, resource_id: str = None, all_availability_zones: bool = None, filters: List = None) Dict [source]#
Returns the list of AWS Availability Zones, Local Zones, and Wavelength Zones that are available within the region. The return will be in the same format as what the boto3 api returns.
- Parameters:
name (str, Optional) – The name of the AWS Availability Zone, Local Zone, or Wavelength Zone.
resource_id (str, Optional) – The id of the of the AWS Availability Zone, Local Zone, or Wavelength Zone.
all_availability_zones (bool, Optional) – Indicate whether to include all Availability Zones, Local Zones, and Wavelength Zones regardless of the opt-in status.
filters (list[dict[str, Any]], Optional) – One or more filters. For example: {“Name”: “state”, “Values”: [“available”]}, A complete list of filters can be found at https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ec2.html#EC2.Client.describe_availability_zones
$ idem exec aws.ec2.availability_zones.get name=us-west-2b
- async idem_aws.exec.aws.ec2.availability_zones.list_(hub, ctx, all_availability_zones: bool = None, filters: List = None) Dict [source]#
Returns the list of AWS Availability Zones, Local Zones, and Wavelength Zones that are available within the region. The return will be in the same format as what the boto3 api returns.
- Parameters:
all_availability_zones (bool, Optional) – Indicate whether to include all Availability Zones, Local Zones, and Wavelength Zones regardless of the opt-in status.
filters (list[dict[str, Any]], Optional) – One or more filters. For example: {“Name”: “state”, “Values”: [“available”]}. A complete list of filters can be found at https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ec2.html#EC2.Client.describe_availability_zones
$ idem exec aws.ec2.availability_zones.list all_availability_zones=true