Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

AWS.Networking.ENI

Focus mode
AWS.Networking.ENI - AWS Telco Network Builder

A network interface is a logical networking component in a VPC that represents a virtual network card. A network interface is assigned an IP address either automatically or manually based on its subnet. After you deploy an Amazon EC2 instance in a subnet, you can attach a network interface to it, or detach a network interface from that Amazon EC2 instance and reattach to another Amazon EC2 instance in that subnet. The device index identifies the position in the attachment order.

Syntax

tosca.nodes.AWS.Networking.ENI: properties: device_index: Integer source_dest_check: Boolean tags: List requirements: subnet: String security_groups: List

Properties

device_index

The device index must be greater than zero.

Required: Yes

Type: Integer

source_dest_check

Indicates whether the network interface performs source/destination checking. A value of true means that checking is enabled, and false means that checking is disabled.

Allowed value: true, false

Default: true

Required: No

Type: Boolean

tags

The tags to be attached to the resource.

Required: No

Type: List

Requirements

subnet

An AWS.Networking.Subnet node.

Required: Yes

Type: String

security_groups

An AWS.Networking.SecurityGroup node.

Required: No

Type: String

Example

SampleENI: type: tosca.nodes.AWS.Networking.ENI properties: device_index: 5 source_dest_check: true tags: - "Name=SampleVPC" - "Environment=Testing" requirements: subnet: SampleSubnet security_groups: - SampleSecurityGroup01 - SampleSecurityGroup02

On this page

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.