Class CfnCluster
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.medialive.CfnCluster
- All Implemented Interfaces:
IInspectable,ITaggableV2,IClusterRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:42.156Z")
@Stability(Stable)
public class CfnCluster
extends CfnResource
implements IInspectable, IClusterRef, ITaggableV2
Definition of AWS::MediaLive::Cluster Resource Type.
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.*;
CfnCluster cfnCluster = CfnCluster.Builder.create(this, "MyCfnCluster")
.clusterType("clusterType")
.instanceRoleArn("instanceRoleArn")
.name("name")
.networkSettings(ClusterNetworkSettingsProperty.builder()
.defaultRoute("defaultRoute")
.interfaceMappings(List.of(InterfaceMappingProperty.builder()
.logicalInterfaceName("logicalInterfaceName")
.networkId("networkId")
.build()))
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnCluster.static interfaceOn premises settings which will have the interface network mappings and default Output logical interface.static interfaceNetwork mappings for the cluster.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.medialive.IClusterRef
IClusterRef.Jsii$Default, IClusterRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnCluster(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnCluster(software.amazon.jsii.JsiiObjectRef objRef) CfnCluster(software.constructs.Construct scope, String id) CfnCluster(software.constructs.Construct scope, String id, CfnClusterProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IClusterReffromClusterArn(software.constructs.Construct scope, String id, String arn) Creates a new IClusterRef from an ARN.static IClusterReffromClusterId(software.constructs.Construct scope, String id, String clusterId) Creates a new IClusterRef from a clusterId.The ARN of the Cluster.The MediaLive Channels that are currently running on Nodes in this Cluster.The unique ID of the Cluster.The current state of the Cluster.Tag Manager which manages the tags for this resource.A reference to a Cluster resource.The hardware type for the cluster.The IAM role your nodes will use.getName()The user-specified name of the Cluster to be created.On premises settings which will have the interface network mappings and default Output logical interface.getTags()A collection of key-value pairs.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetClusterType(String value) The hardware type for the cluster.voidsetInstanceRoleArn(String value) The IAM role your nodes will use.voidThe user-specified name of the Cluster to be created.voidsetNetworkSettings(IResolvable value) On premises settings which will have the interface network mappings and default Output logical interface.voidOn premises settings which will have the interface network mappings and default Output logical interface.voidA collection of key-value pairs.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods 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
getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnCluster
protected CfnCluster(software.amazon.jsii.JsiiObjectRef objRef) -
CfnCluster
protected CfnCluster(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnCluster
@Stability(Stable) public CfnCluster(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnClusterProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties.
-
CfnCluster
@Stability(Stable) public CfnCluster(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.
-
-
Method Details
-
fromClusterArn
@Stability(Stable) @NotNull public static IClusterRef fromClusterArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new IClusterRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromClusterId
@Stability(Stable) @NotNull public static IClusterRef fromClusterId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String clusterId) Creates a new IClusterRef from a clusterId.- Parameters:
scope- This parameter is required.id- This parameter is required.clusterId- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The ARN of the Cluster. -
getAttrChannelIds
The MediaLive Channels that are currently running on Nodes in this Cluster. -
getAttrId
The unique ID of the Cluster. -
getAttrState
The current state of the Cluster. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getClusterRef
A reference to a Cluster resource.- Specified by:
getClusterRefin interfaceIClusterRef
-
getClusterType
The hardware type for the cluster. -
setClusterType
The hardware type for the cluster. -
getInstanceRoleArn
The IAM role your nodes will use. -
setInstanceRoleArn
The IAM role your nodes will use. -
getName
The user-specified name of the Cluster to be created. -
setName
The user-specified name of the Cluster to be created. -
getNetworkSettings
On premises settings which will have the interface network mappings and default Output logical interface.Returns union: either
IResolvableorCfnCluster.ClusterNetworkSettingsProperty -
setNetworkSettings
On premises settings which will have the interface network mappings and default Output logical interface. -
setNetworkSettings
@Stability(Stable) public void setNetworkSettings(@Nullable CfnCluster.ClusterNetworkSettingsProperty value) On premises settings which will have the interface network mappings and default Output logical interface. -
getTags
A collection of key-value pairs. -
setTags
A collection of key-value pairs.
-