Package com.pulumi.aws.ec2.outputs
Class InstanceSecondaryNetworkInterface
- java.lang.Object
-
- com.pulumi.aws.ec2.outputs.InstanceSecondaryNetworkInterface
-
public final class InstanceSecondaryNetworkInterface extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInstanceSecondaryNetworkInterface.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstanceSecondaryNetworkInterface.Builderbuilder()static InstanceSecondaryNetworkInterface.Builderbuilder(InstanceSecondaryNetworkInterface defaults)java.util.Optional<java.lang.Boolean>deleteOnTermination()java.util.Optional<java.lang.Integer>deviceIndex()java.util.Optional<java.lang.String>interfaceType()java.util.Optional<java.lang.String>macAddress()java.lang.IntegernetworkCardIndex()java.util.Optional<java.lang.Integer>privateIpAddressCount()java.util.List<java.lang.String>privateIpAddresses()java.util.Optional<java.lang.String>secondaryInterfaceId()java.util.Optional<java.lang.String>secondaryNetworkId()java.lang.StringsecondarySubnetId()java.util.Optional<java.lang.Boolean>sourceDestCheck()java.util.Optional<java.lang.String>status()
-
-
-
Method Detail
-
deleteOnTermination
public java.util.Optional<java.lang.Boolean> deleteOnTermination()
- Returns:
- Whether the network interface should be destroyed when the instance is terminated. Defaults to `true`. Forces replacement.
-
deviceIndex
public java.util.Optional<java.lang.Integer> deviceIndex()
- Returns:
- Device index for the network interface attachment. Defaults to `0`. Forces replacement.
-
interfaceType
public java.util.Optional<java.lang.String> interfaceType()
- Returns:
- Type of network interface. Currently only `secondary` is supported. Defaults to `secondary`. Forces replacement.
-
macAddress
public java.util.Optional<java.lang.String> macAddress()
-
networkCardIndex
public java.lang.Integer networkCardIndex()
- Returns:
- Network card index for the interface. Each network card can have one secondary interface. Forces replacement.
-
privateIpAddressCount
public java.util.Optional<java.lang.Integer> privateIpAddressCount()
- Returns:
- Number of private IP addresses to assign to the network interface. Defaults to `1`. Forces replacement.
-
privateIpAddresses
public java.util.List<java.lang.String> privateIpAddresses()
- Returns:
- List of private IP addresses to assign to the network interface. If not specified, AWS will automatically assign IP addresses based on `privateIpAddressCount`. Forces replacement.
-
secondaryInterfaceId
public java.util.Optional<java.lang.String> secondaryInterfaceId()
-
secondaryNetworkId
public java.util.Optional<java.lang.String> secondaryNetworkId()
-
secondarySubnetId
public java.lang.String secondarySubnetId()
- Returns:
- ID of the secondary subnet in which to create the network interface. Forces replacement.
-
sourceDestCheck
public java.util.Optional<java.lang.Boolean> sourceDestCheck()
- Returns:
- Controls if traffic is routed to the instance when the destination address does not match the instance. Used for NAT or VPNs. Defaults true.
-
status
public java.util.Optional<java.lang.String> status()
-
builder
public static InstanceSecondaryNetworkInterface.Builder builder()
-
builder
public static InstanceSecondaryNetworkInterface.Builder builder(InstanceSecondaryNetworkInterface defaults)
-
-