CfnChannelProps Struct
Properties for defining a CfnChannel.
| Source | |
|---|---|
| Type last changed |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ivs as ivs } from 'aws-cdk-lib';
const cfnChannelProps: ivs.CfnChannelProps = {
authorized: false,
containerFormat: 'containerFormat',
insecureIngest: false,
latencyMode: 'latencyMode',
multitrackInputConfiguration: {
enabled: false,
maximumResolution: 'maximumResolution',
policy: 'policy',
},
name: 'name',
preset: 'preset',
recordingConfigurationArn: 'recordingConfigurationArn',
tags: [{
key: 'key',
value: 'value',
}],
type: 'type',
};
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ivs as ivs
cfn_channel_props = ivs.CfnChannelProps(
authorized=False,
container_format="containerFormat",
insecure_ingest=False,
latency_mode="latencyMode",
multitrack_input_configuration=ivs.CfnChannel.MultitrackInputConfigurationProperty(
enabled=False,
maximum_resolution="maximumResolution",
policy="policy"
),
name="name",
preset="preset",
recording_configuration_arn="recordingConfigurationArn",
tags=[CfnTag(
key="key",
value="value"
)],
type="type"
)
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ivs.*;
CfnChannelProps cfnChannelProps = CfnChannelProps.builder()
.authorized(false)
.containerFormat("containerFormat")
.insecureIngest(false)
.latencyMode("latencyMode")
.multitrackInputConfiguration(MultitrackInputConfigurationProperty.builder()
.enabled(false)
.maximumResolution("maximumResolution")
.policy("policy")
.build())
.name("name")
.preset("preset")
.recordingConfigurationArn("recordingConfigurationArn")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.type("type")
.build();
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Ivs;
var cfnChannelProps = new CfnChannelProps {
Authorized = false,
ContainerFormat = "containerFormat",
InsecureIngest = false,
LatencyMode = "latencyMode",
MultitrackInputConfiguration = new MultitrackInputConfigurationProperty {
Enabled = false,
MaximumResolution = "maximumResolution",
Policy = "policy"
},
Name = "name",
Preset = "preset",
RecordingConfigurationArn = "recordingConfigurationArn",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
Type = "type"
};
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnChannelProps := &CfnChannelProps{
Authorized: jsii.Boolean(false),
ContainerFormat: jsii.String("containerFormat"),
InsecureIngest: jsii.Boolean(false),
LatencyMode: jsii.String("latencyMode"),
MultitrackInputConfiguration: &MultitrackInputConfigurationProperty{
Enabled: jsii.Boolean(false),
MaximumResolution: jsii.String("maximumResolution"),
Policy: jsii.String("policy"),
},
Name: jsii.String("name"),
Preset: jsii.String("preset"),
RecordingConfigurationArn: jsii.String("recordingConfigurationArn"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
Type: jsii.String("type"),
}
Properties
authorizedoptionalboolean | IResolvableauthorizedoptionaltyping.Union[bool, IResolvable]authorizedoptionalBooleanAuthorizedoptionalboolAuthorizedoptionalinterface{} = false #Default : false
containerFormatoptionalstringcontainer_formatoptionalstrcontainerFormatoptionalStringContainerFormatoptionalstringContainerFormatoptional*string = "TS" #If multitrackInputConfiguration is specified and enabled is true , then containerFormat is required and must be set to FRAGMENTED_MP4 . Otherwise, containerFormat may be set to TS or FRAGMENTED_MP4 . Default: TS .
insecureIngestoptionalboolean | IResolvableinsecure_ingestoptionaltyping.Union[bool, IResolvable]insecureIngestoptionalBooleanInsecureIngestoptionalboolInsecureIngestoptionalinterface{} = false #Default : false
latencyModeoptionalstringlatency_modeoptionalstrlatencyModeoptionalStringLatencyModeoptionalstringLatencyModeoptional*string = "LOW" #notes
NORMAL: Use NORMAL to broadcast and deliver live video up to Full HD.LOW: Use LOW for near real-time interactions with viewers.
In the console,
LOWandNORMALcorrespond toUltra-lowandStandard, respectively.
Default : LOW
multitrackInputConfigurationoptionalIResolvable | CfnChannel.multitrack_input_configurationoptionaltyping.Union[IResolvable, MultitrackInputConfigurationProperty]multitrackInputConfigurationoptionalIResolvableMultitrackInputConfigurationoptionalIResolvableMultitrackInputConfigurationoptionalinterface{} #Default: no multitrack input configuration is specified.
presetoptionalstringpresetoptionalstrpresetoptionalStringPresetoptionalstringPresetoptional*string #This is selectable only for ADVANCED_HD and ADVANCED_SD channel types. For those channel types, the default preset is HIGHER_BANDWIDTH_DELIVERY . For other channel types ( BASIC and STANDARD ), preset is the empty string ("").
recordingConfigurationArnoptionalstring | IRecordingConfigurationRefrecording_configuration_arnoptionaltyping.Union[str, IRecordingConfigurationRef]recordingConfigurationArnoptionalStringRecordingConfigurationArnoptionalstringRecordingConfigurationArnoptionalinterface{} = "" #notes
An empty string indicates that recording is disabled for the channel. A RecordingConfiguration ARN indicates that recording is enabled using the specified recording configuration. See the RecordingConfiguration resource for more information and an example.
Default : "" (empty string, recording is disabled)
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #For more information, see Tag .
typeoptionalstringtypeoptionalstrtypeoptionalStringTypeoptionalstringTypeoptional*string = "STANDARD" #notes
If you exceed the allowable resolution or bitrate, the stream probably will disconnect immediately. For details, see Channel Types .
Default : STANDARD