Class Network
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.medialive.alpha.Network
- All Implemented Interfaces:
IEnvironmentAware,INetworkRef,IResource,INetwork,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:41.288Z")
@Stability(Experimental)
public class Network
extends Resource
implements INetwork
(experimental) Defines an AWS Elemental MediaLive Network.
A network represents a collection of IP address pools and routes used by MediaLive Anywhere resources.
Example:
Stack stack;
Network network = Network.Builder.create(stack, "Network")
.networkName("on-prem-network")
.ipPools(List.of("10.0.0.0/24"))
.routes(List.of(NetworkRoute.builder().cidr("0.0.0.0/0").gateway("10.0.0.1").build()))
.build();
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.medialive.alpha.INetwork
INetwork.Jsii$Default, INetwork.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String(experimental) Uniquely identifies this class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNetwork(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedNetwork(software.amazon.jsii.JsiiObjectRef objRef) Network(software.constructs.Construct scope, String id, NetworkProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic INetworkfromNetworkAttributes(software.constructs.Construct scope, String id, NetworkAttributes attrs) (experimental) Import an existing network by its attributes.(experimental) The ARN of the network.(experimental) The ID of the network.(experimental) A reference to this Network resource.Methods inherited from class software.amazon.awscdk.Resource
applyCrossStackReferenceStrength, applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResource, withMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
(experimental) Uniquely identifies this class.
-
-
Constructor Details
-
Network
protected Network(software.amazon.jsii.JsiiObjectRef objRef) -
Network
protected Network(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
Network
@Stability(Experimental) public Network(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull NetworkProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-
-
Method Details
-
fromNetworkAttributes
@Stability(Experimental) @NotNull public static INetwork fromNetworkAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull NetworkAttributes attrs) (experimental) Import an existing network by its attributes.- Parameters:
scope- This parameter is required.id- This parameter is required.attrs- This parameter is required.
-
getNetworkArn
(experimental) The ARN of the network.- Specified by:
getNetworkArnin interfaceINetwork
-
getNetworkId
(experimental) The ID of the network.- Specified by:
getNetworkIdin interfaceINetwork
-
getNetworkRef
(experimental) A reference to this Network resource.- Specified by:
getNetworkRefin interfaceINetworkRef
-