Class CfnNode
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.CfnNode
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,INodeRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-07-22T17:37:29.948Z")
@Stability(Stable)
public class CfnNode
extends CfnResource
implements IInspectable, INodeRef, ITaggableV2
Definition of AWS::MediaLive::Node 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.*;
CfnNode cfnNode = CfnNode.Builder.create(this, "MyCfnNode")
.clusterId("clusterId")
// the properties below are optional
.name("name")
.nodeInterfaceMappings(List.of(NodeInterfaceMappingProperty.builder()
.logicalInterfaceName("logicalInterfaceName")
.networkInterfaceMode("networkInterfaceMode")
.physicalInterfaceName("physicalInterfaceName")
.build()))
.role("role")
.sdiSourceMappings(List.of(SdiSourceMappingProperty.builder()
.cardNumber(123)
.channelNumber(123)
.sdiSource("sdiSource")
.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 forCfnNode.static interfaceNode interface mapping.static interfaceSDI source mapping.Nested 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.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.medialive.INodeRef
INodeRef.Jsii$Default, INodeRef.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
ConstructorsModifierConstructorDescriptionprotectedCfnNode(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnNode(software.amazon.jsii.JsiiObjectRef objRef) CfnNode(software.constructs.Construct scope, String id, CfnNodeProps props) Create a newAWS::MediaLive::Node. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForNode(INodeRef resource) The ARN of the Node.An array of IDs.The current connection state of the Node.The unique ID of the Node.The ARN of the EC2 instance hosting the Node.The current state of the Node.Tag Manager which manages the tags for this resource.The ID of the Cluster that the Node belongs to.getName()The user-specified name of the Node.An array of interface mappings for the Node.A reference to a Node resource.getRole()The role of the Node in the Cluster.An array of SDI source mappings.getTags()A collection of key-value pairs.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnNode.renderProperties(Map<String, Object> props) voidsetClusterId(String value) The ID of the Cluster that the Node belongs to.voidThe user-specified name of the Node.voidsetNodeInterfaceMappings(List<Object> value) An array of interface mappings for the Node.voidAn array of interface mappings for the Node.voidThe role of the Node in the Cluster.voidsetSdiSourceMappings(List<Object> value) An array of SDI source mappings.voidsetSdiSourceMappings(IResolvable value) An array of SDI source mappings.voidA collection of key-value pairs.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods 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
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods 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
-
CfnNode
protected CfnNode(software.amazon.jsii.JsiiObjectRef objRef) -
CfnNode
protected CfnNode(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnNode
@Stability(Stable) public CfnNode(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnNodeProps props) Create a newAWS::MediaLive::Node.- 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. This parameter is required.
-
-
Method Details
-
arnForNode
- Parameters:
resource- This parameter is required.
-
isCfnNode
Checks whether the given object is a CfnNode.- Parameters:
x- 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 Node.It is automatically assigned when the Node is created.
-
getAttrChannelPlacementGroups
An array of IDs.Each ID is one ChannelPlacementGroup that is associated with this Node.
-
getAttrConnectionState
The current connection state of the Node. -
getAttrId
The unique ID of the Node.Unique in the Cluster. The ID is the resource-id portion of the ARN.
-
getAttrInstanceArn
The ARN of the EC2 instance hosting the Node. -
getAttrState
The current state of the Node. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getNodeRef
A reference to a Node resource.- Specified by:
getNodeRefin interfaceINodeRef
-
getClusterId
The ID of the Cluster that the Node belongs to. -
setClusterId
The ID of the Cluster that the Node belongs to. -
getName
The user-specified name of the Node. -
setName
The user-specified name of the Node. -
getNodeInterfaceMappings
An array of interface mappings for the Node.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnNode.NodeInterfaceMappingProperty> -
setNodeInterfaceMappings
An array of interface mappings for the Node. -
setNodeInterfaceMappings
An array of interface mappings for the Node. -
getRole
The role of the Node in the Cluster. -
setRole
The role of the Node in the Cluster. -
getSdiSourceMappings
An array of SDI source mappings.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnNode.SdiSourceMappingProperty> -
setSdiSourceMappings
An array of SDI source mappings. -
setSdiSourceMappings
An array of SDI source mappings. -
getTags
A collection of key-value pairs. -
setTags
A collection of key-value pairs.
-