Interface IChannel
- All Superinterfaces:
IChannelRef,software.constructs.IConstruct,software.constructs.IDependable,IEnvironmentAware,IResource,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IChannel.Jsii$Default
- All Known Implementing Classes:
Channel,IChannel.Jsii$Proxy
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIChannel.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionaddOriginEndpoint(String id, OriginEndpointOptions options) (experimental) Add Origin Endpoint for this Channel.addToResourcePolicy(PolicyStatement statement) (experimental) Configure channel policy.(experimental) The Amazon Resource Name (ARN) associated with the resource.default IChannelGroup(experimental) The channel group this channel belongs to.(experimental) The name that describes the channel group.(experimental) The name that describes the channel.default String(experimental) The date and time the channel was created.(experimental) Grants IAM resource policy to the role used to write to MediaPackage V2 Channel.(experimental) The ingest endpoint URLs for the channel.default String(experimental) The date and time the channel 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 options) (experimental) Returns Metric for Egress Bytes.(experimental) Returns Metric for Egress Request Count.metricEgressRequestCount(MetricOptions options) (experimental) Returns Metric for Egress Request Count.(experimental) Returns Metric for Egress Response time.metricEgressResponseTime(MetricOptions options) (experimental) Returns Metric for Egress Response time.(experimental) Returns Metric for Ingress Bytes.metricIngressBytes(MetricOptions options) (experimental) Returns Metric for Ingress Bytes.(experimental) Returns Metric for Ingress Request Count.metricIngressRequestCount(MetricOptions options) (experimental) Returns Metric for Ingress Request Count.(experimental) Returns Metric for Ingress response time.metricIngressResponseTime(MetricOptions options) (experimental) Returns Metric for Ingress response time.Methods inherited from interface software.amazon.awscdk.interfaces.mediapackagev2.IChannelRef
getChannelRefMethods 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
-
Method Details
-
getChannelArn
(experimental) The Amazon Resource Name (ARN) associated with the resource. -
getChannelGroupName
(experimental) The name that describes the channel group.The name is the primary identifier for the channel group.
-
getChannelName
(experimental) The name that describes the channel.The name is the primary identifier for the channel.
-
getGrants
(experimental) Grants IAM resource policy to the role used to write to MediaPackage V2 Channel. -
getIngestEndpointUrls
(experimental) The ingest endpoint URLs for the channel. -
getChannelGroup
(experimental) The channel group this channel belongs to.Only available when the channel was created in the same stack. Undefined for imported channels.
-
getCreatedAt
(experimental) The date and time the channel was created. -
getModifiedAt
(experimental) The date and time the channel was modified. -
addOriginEndpoint
@Stability(Experimental) @NotNull OriginEndpoint addOriginEndpoint(@NotNull String id, @NotNull OriginEndpointOptions options) (experimental) Add Origin Endpoint for this Channel.- Parameters:
id- This parameter is required.options- This parameter is required.
-
addToResourcePolicy
@Stability(Experimental) @NotNull AddToResourcePolicyResult addToResourcePolicy(@NotNull PolicyStatement statement) (experimental) Configure channel policy.You can only add 1 ChannelPolicy to a Channel. If you have already defined one, function will append the policy already created.
- Parameters:
statement- This parameter is required.
-
metric
@Stability(Experimental) @NotNull Metric metric(@NotNull String metricName, @Nullable MetricOptions props) (experimental) Create a CloudWatch metric.- Parameters:
metricName- name of the metric. This parameter is required.props- metric options.
-
metric
(experimental) Create a CloudWatch metric.- Parameters:
metricName- name of the metric. This parameter is required.
-
metricEgressBytes
(experimental) Returns Metric for Egress Bytes.Default: - sum over 60 seconds
- Parameters:
options-
-
metricEgressBytes
(experimental) Returns Metric for Egress Bytes.Default: - sum over 60 seconds
-
metricEgressRequestCount
(experimental) Returns Metric for Egress Request Count.Default: - sum over 60 seconds
- Parameters:
options-
-
metricEgressRequestCount
(experimental) Returns Metric for Egress Request Count.Default: - sum over 60 seconds
-
metricEgressResponseTime
(experimental) Returns Metric for Egress Response time.Default: - average over 60 seconds
- Parameters:
options-
-
metricEgressResponseTime
(experimental) Returns Metric for Egress Response time.Default: - average over 60 seconds
-
metricIngressBytes
(experimental) Returns Metric for Ingress Bytes.Default: - sum over 60 seconds
- Parameters:
options-
-
metricIngressBytes
(experimental) Returns Metric for Ingress Bytes.Default: - sum over 60 seconds
-
metricIngressRequestCount
(experimental) Returns Metric for Ingress Request Count.Default: - sum over 60 seconds
- Parameters:
options-
-
metricIngressRequestCount
(experimental) Returns Metric for Ingress Request Count.Default: - sum over 60 seconds
-
metricIngressResponseTime
(experimental) Returns Metric for Ingress response time.Default: - average over 60 seconds
- Parameters:
options-
-
metricIngressResponseTime
(experimental) Returns Metric for Ingress response time.Default: - average over 60 seconds
-