vpc_endpoint#

async idem_aws.exec.aws.ec2.vpc_endpoint.get(hub, ctx, name, resource_id: str) Dict[source]#

Use an un-managed vpc_endpoint as a data-source. Supply resource_id as a filter.

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

  • resource_id (str) – An AWS vpc_endpoint resource_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.ec2.vpc_endpoint.get name="idem_name" resource_id="resource_id"

Using in a state:

my_unmanaged_resource:
  exec.run:
    - path: aws.ec2.vpc_endpoint.get
    - kwargs:
        name: my_resource
        resource_id: resource_id
async idem_aws.exec.aws.ec2.vpc_endpoint.list_(hub, ctx, name: str = None, filters=None) Dict[source]#

Use an un-managed VPC Endpoints as a data-source.

Parameters:
Return type:

Dict[bool, list, dict or None]

Examples

Calling this exec module function from the cli

idem exec aws.ec2.vpc_endpoint.list name="idem_name"

Using in a state:

my_unmanaged_resource:
  exec.run:
    - path: aws.ec2.vpc_endpoint.list
    - kwargs:
        name: my_resource