hosted_zone#

async idem_aws.exec.aws.route53.hosted_zone.get(hub, ctx, name: str, resource_id: str)[source]#

Provides details about a specific hosted_zone as a data-source.

Parameters:
  • name (str) – The name of the Idem state.

  • resource_id (str) – AWS Hosted Zone id to identify the resource.

Return type:

Dict[bool, list, dict or None]

Examples

Calling this exec module function from the cli with resource_id

idem exec aws.route53.hosted_zone.get name="idem_name" resource_id="resource_id"

Using in a state:

my_unmanaged_resource:
  exec.run:
    - path: aws.route53.hosted_zone.get
    - kwargs:
        name: my_resource
        resource_id: resource_id
async idem_aws.exec.aws.route53.hosted_zone.list_(hub, ctx, hosted_zone_name: str = None, private_zone: bool = None, vpc_id: str = None, tags: Dict[str, Any] = None, resource_id: str = None)[source]#
Parameters:
  • hosted_zone_name (str, Optional) – The domain name of hosted_zone

  • private_zone (bool, Optional) – Bool argument to specify a private hosted_zone. One of the filter option for hosted_zone

  • vpc_id (str, Optional) – The vpc_id associated with the hosted_zone.One of the filter option for hosted_zone

  • tags (dict, Optional) – Tags of the hosted_zone. One of the filter option for hosted_zone

  • resource_id (str, Optional) – AWS Hosted Zone id to identify the resource.

Return type:

Dict[bool, list, dict or None]

Examples

Calling this exec module function from the cli

idem exec aws.route53.hosted_zone.list hosted_zone_name="my_hosted_zone"

Using in a state:

my_unmanaged_resource:
  exec.run:
    - path: aws.route53.hosted_zone.list
    - kwargs:
        hosted_zone_name: my_hosted_zone