Interface CfnVerifiedAccessEndpoint.NetworkInterfaceOptionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVerifiedAccessEndpoint.NetworkInterfaceOptionsProperty.Jsii$Proxy
- Enclosing class:
CfnVerifiedAccessEndpoint
@Stability(Stable)
public static interface CfnVerifiedAccessEndpoint.NetworkInterfaceOptionsProperty
extends software.amazon.jsii.JsiiSerializable
Describes the network interface options when creating an AWS Verified Access endpoint using the
network-interface type.
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.*;
NetworkInterfaceOptionsProperty networkInterfaceOptionsProperty = NetworkInterfaceOptionsProperty.builder()
.networkInterfaceId("networkInterfaceId")
.port(123)
.portRanges(List.of(PortRangeProperty.builder()
.fromPort(123)
.toPort(123)
.build()))
.protocol("protocol")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnVerifiedAccessEndpoint.NetworkInterfaceOptionsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNetworkInterfaceId
The ID of the network interface.- See Also:
-
getPort
The IP port number.- See Also:
-
getPortRanges
The port ranges.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnVerifiedAccessEndpoint.PortRangeProperty>- See Also:
-
getProtocol
The IP protocol.- See Also:
-
builder
@Stability(Stable) static CfnVerifiedAccessEndpoint.NetworkInterfaceOptionsProperty.Builder builder()
-