---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "awscc_ec2_network_interface Data Source - terraform-provider-awscc"
subcategory: ""
description: |-
Data Source schema for AWS::EC2::NetworkInterface
---
# awscc_ec2_network_interface (Data Source)
Data Source schema for AWS::EC2::NetworkInterface
## Schema
### Required
- `id` (String) Uniquely identifies the resource.
### Read-Only
- `description` (String) A description for the network interface.
- `group_set` (List of String) A list of security group IDs associated with this network interface.
- `interface_type` (String) Indicates the type of network interface.
- `ipv_6_address_count` (Number) The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. To specify specific IPv6 addresses, use the Ipv6Addresses property and don't specify this property.
- `ipv_6_addresses` (Attributes Set) One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet to associate with the network interface. If you're specifying a number of IPv6 addresses, use the Ipv6AddressCount property and don't specify this property. (see [below for nested schema](#nestedatt--ipv_6_addresses))
- `primary_private_ip_address` (String) Returns the primary private IP address of the network interface.
- `private_ip_address` (String) Assigns a single private IP address to the network interface, which is used as the primary private IP address. If you want to specify multiple private IP address, use the PrivateIpAddresses property.
- `private_ip_addresses` (Attributes List) Assigns a list of private IP addresses to the network interface. You can specify a primary private IP address by setting the value of the Primary property to true in the PrivateIpAddressSpecification property. If you want EC2 to automatically assign private IP addresses, use the SecondaryPrivateIpAddressCount property and do not specify this property. (see [below for nested schema](#nestedatt--private_ip_addresses))
- `secondary_private_ip_address_count` (Number) The number of secondary private IPv4 addresses to assign to a network interface. When you specify a number of secondary IPv4 addresses, Amazon EC2 selects these IP addresses within the subnet's IPv4 CIDR range. You can't specify this option and specify more than one private IP address using privateIpAddresses
- `secondary_private_ip_addresses` (List of String) Returns the secondary private IP addresses of the network interface.
- `source_dest_check` (Boolean) Indicates whether traffic to or from the instance is validated.
- `subnet_id` (String) The ID of the subnet to associate with the network interface.
- `tags` (Attributes List) An arbitrary set of tags (key-value pairs) for this network interface. (see [below for nested schema](#nestedatt--tags))
### Nested Schema for `ipv_6_addresses`
Read-Only:
- `ipv_6_address` (String)
### Nested Schema for `private_ip_addresses`
Read-Only:
- `primary` (Boolean)
- `private_ip_address` (String)
### Nested Schema for `tags`
Read-Only:
- `key` (String)
- `value` (String)