elastic_ip#

async idem_aws.exec.aws.ec2.elastic_ip.get(hub, ctx, name: str, resource_id: str = None, filters: List = None, tags: Dict[str, str] = None) Dict[source]#

Get a single Elastic IP address from AWS.

If more than one resource is found, the first resource returned from AWS will be used. The function returns None when no resource is found.

Parameters:
async idem_aws.exec.aws.ec2.elastic_ip.list_(hub, ctx, name: str = None, filters: List = None, tags: Dict[str, str] = None) Dict[source]#

Fetch a list of Elastic IP addresses from AWS.

The function returns empty list when no resource is found.

Parameters: