Skip to content
v2.274.0

CfnChannelProps Struct ​

Properties for defining a CfnChannel.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediapackage as mediapackage } from 'aws-cdk-lib';
const cfnChannelProps: mediapackage.CfnChannelProps = {
  id: 'id',

  // the properties below are optional
  description: 'description',
  egressAccessLogs: {
    logGroupName: 'logGroupName',
  },
  hlsIngest: {
    ingestEndpoints: [{
      id: 'id',
      password: 'password',
      url: 'url',
      username: 'username',
    }],
  },
  ingressAccessLogs: {
    logGroupName: 'logGroupName',
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
Any descriptive information that you want to add to the channel for future identification purposes.
egressAccessLogsoptionalIResolvable | CfnChannel.LogConfigurationPropertyegress_access_logsoptionaltyping.Union[IResolvable, LogConfigurationProperty]egressAccessLogsoptionalIResolvableEgressAccessLogsoptionalIResolvableEgressAccessLogsoptionalinterface{}#
Configures egress access logs.
hlsIngestoptionalIResolvable | CfnChannel.HlsIngestPropertyhls_ingestoptionaltyping.Union[IResolvable, HlsIngestProperty]hlsIngestoptionalIResolvableHlsIngestoptionalIResolvableHlsIngestoptionalinterface{}#
The input URL where the source stream should be sent.
idstringidstridStringIdstringId*stringrequired#
Unique identifier that you assign to the channel.
ingressAccessLogsoptionalIResolvable | CfnChannel.LogConfigurationPropertyingress_access_logsoptionaltyping.Union[IResolvable, LogConfigurationProperty]ingressAccessLogsoptionalIResolvableIngressAccessLogsoptionalIResolvableIngressAccessLogsoptionalinterface{}#
Configures ingress access logs.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
The tags to assign to the channel.