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:
- Return type:
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:
name (str, Optional) – The name of the Idem state.
filters (list, Optional) – One or more filters: for example, tag :<key>, tag-key. A complete list of filters can be found at https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ec2.html#EC2.Client.describe_vpc_endpoints
- Return type:
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