Interface CfnVerifiedAccessEndpoint.CidrOptionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVerifiedAccessEndpoint.CidrOptionsProperty.Jsii$Proxy
- Enclosing class:
CfnVerifiedAccessEndpoint
@Stability(Stable)
public static interface CfnVerifiedAccessEndpoint.CidrOptionsProperty
extends software.amazon.jsii.JsiiSerializable
Describes the CIDR options for a Verified Access endpoint.
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.*;
CidrOptionsProperty cidrOptionsProperty = CidrOptionsProperty.builder()
.cidr("cidr")
.portRanges(List.of(PortRangeProperty.builder()
.fromPort(123)
.toPort(123)
.build()))
.protocol("protocol")
.subnetIds(List.of("subnetIds"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVerifiedAccessEndpoint.CidrOptionsPropertystatic final classAn implementation forCfnVerifiedAccessEndpoint.CidrOptionsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCidr
The CIDR.- See Also:
-
getPortRanges
The port ranges.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnVerifiedAccessEndpoint.PortRangeProperty>- See Also:
-
getProtocol
The protocol.- See Also:
-
getSubnetIds
The IDs of the subnets.- See Also:
-
builder
-