@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.916Z") @Stability(value=Stable) 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())
.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.LogConfigurationProperty
The access log configuration parameters for your channel.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnChannel(software.constructs.Construct scope,
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 |
|---|---|
String |
getAttrArn()
The channel's unique system-generated resource name, based on the AWS record.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
Any descriptive information that you want to add to the channel for future identification purposes.
|
Object |
getEgressAccessLogs()
Configures egress access logs.
|
String |
getId()
Unique identifier that you assign to the channel.
|
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 Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDescription(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 |
setId(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, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnChannel(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnChannel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnChannel(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
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.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getId()
@Stability(value=Stable)
public void setId(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getEgressAccessLogs()
@Stability(value=Stable)
public void setEgressAccessLogs(@Nullable
CfnChannel.LogConfigurationProperty value)
@Stability(value=Stable)
public void setEgressAccessLogs(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getIngressAccessLogs()
@Stability(value=Stable)
public void setIngressAccessLogs(@Nullable
CfnChannel.LogConfigurationProperty value)
@Stability(value=Stable)
public void setIngressAccessLogs(@Nullable
IResolvable value)
Copyright © 2022. All rights reserved.