@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:38.800Z") public class CfnChannel extends CfnResource implements IInspectable
Creates a channel to receive content.
After it's created, a channel provides static input URLs. These URLs remain the same throughout the lifetime of the channel, regardless of any failures or upgrades that might occur. Use these URLs to configure the outputs of your upstream encoder.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.mediapackage.*; CfnChannel cfnChannel = CfnChannel.Builder.create(this, "MyCfnChannel") .id("id") // the properties below are optional .description("description") .egressAccessLogs(LogConfigurationProperty.builder() .logGroupName("logGroupName") .build()) .hlsIngest(HlsIngestProperty.builder() .ingestEndpoints(List.of(IngestEndpointProperty.builder() .id("id") .password("password") .url("url") .username("username") .build())) .build()) .ingressAccessLogs(LogConfigurationProperty.builder() .logGroupName("logGroupName") .build()) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnChannel.Builder
A fluent builder for
CfnChannel . |
static interface |
CfnChannel.HlsIngestProperty
Example:
|
static interface |
CfnChannel.IngestEndpointProperty
Example:
|
static interface |
CfnChannel.LogConfigurationProperty
The access log configuration parameters for your channel.
|
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnChannel(Construct scope,
java.lang.String id,
CfnChannelProps props)
Create a new `AWS::MediaPackage::Channel`.
|
protected |
CfnChannel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnChannel(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrArn()
The channel's unique system-generated resource name, based on the AWS record.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getDescription()
Any descriptive information that you want to add to the channel for future identification purposes.
|
java.lang.Object |
getEgressAccessLogs()
Configures egress access logs.
|
java.lang.Object |
getHlsIngest()
`AWS::MediaPackage::Channel.HlsIngest`.
|
java.lang.String |
getId()
Unique identifier that you assign to the channel.
|
java.lang.Object |
getIngressAccessLogs()
Configures ingress access logs.
|
TagManager |
getTags()
The tags to assign to the channel.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setDescription(java.lang.String value)
Any descriptive information that you want to add to the channel for future identification purposes.
|
void |
setEgressAccessLogs(CfnChannel.LogConfigurationProperty value)
Configures egress access logs.
|
void |
setEgressAccessLogs(IResolvable value)
Configures egress access logs.
|
void |
setHlsIngest(CfnChannel.HlsIngestProperty value)
`AWS::MediaPackage::Channel.HlsIngest`.
|
void |
setHlsIngest(IResolvable value)
`AWS::MediaPackage::Channel.HlsIngest`.
|
void |
setId(java.lang.String value)
Unique identifier that you assign to the channel.
|
void |
setIngressAccessLogs(CfnChannel.LogConfigurationProperty value)
Configures ingress access logs.
|
void |
setIngressAccessLogs(IResolvable value)
Configures ingress access logs.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnChannel(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnChannel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnChannel(Construct scope, java.lang.String id, CfnChannelProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrArn()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
public java.lang.String getId()
public void setId(java.lang.String value)
public java.lang.String getDescription()
public void setDescription(java.lang.String value)
public java.lang.Object getEgressAccessLogs()
public void setEgressAccessLogs(IResolvable value)
public void setEgressAccessLogs(CfnChannel.LogConfigurationProperty value)
public java.lang.Object getHlsIngest()
public void setHlsIngest(IResolvable value)
public void setHlsIngest(CfnChannel.HlsIngestProperty value)
public java.lang.Object getIngressAccessLogs()
public void setIngressAccessLogs(IResolvable value)
public void setIngressAccessLogs(CfnChannel.LogConfigurationProperty value)