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();
 
  • Field Details

    • PROPERTY_INJECTION_ID

      @Stability(Experimental) public static final String 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

      @Stability(Experimental) @NotNull public String getNetworkArn()
      (experimental) The ARN of the network.
      Specified by:
      getNetworkArn in interface INetwork
    • getNetworkId

      @Stability(Experimental) @NotNull public String getNetworkId()
      (experimental) The ID of the network.
      Specified by:
      getNetworkId in interface INetwork
    • getNetworkRef

      @Stability(Experimental) @NotNull public NetworkReference getNetworkRef()
      (experimental) A reference to this Network resource.
      Specified by:
      getNetworkRef in interface INetworkRef