InstanceSecondaryNetworkInterface class
Constructors
-
InstanceSecondaryNetworkInterface({Input<bool?>? deleteOnTermination, Input<int?>? deviceIndex, Input<String?>? interfaceType, Input<String?>? macAddress, required Input<int> networkCardIndex, Input<int?>? privateIpAddressCount, Input<List<String>?>? privateIpAddresses, Input<String?>? secondaryInterfaceId, Input<String?>? secondaryNetworkId, required Input<String> secondarySubnetId, Input<bool?>? sourceDestCheck, Input<String?>? status})
-
Creates a new InstanceSecondaryNetworkInterface.
deleteOnTermination Whether the network interface should be destroyed when the instance is terminated. Defaults to true. Forces replacement.
deviceIndex Device index for the network interface attachment. Defaults to 0. Forces replacement.
interfaceType Type of network interface. Currently only secondary is supported. Defaults to secondary. Forces replacement.
macAddress Optional.
networkCardIndex Network card index for the interface. Each network card can have one secondary interface. Forces replacement.
privateIpAddressCount Number of private IP addresses to assign to the network interface. Defaults to 1. Forces replacement.
privateIpAddresses 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 Optional.
secondaryNetworkId Optional.
secondarySubnetId ID of the secondary subnet in which to create the network interface. Forces replacement.
sourceDestCheck 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 Optional.
const
-
InstanceSecondaryNetworkInterface.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
deleteOnTermination
→ Input<bool?>?
-
Whether the network interface should be destroyed when the instance is terminated. Defaults to
true. Forces replacement.
final
-
deviceIndex
→ Input<int?>?
-
Device index for the network interface attachment. Defaults to
0. Forces replacement.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
interfaceType
→ Input<String?>?
-
Type of network interface. Currently only
secondary is supported. Defaults to secondary. Forces replacement.
final
-
macAddress
→ Input<String?>?
-
final
-
networkCardIndex
→ Input<int>
-
Network card index for the interface. Each network card can have one secondary interface. Forces replacement.
final
-
privateIpAddressCount
→ Input<int?>?
-
Number of private IP addresses to assign to the network interface. Defaults to
1. Forces replacement.
final
-
privateIpAddresses
→ Input<List<String>?>?
-
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.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
secondaryInterfaceId
→ Input<String?>?
-
final
-
secondaryNetworkId
→ Input<String?>?
-
final
-
secondarySubnetId
→ Input<String>
-
ID of the secondary subnet in which to create the network interface. Forces replacement.
final
-
sourceDestCheck
→ Input<bool?>?
-
Controls if traffic is routed to the instance when the destination address does not match the instance. Used for NAT or VPNs. Defaults true.
final
-
status
→ Input<String?>?
-
final