java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.medialive.alpha.Cluster
All Implemented Interfaces:
IEnvironmentAware, IClusterRef, IResource, ICluster, 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.010Z") @Stability(Experimental) public class Cluster extends Resource implements ICluster
(experimental) Defines an AWS Elemental MediaLive Cluster.

A cluster represents a group of on-premises hardware nodes used by MediaLive Anywhere.

Example:

 Stack stack;
 IRole instanceRole;
 Cluster cluster = Cluster.Builder.create(stack, "Cluster")
         .clusterName("on-prem-cluster")
         .clusterType(ClusterType.ON_PREMISES)
         .instanceRole(instanceRole)
         .build();
 
  • Field Details

    • PROPERTY_INJECTION_ID

      @Stability(Experimental) public static final String PROPERTY_INJECTION_ID
      (experimental) Uniquely identifies this class.
  • Constructor Details

    • Cluster

      protected Cluster(software.amazon.jsii.JsiiObjectRef objRef)
    • Cluster

      protected Cluster(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • Cluster

      @Stability(Experimental) public Cluster(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ClusterProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details

    • fromClusterArn

      @Stability(Experimental) @NotNull public static ICluster fromClusterArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String clusterArn)
      (experimental) Import an existing cluster by its ARN.

      The id is parsed out of the ARN.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      clusterArn - This parameter is required.
    • getClusterArn

      @Stability(Experimental) @NotNull public String getClusterArn()
      (experimental) The ARN of the cluster.
      Specified by:
      getClusterArn in interface ICluster
    • getClusterId

      @Stability(Experimental) @NotNull public String getClusterId()
      (experimental) The ID of the cluster.
      Specified by:
      getClusterId in interface ICluster
    • getClusterRef

      @Stability(Experimental) @NotNull public ClusterReference getClusterRef()
      (experimental) A reference to this Cluster resource.
      Specified by:
      getClusterRef in interface IClusterRef
    • getClusterChannelIds

      @Stability(Experimental) @Nullable public List<String> getClusterChannelIds()
      (experimental) The IDs of channels running on this cluster.
      Specified by:
      getClusterChannelIds in interface ICluster
    • getClusterState

      @Stability(Experimental) @Nullable public String getClusterState()
      (experimental) The current state of the cluster.
      Specified by:
      getClusterState in interface ICluster