java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
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:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String 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 new AWS::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

      @Stability(Stable) @NotNull public static String arnForNode(@NotNull INodeRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnNode

      @Stability(Stable) @NotNull public static Boolean isCfnNode(@NotNull Object x)
      Checks whether the given object is a CfnNode.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The ARN of the Node.

      It is automatically assigned when the Node is created.

    • getAttrChannelPlacementGroups

      @Stability(Stable) @NotNull public List<String> getAttrChannelPlacementGroups()
      An array of IDs.

      Each ID is one ChannelPlacementGroup that is associated with this Node.

    • getAttrConnectionState

      @Stability(Stable) @NotNull public String getAttrConnectionState()
      The current connection state of the Node.
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
      The unique ID of the Node.

      Unique in the Cluster. The ID is the resource-id portion of the ARN.

    • getAttrInstanceArn

      @Stability(Stable) @NotNull public String getAttrInstanceArn()
      The ARN of the EC2 instance hosting the Node.
    • getAttrState

      @Stability(Stable) @NotNull public String getAttrState()
      The current state of the Node.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getCfnPropertyNames

      @Stability(Stable) @NotNull protected Map<String,String> getCfnPropertyNames()
      Overrides:
      getCfnPropertyNames in class CfnResource
    • getNodeRef

      @Stability(Stable) @NotNull public NodeReference getNodeRef()
      A reference to a Node resource.
      Specified by:
      getNodeRef in interface INodeRef
    • getClusterId

      @Stability(Stable) @NotNull public String getClusterId()
      The ID of the Cluster that the Node belongs to.
    • setClusterId

      @Stability(Stable) public void setClusterId(@NotNull String value)
      The ID of the Cluster that the Node belongs to.
    • getName

      @Stability(Stable) @Nullable public String getName()
      The user-specified name of the Node.
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
      The user-specified name of the Node.
    • getNodeInterfaceMappings

      @Stability(Stable) @Nullable public Object getNodeInterfaceMappings()
      An array of interface mappings for the Node.

      Returns union: either IResolvable or Listinvalid input: '<'either IResolvable or CfnNode.NodeInterfaceMappingProperty>

    • setNodeInterfaceMappings

      @Stability(Stable) public void setNodeInterfaceMappings(@Nullable IResolvable value)
      An array of interface mappings for the Node.
    • setNodeInterfaceMappings

      @Stability(Stable) public void setNodeInterfaceMappings(@Nullable List<Object> value)
      An array of interface mappings for the Node.
    • getRole

      @Stability(Stable) @Nullable public String getRole()
      The role of the Node in the Cluster.
    • setRole

      @Stability(Stable) public void setRole(@Nullable String value)
      The role of the Node in the Cluster.
    • getSdiSourceMappings

      @Stability(Stable) @Nullable public Object getSdiSourceMappings()
      An array of SDI source mappings.

      Returns union: either IResolvable or Listinvalid input: '<'either IResolvable or CfnNode.SdiSourceMappingProperty>

    • setSdiSourceMappings

      @Stability(Stable) public void setSdiSourceMappings(@Nullable IResolvable value)
      An array of SDI source mappings.
    • setSdiSourceMappings

      @Stability(Stable) public void setSdiSourceMappings(@Nullable List<Object> value)
      An array of SDI source mappings.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      A collection of key-value pairs.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      A collection of key-value pairs.