Interface IChannel.Jsii$Default

All Superinterfaces:
IChannel, IChannelRef, IChannelRef.Jsii$Default, software.constructs.IConstruct, software.constructs.IConstruct.Jsii$Default, software.constructs.IDependable, software.constructs.IDependable.Jsii$Default, IEnvironmentAware, IEnvironmentAware.Jsii$Default, IResource, IResource.Jsii$Default, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
IChannel.Jsii$Proxy
Enclosing interface:
IChannel

@Internal public static interface IChannel.Jsii$Default extends IChannel, IResource.Jsii$Default, IChannelRef.Jsii$Default
Internal default implementation for IChannel.
  • Method Details

    • getChannelArn

      @Stability(Experimental) @NotNull default String getChannelArn()
      (experimental) The Amazon Resource Name (ARN) associated with the resource.
      Specified by:
      getChannelArn in interface IChannel
    • getChannelGroupName

      @Stability(Experimental) @NotNull default String getChannelGroupName()
      (experimental) The name that describes the channel group.

      The name is the primary identifier for the channel group.

      Specified by:
      getChannelGroupName in interface IChannel
    • getChannelName

      @Stability(Experimental) @NotNull default String getChannelName()
      (experimental) The name that describes the channel.

      The name is the primary identifier for the channel.

      Specified by:
      getChannelName in interface IChannel
    • getGrants

      @Stability(Experimental) @NotNull default ChannelGrants getGrants()
      (experimental) Grants IAM resource policy to the role used to write to MediaPackage V2 Channel.
      Specified by:
      getGrants in interface IChannel
    • getIngestEndpointUrls

      @Stability(Experimental) @NotNull default List<String> getIngestEndpointUrls()
      (experimental) The ingest endpoint URLs for the channel.
      Specified by:
      getIngestEndpointUrls in interface IChannel
    • getChannelGroup

      @Stability(Experimental) @Nullable default IChannelGroup getChannelGroup()
      (experimental) The channel group this channel belongs to.

      Only available when the channel was created in the same stack. Undefined for imported channels.

      Specified by:
      getChannelGroup in interface IChannel
    • getCreatedAt

      @Stability(Experimental) @Nullable default String getCreatedAt()
      (experimental) The date and time the channel was created.
      Specified by:
      getCreatedAt in interface IChannel
    • getModifiedAt

      @Stability(Experimental) @Nullable default String getModifiedAt()
      (experimental) The date and time the channel was modified.
      Specified by:
      getModifiedAt in interface IChannel
    • addOriginEndpoint

      @Stability(Experimental) @NotNull default OriginEndpoint addOriginEndpoint(@NotNull String id, @NotNull OriginEndpointOptions options)
      (experimental) Add Origin Endpoint for this Channel.

      Specified by:
      addOriginEndpoint in interface IChannel
      Parameters:
      id - This parameter is required.
      options - This parameter is required.
    • addToResourcePolicy

      @Stability(Experimental) @NotNull default 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.

      Specified by:
      addToResourcePolicy in interface IChannel
      Parameters:
      statement - This parameter is required.
    • metric

      @Stability(Experimental) @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
      (experimental) Create a CloudWatch metric.

      Specified by:
      metric in interface IChannel
      Parameters:
      metricName - name of the metric. This parameter is required.
      props - metric options.
    • metric

      @Stability(Experimental) @NotNull default Metric metric(@NotNull String metricName)
      (experimental) Create a CloudWatch metric.

      Specified by:
      metric in interface IChannel
      Parameters:
      metricName - name of the metric. This parameter is required.
    • metricEgressBytes

      @Stability(Experimental) @NotNull default Metric metricEgressBytes(@Nullable MetricOptions options)
      (experimental) Returns Metric for Egress Bytes.

      Default: - sum over 60 seconds

      Specified by:
      metricEgressBytes in interface IChannel
      Parameters:
      options -
    • metricEgressBytes

      @Stability(Experimental) @NotNull default Metric metricEgressBytes()
      (experimental) Returns Metric for Egress Bytes.

      Default: - sum over 60 seconds

      Specified by:
      metricEgressBytes in interface IChannel
    • metricEgressRequestCount

      @Stability(Experimental) @NotNull default Metric metricEgressRequestCount(@Nullable MetricOptions options)
      (experimental) Returns Metric for Egress Request Count.

      Default: - sum over 60 seconds

      Specified by:
      metricEgressRequestCount in interface IChannel
      Parameters:
      options -
    • metricEgressRequestCount

      @Stability(Experimental) @NotNull default Metric metricEgressRequestCount()
      (experimental) Returns Metric for Egress Request Count.

      Default: - sum over 60 seconds

      Specified by:
      metricEgressRequestCount in interface IChannel
    • metricEgressResponseTime

      @Stability(Experimental) @NotNull default Metric metricEgressResponseTime(@Nullable MetricOptions options)
      (experimental) Returns Metric for Egress Response time.

      Default: - average over 60 seconds

      Specified by:
      metricEgressResponseTime in interface IChannel
      Parameters:
      options -
    • metricEgressResponseTime

      @Stability(Experimental) @NotNull default Metric metricEgressResponseTime()
      (experimental) Returns Metric for Egress Response time.

      Default: - average over 60 seconds

      Specified by:
      metricEgressResponseTime in interface IChannel
    • metricIngressBytes

      @Stability(Experimental) @NotNull default Metric metricIngressBytes(@Nullable MetricOptions options)
      (experimental) Returns Metric for Ingress Bytes.

      Default: - sum over 60 seconds

      Specified by:
      metricIngressBytes in interface IChannel
      Parameters:
      options -
    • metricIngressBytes

      @Stability(Experimental) @NotNull default Metric metricIngressBytes()
      (experimental) Returns Metric for Ingress Bytes.

      Default: - sum over 60 seconds

      Specified by:
      metricIngressBytes in interface IChannel
    • metricIngressRequestCount

      @Stability(Experimental) @NotNull default Metric metricIngressRequestCount(@Nullable MetricOptions options)
      (experimental) Returns Metric for Ingress Request Count.

      Default: - sum over 60 seconds

      Specified by:
      metricIngressRequestCount in interface IChannel
      Parameters:
      options -
    • metricIngressRequestCount

      @Stability(Experimental) @NotNull default Metric metricIngressRequestCount()
      (experimental) Returns Metric for Ingress Request Count.

      Default: - sum over 60 seconds

      Specified by:
      metricIngressRequestCount in interface IChannel
    • metricIngressResponseTime

      @Stability(Experimental) @NotNull default Metric metricIngressResponseTime(@Nullable MetricOptions options)
      (experimental) Returns Metric for Ingress response time.

      Default: - average over 60 seconds

      Specified by:
      metricIngressResponseTime in interface IChannel
      Parameters:
      options -
    • metricIngressResponseTime

      @Stability(Experimental) @NotNull default Metric metricIngressResponseTime()
      (experimental) Returns Metric for Ingress response time.

      Default: - average over 60 seconds

      Specified by:
      metricIngressResponseTime in interface IChannel