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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forChannelPlacementGroupPropsstatic final classAn implementation forChannelPlacementGroupProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default String(experimental) The name of the channel placement group.(experimental) The cluster this channel placement group belongs to.getNodes()(experimental) List of node IDs for the channel placement group.getTags()(experimental) Tags to add to the channel placement group.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCluster
(experimental) The cluster this channel placement group belongs to. -
getChannelPlacementGroupName
(experimental) The name of the channel placement group.Default: - auto-generated name
-
getNodes
(experimental) List of node IDs for the channel placement group.Default: - no nodes
-
getTags
(experimental) Tags to add to the channel placement group.Default: - no tags
-
builder
- Returns:
- a
ChannelPlacementGroupProps.BuilderofChannelPlacementGroupProps
-