@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:16.964Z") @Stability(value=Stable) public interface CfnNetworkInterfaceProps 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.services.ec2.*;
CfnNetworkInterfaceProps cfnNetworkInterfaceProps = CfnNetworkInterfaceProps.builder()
.subnetId("subnetId")
// the properties below are optional
.description("description")
.groupSet(List.of("groupSet"))
.interfaceType("interfaceType")
.ipv6AddressCount(123)
.ipv6Addresses(List.of(InstanceIpv6AddressProperty.builder()
.ipv6Address("ipv6Address")
.build()))
.privateIpAddress("privateIpAddress")
.privateIpAddresses(List.of(PrivateIpAddressSpecificationProperty.builder()
.primary(false)
.privateIpAddress("privateIpAddress")
.build()))
.secondaryPrivateIpAddressCount(123)
.sourceDestCheck(false)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnNetworkInterfaceProps.Builder
A builder for
CfnNetworkInterfaceProps |
static class |
CfnNetworkInterfaceProps.Jsii$Proxy
An implementation for
CfnNetworkInterfaceProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnNetworkInterfaceProps.Builder |
builder() |
default String |
getDescription()
`AWS::EC2::NetworkInterface.Description`.
|
default List<String> |
getGroupSet()
`AWS::EC2::NetworkInterface.GroupSet`.
|
default String |
getInterfaceType()
`AWS::EC2::NetworkInterface.InterfaceType`.
|
default Number |
getIpv6AddressCount()
`AWS::EC2::NetworkInterface.Ipv6AddressCount`.
|
default Object |
getIpv6Addresses()
`AWS::EC2::NetworkInterface.Ipv6Addresses`.
|
default String |
getPrivateIpAddress()
`AWS::EC2::NetworkInterface.PrivateIpAddress`.
|
default Object |
getPrivateIpAddresses()
`AWS::EC2::NetworkInterface.PrivateIpAddresses`.
|
default Number |
getSecondaryPrivateIpAddressCount()
`AWS::EC2::NetworkInterface.SecondaryPrivateIpAddressCount`.
|
default Object |
getSourceDestCheck()
`AWS::EC2::NetworkInterface.SourceDestCheck`.
|
String |
getSubnetId()
`AWS::EC2::NetworkInterface.SubnetId`.
|
default List<CfnTag> |
getTags()
`AWS::EC2::NetworkInterface.Tags`.
|
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default List<String> getGroupSet()
@Stability(value=Stable) @Nullable default String getInterfaceType()
@Stability(value=Stable) @Nullable default Number getIpv6AddressCount()
@Stability(value=Stable) @Nullable default Object getIpv6Addresses()
@Stability(value=Stable) @Nullable default String getPrivateIpAddress()
@Stability(value=Stable) @Nullable default Object getPrivateIpAddresses()
@Stability(value=Stable) @Nullable default Number getSecondaryPrivateIpAddressCount()
@Stability(value=Stable) @Nullable default Object getSourceDestCheck()
@Stability(value=Stable) @NotNull String getSubnetId()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnNetworkInterfaceProps.Builder builder()
CfnNetworkInterfaceProps.Builder of CfnNetworkInterfacePropsCopyright © 2021. All rights reserved.