Interface CfnNetworkProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnNetworkProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:15.756Z")
@Stability(Stable)
public interface CfnNetworkProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnNetwork.
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.medialive.*;
CfnNetworkProps cfnNetworkProps = CfnNetworkProps.builder()
.ipPools(List.of(IpPoolProperty.builder()
.cidr("cidr")
.build()))
.name("name")
// the properties below are optional
.routes(List.of(RouteProperty.builder()
.cidr("cidr")
.gateway("gateway")
.build()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnNetworkPropsstatic final classAn implementation forCfnNetworkProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnNetworkProps.Builderbuilder()The list of IP address cidr pools for the network.getName()The user-specified name of the Network to be created.default ObjectThe routes for the network.getTags()A collection of key-value pairs.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIpPools
The list of IP address cidr pools for the network.- See Also:
-
getName
The user-specified name of the Network to be created.- See Also:
-
getRoutes
The routes for the network.- See Also:
-
getTags
A collection of key-value pairs.- See Also:
-
builder
- Returns:
- a
CfnNetworkProps.BuilderofCfnNetworkProps
-