Interface CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty.Jsii$Proxy
Enclosing class:
CfnSpotFleet

@Stability(Stable) public static interface CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty extends software.amazon.jsii.JsiiSerializable
Describes a network interface.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ec2.*;
 InstanceNetworkInterfaceSpecificationProperty instanceNetworkInterfaceSpecificationProperty = InstanceNetworkInterfaceSpecificationProperty.builder()
         .associatePublicIpAddress(false)
         .deleteOnTermination(false)
         .description("description")
         .deviceIndex(123)
         .groups(List.of("groups"))
         .ipv6AddressCount(123)
         .ipv6Addresses(List.of(InstanceIpv6AddressProperty.builder()
                 .ipv6Address("ipv6Address")
                 .build()))
         .networkInterfaceId("networkInterfaceId")
         .privateIpAddresses(List.of(PrivateIpAddressSpecificationProperty.builder()
                 .privateIpAddress("privateIpAddress")
                 // the properties below are optional
                 .primary(false)
                 .build()))
         .secondaryPrivateIpAddressCount(123)
         .subnetId("subnetId")
         .build();
 

See Also: