Interface ChannelGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ChannelGroupProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-02T09:32:03.691Z")
@Stability(Experimental)
public interface ChannelGroupProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for the Channel Group.
Example:
Stack stack;
// Create a channel group
ChannelGroup group = ChannelGroup.Builder.create(stack, "MyChannelGroup")
.channelGroupName("my-channel-group")
.build();
// Add a channel using the factory method
Channel channel = group.addChannel("MyChannel", ChannelOptions.builder()
.channelName("my-channel")
.input(InputConfiguration.cmaf())
.build());
// Add an origin endpoint using the factory method
OriginEndpoint endpoint = channel.addOriginEndpoint("MyEndpoint", OriginEndpointOptions.builder()
.originEndpointName("my-endpoint")
.segment(Segment.cmaf())
.manifests(List.of(Manifest.hls(HlsManifestConfiguration.builder().manifestName("index").build())))
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forChannelGroupPropsstatic final classAn implementation forChannelGroupProps -
Method Summary
Modifier and TypeMethodDescriptionstatic ChannelGroupProps.Builderbuilder()default String(experimental) The name that describes the channel group.default String(experimental) The description for your channel group.default RemovalPolicy(experimental) Policy to apply when the channel group is removed from the stack.getTags()(experimental) Tags to add to the Channel Group.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getChannelGroupName
(experimental) The name that describes the channel group.The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
Default: autogenerated
-
getDescription
(experimental) The description for your channel group.Default: - no description
-
getRemovalPolicy
(experimental) Policy to apply when the channel group is removed from the stack.Even though MediaPackage ChannelGroups, Channels and OriginEndpoints are technically stateful, their contents are transient and it is common to add and remove these while rearchitecting your application. The default is therefore
DESTROY. Change it toRETAINif the content (in a lookback window) are so valuable that accidentally losing it would be unacceptable.Default: RemovalPolicy.DESTROY
-
getTags
(experimental) Tags to add to the Channel Group.Default: - No tagging
-
builder
- Returns:
- a
ChannelGroupProps.BuilderofChannelGroupProps
-