Interface ChannelPlacementGroupProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ChannelPlacementGroupProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:41.005Z") @Stability(Experimental) public interface ChannelPlacementGroupProps extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for creating a MediaLive Channel Placement Group.

Example:

 Stack stack;
 ICluster cluster;
 IInput input;
 EncodeConfiguration video;
 IBucket bucket;
 ChannelPlacementGroup cpg = ChannelPlacementGroup.Builder.create(stack, "CPG")
         .channelPlacementGroupName("my-cpg")
         .cluster(cluster)
         .build();
 Channel.Builder.create(stack, "AnywhereChannel")
         .inputs(List.of(InputAttachment.builder().input(input).build()))
         .anywhereSettings(AnywhereSettings.builder().cluster(cluster).channelPlacementGroup(cpg).build())
         .outputGroups(List.of(OutputGroupConfiguration.hls(HlsOutputGroupProps.builder()
                 .name("hls")
                 .destinations(List.of(OutputDestination.toBucket(bucket, "live/stream")))
                 .outputs(List.of(HlsOutputDefinition.builder().encodes(List.of(video)).outputName("hls_out").build()))
                 .build())))
         .build();
 
  • Method Details

    • getCluster

      @Stability(Experimental) @NotNull IClusterRef getCluster()
      (experimental) The cluster this channel placement group belongs to.
    • getChannelPlacementGroupName

      @Stability(Experimental) @Nullable default String getChannelPlacementGroupName()
      (experimental) The name of the channel placement group.

      Default: - auto-generated name

    • getNodes

      @Stability(Experimental) @Nullable default List<String> getNodes()
      (experimental) List of node IDs for the channel placement group.

      Default: - no nodes

    • getTags

      @Stability(Experimental) @Nullable default Map<String,String> getTags()
      (experimental) Tags to add to the channel placement group.

      Default: - no tags

    • builder

      @Stability(Experimental) static ChannelPlacementGroupProps.Builder builder()
      Returns:
      a ChannelPlacementGroupProps.Builder of ChannelPlacementGroupProps