Skip to content
GitHubXDiscordRSS

ChannelPlacementGroup

Learn how to create, update, and manage AWS MediaLive ChannelPlacementGroups using Alchemy Cloud Control.

The ChannelPlacementGroup resource allows you to manage AWS MediaLive ChannelPlacementGroups to optimize the placement of your media live channels.

Create a basic ChannelPlacementGroup with required properties and one optional tag.

import AWS from "alchemy/aws/control";
const channelPlacementGroup = await AWS.MediaLive.ChannelPlacementGroup("basicPlacementGroup", {
clusterId: "myClusterId",
tags: [{
Key: "Environment",
Value: "Production"
}]
});

Configure a ChannelPlacementGroup with multiple nodes and a specific name.

const advancedChannelPlacementGroup = await AWS.MediaLive.ChannelPlacementGroup("advancedPlacementGroup", {
clusterId: "myClusterId",
nodes: ["node1", "node2", "node3"],
name: "AdvancedGroup"
});

Create a ChannelPlacementGroup that adopts an existing resource instead of failing if it already exists.

const adoptedChannelPlacementGroup = await AWS.MediaLive.ChannelPlacementGroup("adoptedPlacementGroup", {
clusterId: "existingClusterId",
adopt: true
});

Create a ChannelPlacementGroup with multiple tags for better resource management.

const taggedChannelPlacementGroup = await AWS.MediaLive.ChannelPlacementGroup("taggedPlacementGroup", {
clusterId: "myClusterId",
tags: [
{ Key: "Project", Value: "MediaProject" },
{ Key: "Owner", Value: "TeamA" }
]
});