Class NetworkInterfaceArgs


  • public final class NetworkInterfaceArgs
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  NetworkInterfaceArgs.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<com.pulumi.core.Output<java.util.List<NetworkInterfaceAttachmentArgs>>> attachments()  
      static NetworkInterfaceArgs.Builder builder()  
      static NetworkInterfaceArgs.Builder builder​(NetworkInterfaceArgs defaults)  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> interfaceType()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> ipv4PrefixCount()  
      java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> ipv4Prefixes()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> ipv6AddressCount()  
      java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> ipv6Addresses()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> ipv6AddressListEnabled()  
      java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> ipv6AddressLists()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> ipv6PrefixCount()  
      java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> ipv6Prefixes()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> privateIp()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> privateIpListEnabled()  
      java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> privateIpLists()  
      java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> privateIps()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> privateIpsCount()  
      java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> securityGroups()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> sourceDestCheck()  
      com.pulumi.core.Output<java.lang.String> subnetId()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()  
      • Methods inherited from class com.pulumi.resources.ResourceArgs

        validateMember
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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!
      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        Description for the network interface.
      • 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 `interface_type` 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 `ipv6_addresses`. 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 `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 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 `ipv6_address_count`.
      • 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.
      • 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 `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 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 `private_ip_list_enabled` 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 + `private_ips_count`, as a primary private IP will be assiged to an ENI by default.
      • 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 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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.