pulumi_wasm_providers_aws_mini::ec2::network_interface

Struct NetworkInterfaceResult

source
pub struct NetworkInterfaceResult {
Show 27 fields pub arn: Output<String>, pub attachments: Output<Vec<NetworkInterfaceAttachment>>, pub description: Output<Option<String>>, pub enable_primary_ipv6: Output<bool>, pub interface_type: Output<String>, pub ipv4_prefix_count: Output<i32>, pub ipv4_prefixes: Output<Vec<String>>, pub ipv6_address_count: Output<i32>, pub ipv6_address_list_enabled: Output<Option<bool>>, pub ipv6_address_lists: Output<Vec<String>>, pub ipv6_addresses: Output<Vec<String>>, pub ipv6_prefix_count: Output<i32>, pub ipv6_prefixes: Output<Vec<String>>, pub mac_address: Output<String>, pub outpost_arn: Output<String>, pub owner_id: Output<String>, pub private_dns_name: Output<String>, pub private_ip: Output<String>, pub private_ip_list_enabled: Output<Option<bool>>, pub private_ip_lists: Output<Vec<String>>, pub private_ips: Output<Vec<String>>, pub private_ips_count: Output<i32>, pub security_groups: Output<Vec<String>>, pub source_dest_check: Output<Option<bool>>, pub subnet_id: Output<String>, pub tags: Output<Option<HashMap<String, String>>>, pub tags_all: Output<HashMap<String, String>>,
}

Fields§

§arn: Output<String>

ARN of the network interface.

§attachments: Output<Vec<NetworkInterfaceAttachment>>

Configuration block to define the attachment of the ENI. See Attachment below for more details!

§description: Output<Option<String>>

Description for the network interface.

§enable_primary_ipv6: Output<bool>

Enables assigning a primary IPv6 Global Unicast Address (GUA) to the network interface (ENI) in dual-stack or IPv6-only subnets. This ensures the instance attached to the ENI retains a consistent IPv6 address. Once enabled, the first IPv6 GUA becomes the primary IPv6 address and cannot be disabled. The primary IPv6 address remains assigned until the instance is terminated or the ENI is detached. Enabling and subsequent disabling forces recreation of the ENI.

§interface_type: Output<String>

Type of network interface to create. Set to efa for Elastic Fabric Adapter. Changing interface_type will cause the resource to be destroyed and re-created.

§ipv4_prefix_count: Output<i32>

Number of IPv4 prefixes that AWS automatically assigns to the network interface.

§ipv4_prefixes: Output<Vec<String>>

One or more IPv4 prefixes assigned to the network interface.

§ipv6_address_count: Output<i32>

Number of IPv6 addresses to assign to a network interface. You can’t use this option if specifying specific ipv6_addresses. If your subnet has the AssignIpv6AddressOnCreation attribute set to true, you can specify 0 to override this setting.

§ipv6_address_list_enabled: Output<Option<bool>>

Whether ipv6_address_list is allowed and controls the IPs to assign to the ENI and ipv6_addresses and ipv6_address_count become read-only. Default is false.

§ipv6_address_lists: Output<Vec<String>>

List of private IPs to assign to the ENI in sequential order.

§ipv6_addresses: Output<Vec<String>>

One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. Addresses are assigned without regard to order. You can’t use this option if you’re specifying ipv6_address_count.

§ipv6_prefix_count: Output<i32>

Number of IPv6 prefixes that AWS automatically assigns to the network interface.

§ipv6_prefixes: Output<Vec<String>>

One or more IPv6 prefixes assigned to the network interface.

§mac_address: Output<String>

MAC address of the network interface.

§outpost_arn: Output<String>§owner_id: Output<String>

AWS account ID of the owner of the network interface.

§private_dns_name: Output<String>

Private DNS name of the network interface (IPv4).

§private_ip: Output<String>§private_ip_list_enabled: Output<Option<bool>>

Whether private_ip_list is allowed and controls the IPs to assign to the ENI and private_ips and private_ips_count become read-only. Default is false.

§private_ip_lists: Output<Vec<String>>

List of private IPs to assign to the ENI in sequential order. Requires setting private_ip_list_enabled to true.

§private_ips: Output<Vec<String>>

List of private IPs to assign to the ENI without regard to order.

§private_ips_count: Output<i32>

Number of secondary private IPs to assign to the ENI. The total number of private IPs will be 1 + private_ips_count, as a primary private IP will be assiged to an ENI by default.

§security_groups: Output<Vec<String>>

List of security group IDs to assign to the ENI.

§source_dest_check: Output<Option<bool>>

Whether to enable source destination checking for the ENI. Default true.

§subnet_id: Output<String>

Subnet ID to create the ENI in.

The following arguments are optional:

§tags: Output<Option<HashMap<String, String>>>

Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

§tags_all: Output<HashMap<String, String>>

Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.