Interface CfnEC2FleetPropsMixin.NetworkInterfaceSpecificationRequestProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEC2FleetPropsMixin.NetworkInterfaceSpecificationRequestProperty.Jsii$Proxy
- Enclosing class:
CfnEC2FleetPropsMixin
@Stability(Stable)
public static interface CfnEC2FleetPropsMixin.NetworkInterfaceSpecificationRequestProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.ec2.*;
NetworkInterfaceSpecificationRequestProperty networkInterfaceSpecificationRequestProperty = NetworkInterfaceSpecificationRequestProperty.builder()
.associatePublicIpAddress(false)
.deleteOnTermination(false)
.description("description")
.deviceIndex(123)
.groups(List.of("groups"))
.interfaceType("interfaceType")
.ipv6AddressCount(123)
.ipv6Addresses(List.of(Ipv6AddressRequestProperty.builder()
.ipv6Address("ipv6Address")
.build()))
.networkCardIndex(123)
.networkInterfaceId("networkInterfaceId")
.privateIpAddress("privateIpAddress")
.privateIpAddresses(List.of(PrivateIpAddressSpecificationRequestProperty.builder()
.primary(false)
.privateIpAddress("privateIpAddress")
.build()))
.secondaryPrivateIpAddressCount(123)
.subnetId("subnetId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnEC2FleetPropsMixin.NetworkInterfaceSpecificationRequestProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherBooleanorIResolvabledefault ObjectReturns union: eitherBooleanorIResolvabledefault Stringdefault Numberdefault Stringdefault Numberdefault ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnEC2FleetPropsMixin.Ipv6AddressRequestProperty>default Numberdefault Stringdefault Stringdefault ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnEC2FleetPropsMixin.PrivateIpAddressSpecificationRequestProperty>default Numberdefault StringMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAssociatePublicIpAddress
Returns union: eitherBooleanorIResolvable- See Also:
-
getDeleteOnTermination
Returns union: eitherBooleanorIResolvable- See Also:
-
getDescription
- See Also:
-
getDeviceIndex
- See Also:
-
getGroups
- See Also:
-
getInterfaceType
- See Also:
-
getIpv6AddressCount
- See Also:
-
getIpv6Addresses
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnEC2FleetPropsMixin.Ipv6AddressRequestProperty>- See Also:
-
getNetworkCardIndex
- See Also:
-
getNetworkInterfaceId
- See Also:
-
getPrivateIpAddress
- See Also:
-
getPrivateIpAddresses
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnEC2FleetPropsMixin.PrivateIpAddressSpecificationRequestProperty>- See Also:
-
getSecondaryPrivateIpAddressCount
- See Also:
-
getSubnetId
- See Also:
-
builder
@Stability(Stable) static CfnEC2FleetPropsMixin.NetworkInterfaceSpecificationRequestProperty.Builder builder()
-