Class ChannelGroup
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.mediapackagev2.alpha.ChannelGroup
- All Implemented Interfaces:
IEnvironmentAware,IChannelGroupRef,IResource,IChannelGroup,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-02T09:32:03.690Z")
@Stability(Experimental)
public class ChannelGroup
extends Resource
implements IChannelGroup
(experimental) Defines an AWS Elemental MediaPackage V2 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 TypeClassDescriptionstatic final class(experimental) A fluent builder forChannelGroup.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.mediapackagev2.alpha.IChannelGroup
IChannelGroup.Jsii$Default, IChannelGroup.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
ConstructorsModifierConstructorDescriptionprotectedChannelGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedChannelGroup(software.amazon.jsii.JsiiObjectRef objRef) ChannelGroup(software.constructs.Construct scope, String id) ChannelGroup(software.constructs.Construct scope, String id, ChannelGroupProps props) -
Method Summary
Modifier and TypeMethodDescriptionaddChannel(String id) (experimental) Add Channel for this Channel Group.addChannel(String id, ChannelOptions options) (experimental) Add Channel for this Channel Group.static IChannelGroupfromChannelGroupAttributes(software.constructs.Construct scope, String id, ChannelGroupAttributes attrs) (experimental) Creates a Channel Group construct that represents an external (imported) Channel Group.(experimental) The Amazon Resource Name (ARN) associated with the resource.(experimental) The name that describes the channel group.(experimental) A reference to this Channel Group resource.(experimental) The date and time the channel group was created.(experimental) The egress domain where packaged content is available.(experimental) The date and time the channel group was modified.(experimental) Create a CloudWatch metric.metric(String metricName, MetricOptions props) (experimental) Create a CloudWatch metric.(experimental) Returns Metric for Egress Bytes.metricEgressBytes(MetricOptions props) (experimental) Returns Metric for Egress Bytes.(experimental) Returns Metric for Egress Request Count.(experimental) Returns Metric for Egress Request Count.(experimental) Returns Metric for Egress Response time.(experimental) Returns Metric for Egress Response time.(experimental) Returns Metric for Ingress Bytes.metricIngressBytes(MetricOptions props) (experimental) Returns Metric for Ingress Bytes.(experimental) Returns Metric for Ingress Request Count.(experimental) Returns Metric for Ingress Request Count.(experimental) Returns Metric for Ingress response time.(experimental) Returns Metric for Ingress response time.Methods inherited from class software.amazon.awscdk.Resource
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
-
ChannelGroup
protected ChannelGroup(software.amazon.jsii.JsiiObjectRef objRef) -
ChannelGroup
protected ChannelGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
ChannelGroup
@Stability(Experimental) public ChannelGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable ChannelGroupProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props-
-
ChannelGroup
@Stability(Experimental) public ChannelGroup(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope- This parameter is required.id- This parameter is required.
-
-
Method Details
-
fromChannelGroupAttributes
@Stability(Experimental) @NotNull public static IChannelGroup fromChannelGroupAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ChannelGroupAttributes attrs) (experimental) Creates a Channel Group construct that represents an external (imported) Channel Group.- Parameters:
scope- This parameter is required.id- This parameter is required.attrs- This parameter is required.
-
addChannel
@Stability(Experimental) @NotNull public Channel addChannel(@NotNull String id, @Nullable ChannelOptions options) (experimental) Add Channel for this Channel Group.- Specified by:
addChannelin interfaceIChannelGroup- Parameters:
id- This parameter is required.options-
-
addChannel
(experimental) Add Channel for this Channel Group.- Specified by:
addChannelin interfaceIChannelGroup- Parameters:
id- This parameter is required.
-
metric
@Stability(Experimental) @NotNull public Metric metric(@NotNull String metricName, @Nullable MetricOptions props) (experimental) Create a CloudWatch metric.- Specified by:
metricin interfaceIChannelGroup- Parameters:
metricName- name of the metric. This parameter is required.props- metric options.
-
metric
(experimental) Create a CloudWatch metric.- Specified by:
metricin interfaceIChannelGroup- Parameters:
metricName- name of the metric. This parameter is required.
-
metricEgressBytes
(experimental) Returns Metric for Egress Bytes.Default: - sum over 60 seconds
- Specified by:
metricEgressBytesin interfaceIChannelGroup- Parameters:
props-
-
metricEgressBytes
(experimental) Returns Metric for Egress Bytes.Default: - sum over 60 seconds
- Specified by:
metricEgressBytesin interfaceIChannelGroup
-
metricEgressRequestCount
@Stability(Experimental) @NotNull public Metric metricEgressRequestCount(@Nullable MetricOptions props) (experimental) Returns Metric for Egress Request Count.Default: - sum over 60 seconds
- Specified by:
metricEgressRequestCountin interfaceIChannelGroup- Parameters:
props-
-
metricEgressRequestCount
(experimental) Returns Metric for Egress Request Count.Default: - sum over 60 seconds
- Specified by:
metricEgressRequestCountin interfaceIChannelGroup
-
metricEgressResponseTime
@Stability(Experimental) @NotNull public Metric metricEgressResponseTime(@Nullable MetricOptions props) (experimental) Returns Metric for Egress Response time.Default: - average over 60 seconds
- Specified by:
metricEgressResponseTimein interfaceIChannelGroup- Parameters:
props-
-
metricEgressResponseTime
(experimental) Returns Metric for Egress Response time.Default: - average over 60 seconds
- Specified by:
metricEgressResponseTimein interfaceIChannelGroup
-
metricIngressBytes
(experimental) Returns Metric for Ingress Bytes.Default: - sum over 60 seconds
- Specified by:
metricIngressBytesin interfaceIChannelGroup- Parameters:
props-
-
metricIngressBytes
(experimental) Returns Metric for Ingress Bytes.Default: - sum over 60 seconds
- Specified by:
metricIngressBytesin interfaceIChannelGroup
-
metricIngressRequestCount
@Stability(Experimental) @NotNull public Metric metricIngressRequestCount(@Nullable MetricOptions props) (experimental) Returns Metric for Ingress Request Count.Default: - sum over 60 seconds
- Specified by:
metricIngressRequestCountin interfaceIChannelGroup- Parameters:
props-
-
metricIngressRequestCount
(experimental) Returns Metric for Ingress Request Count.Default: - sum over 60 seconds
- Specified by:
metricIngressRequestCountin interfaceIChannelGroup
-
metricIngressResponseTime
@Stability(Experimental) @NotNull public Metric metricIngressResponseTime(@Nullable MetricOptions props) (experimental) Returns Metric for Ingress response time.Default: - average over 60 seconds
- Specified by:
metricIngressResponseTimein interfaceIChannelGroup- Parameters:
props-
-
metricIngressResponseTime
(experimental) Returns Metric for Ingress response time.Default: - average over 60 seconds
- Specified by:
metricIngressResponseTimein interfaceIChannelGroup
-
getChannelGroupArn
(experimental) The Amazon Resource Name (ARN) associated with the resource.- Specified by:
getChannelGroupArnin interfaceIChannelGroup
-
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.
- Specified by:
getChannelGroupNamein interfaceIChannelGroup
-
getChannelGroupRef
(experimental) A reference to this Channel Group resource.Required by the auto-generated IChannelGroupRef interface.
- Specified by:
getChannelGroupRefin interfaceIChannelGroupRef
-
getEgressDomain
(experimental) The egress domain where packaged content is available.Use this as the origin domain when configuring a CDN such as Amazon CloudFront.
- Specified by:
getEgressDomainin interfaceIChannelGroup
-
getCreatedAt
(experimental) The date and time the channel group was created.- Specified by:
getCreatedAtin interfaceIChannelGroup
-
getModifiedAt
(experimental) The date and time the channel group was modified.- Specified by:
getModifiedAtin interfaceIChannelGroup
-