Class ChannelPlacementGroup
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.medialive.alpha.ChannelPlacementGroup
- All Implemented Interfaces:
IEnvironmentAware,IChannelPlacementGroupRef,IResource,IChannelPlacementGroup,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:41.003Z")
@Stability(Experimental)
public class ChannelPlacementGroup
extends Resource
implements IChannelPlacementGroup
(experimental) Defines an AWS Elemental MediaLive Channel Placement Group.
A channel placement group assigns channels to specific nodes within a cluster.
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 TypeClassDescriptionstatic final class(experimental) A fluent builder forChannelPlacementGroup.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.alpha.IChannelPlacementGroup
IChannelPlacementGroup.Jsii$Default, IChannelPlacementGroup.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String(experimental) Uniquely identifies this class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedChannelPlacementGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedChannelPlacementGroup(software.amazon.jsii.JsiiObjectRef objRef) ChannelPlacementGroup(software.constructs.Construct scope, String id, ChannelPlacementGroupProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IChannelPlacementGroupfromChannelPlacementGroupAttributes(software.constructs.Construct scope, String id, ChannelPlacementGroupAttributes attrs) (experimental) Import an existing channel placement group by its attributes.(experimental) The ARN of the channel placement group.(experimental) The ID of the channel placement group.(experimental) A reference to this Channel Placement Group resource.Methods inherited from class software.amazon.awscdk.Resource
applyCrossStackReferenceStrength, applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResource, withMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods 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.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
(experimental) Uniquely identifies this class.
-
-
Constructor Details
-
ChannelPlacementGroup
protected ChannelPlacementGroup(software.amazon.jsii.JsiiObjectRef objRef) -
ChannelPlacementGroup
protected ChannelPlacementGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
ChannelPlacementGroup
@Stability(Experimental) public ChannelPlacementGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ChannelPlacementGroupProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-
-
Method Details
-
fromChannelPlacementGroupAttributes
@Stability(Experimental) @NotNull public static IChannelPlacementGroup fromChannelPlacementGroupAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ChannelPlacementGroupAttributes attrs) (experimental) Import an existing channel placement group by its attributes.- Parameters:
scope- This parameter is required.id- This parameter is required.attrs- This parameter is required.
-
getChannelPlacementGroupArn
(experimental) The ARN of the channel placement group.- Specified by:
getChannelPlacementGroupArnin interfaceIChannelPlacementGroup
-
getChannelPlacementGroupId
(experimental) The ID of the channel placement group.- Specified by:
getChannelPlacementGroupIdin interfaceIChannelPlacementGroup
-
getChannelPlacementGroupRef
@Stability(Experimental) @NotNull public ChannelPlacementGroupReference getChannelPlacementGroupRef()(experimental) A reference to this Channel Placement Group resource.- Specified by:
getChannelPlacementGroupRefin interfaceIChannelPlacementGroupRef
-