network_interface#
- async idem_aws.exec.aws.ec2.network_interface.get(hub, ctx, name: str = None, resource_id: str = None, filters: List[Dict[str, str]] = None) Dict [source]#
Get a Network Interface resource from AWS. Supply one of the inputs as the filter.
- async idem_aws.exec.aws.ec2.network_interface.list_(hub, ctx, name: str = None, filters: List = None) Dict [source]#
Use an un-managed Network Interface as a data-source. Supply one of the inputs as the filter.
- 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_network_interfaces
- async idem_aws.exec.aws.ec2.network_interface.create(hub, ctx, *, name: str = None, client_token: str = None, subnet_id: str, description: str = None, groups: List[str] = None, interface_type: str = None, primary_ip_address: str = None, private_ip_addresses: List[str] = None, ipv4_address_count: int = None, ipv4_prefix_count: int = None, ipv4_prefixes: List[str] = None, ipv6_addresses: List[str] = None, ipv6_address_count: int = None, ipv6_prefix_count: int = None, ipv6_prefixes: List[str] = None, tags: Dict[str, str] = None, **kwargs)[source]#
Create a Network Interface