Class NetworkInterfaceState


  • public final class NetworkInterfaceState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • arn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
        Returns:
        ARN of the network interface.
      • attachments

        public java.util.Optional<com.pulumi.core.Output<java.util.List<NetworkInterfaceAttachmentArgs>>> attachments()
        Returns:
        Configuration block to define the attachment of the ENI. See Attachment below for more details!
      • connectionTrackingSpecification

        public java.util.Optional<com.pulumi.core.Output<NetworkInterfaceConnectionTrackingSpecificationArgs>> connectionTrackingSpecification()
        Returns:
        Configures the [connection tracking timeouts](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts) for the network interface. See Connection Tracking Specification below for more details.
      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        Description for the network interface.
      • enaSrdSpecification

        public java.util.Optional<com.pulumi.core.Output<NetworkInterfaceEnaSrdSpecificationArgs>> enaSrdSpecification()
        Returns:
        Configures ENA Express for the network interface. The ENI must be attached to an instance to configure ENA Express. See ENA SRD Specification below for more details.
      • enablePrimaryIpv6

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enablePrimaryIpv6()
        Returns:
        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.
      • interfaceType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> interfaceType()
        Returns:
        Type of network interface to create. Set to `efa` for Elastic Fabric Adapter. Changing `interfaceType` will cause the resource to be destroyed and re-created.
      • ipv4PrefixCount

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> ipv4PrefixCount()
        Returns:
        Number of IPv4 prefixes that AWS automatically assigns to the network interface.
      • ipv4Prefixes

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> ipv4Prefixes()
        Returns:
        One or more IPv4 prefixes assigned to the network interface.
      • ipv6AddressCount

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> ipv6AddressCount()
        Returns:
        Number of IPv6 addresses to assign to a network interface. You can't use this option if specifying specific `ipv6Addresses`. If your subnet has the AssignIpv6AddressOnCreation attribute set to `true`, you can specify `0` to override this setting.
      • ipv6AddressListEnabled

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> ipv6AddressListEnabled()
        Returns:
        Whether `ipv6AddressList` is allowed and controls the IPs to assign to the ENI and `ipv6Addresses` and `ipv6AddressCount` become read-only. Default is `false`.
      • ipv6AddressLists

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> ipv6AddressLists()
        Returns:
        List of private IPs to assign to the ENI in sequential order.
      • ipv6Addresses

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> ipv6Addresses()
        Returns:
        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 `ipv6AddressCount`.
      • ipv6PrefixCount

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> ipv6PrefixCount()
        Returns:
        Number of IPv6 prefixes that AWS automatically assigns to the network interface.
      • ipv6Prefixes

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> ipv6Prefixes()
        Returns:
        One or more IPv6 prefixes assigned to the network interface.
      • macAddress

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> macAddress()
        Returns:
        MAC address of the network interface.
      • outpostArn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> outpostArn()
      • ownerId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ownerId()
        Returns:
        AWS account ID of the owner of the network interface.
      • privateDnsName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> privateDnsName()
        Returns:
        Private DNS name of the network interface (IPv4).
      • privateIp

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> privateIp()
      • privateIpListEnabled

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> privateIpListEnabled()
        Returns:
        Whether `privateIpList` is allowed and controls the IPs to assign to the ENI and `privateIps` and `privateIpsCount` become read-only. Default is `false`.
      • privateIpLists

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> privateIpLists()
        Returns:
        List of private IPs to assign to the ENI in sequential order. Requires setting `privateIpListEnabled` to `true`.
      • privateIps

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> privateIps()
        Returns:
        List of private IPs to assign to the ENI without regard to order.
      • privateIpsCount

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> privateIpsCount()
        Returns:
        Number of secondary private IPs to assign to the ENI. The total number of private IPs will be 1 + `privateIpsCount`, as a primary private IP will be assigned to an ENI by default.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • securityGroups

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> securityGroups()
        Returns:
        List of security group IDs to assign to the ENI.
      • sourceDestCheck

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> sourceDestCheck()
        Returns:
        Whether to enable source destination checking for the ENI. Default true.
      • subnetId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> subnetId()
        Returns:
        Subnet ID to create the ENI in. The following arguments are optional:
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
      • tagsAll

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tagsAll()
        Returns:
        Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.