CfnRouterInputProps Struct
Properties for defining a CfnRouterInput.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediaconnect as mediaconnect } from 'aws-cdk-lib';
declare const automatic: any;
declare const default_: any;
const cfnRouterInputProps: mediaconnect.CfnRouterInputProps = {
configuration: {
destinationEndpoint: {
endpointLifecycleManagement: 'endpointLifecycleManagement',
sourceTransitDecryption: {
automatic: automatic,
secretsManager: {
encryptionSecret: {
secretArn: 'secretArn',
},
// the properties below are optional
encryptionSecretType: 'encryptionSecretType',
},
},
// the properties below are optional
sourceTransitDecryptionType: 'sourceTransitDecryptionType',
},
failover: {
networkInterfaceArn: 'networkInterfaceArn',
protocolConfigurations: [{
rist: {
port: 123,
recoveryLatencyMilliseconds: 123,
},
rtmpPush: {
namingConfiguration: {
automatic: automatic,
manual: {
applicationName: 'applicationName',
streamName: 'streamName',
},
},
port: 123,
// the properties below are optional
namingType: 'namingType',
},
rtp: {
port: 123,
// the properties below are optional
forwardErrorCorrection: 'forwardErrorCorrection',
},
srtCaller: {
minimumLatencyMilliseconds: 123,
sourceAddress: 'sourceAddress',
sourcePort: 123,
// the properties below are optional
decryptionConfiguration: {
encryptionKey: {
roleArn: 'roleArn',
secretArn: 'secretArn',
},
},
streamId: 'streamId',
},
srtListener: {
minimumLatencyMilliseconds: 123,
port: 123,
// the properties below are optional
decryptionConfiguration: {
encryptionKey: {
roleArn: 'roleArn',
secretArn: 'secretArn',
},
},
},
}],
sourcePriorityMode: 'sourcePriorityMode',
// the properties below are optional
primarySourceIndex: 123,
},
mediaConnectFlow: {
sourceTransitDecryption: {
encryptionKeyConfiguration: {
automatic: automatic,
secretsManager: {
roleArn: 'roleArn',
secretArn: 'secretArn',
},
},
// the properties below are optional
encryptionKeyType: 'encryptionKeyType',
},
// the properties below are optional
flowArn: 'flowArn',
flowOutputArn: 'flowOutputArn',
},
mediaLiveChannel: {
sourceTransitDecryption: {
encryptionKeyConfiguration: {
automatic: automatic,
secretsManager: {
roleArn: 'roleArn',
secretArn: 'secretArn',
},
},
// the properties below are optional
encryptionKeyType: 'encryptionKeyType',
},
// the properties below are optional
mediaLiveChannelArn: 'mediaLiveChannelArn',
mediaLiveChannelOutputName: 'mediaLiveChannelOutputName',
mediaLivePipelineId: 'mediaLivePipelineId',
},
merge: {
mergeRecoveryWindowMilliseconds: 123,
networkInterfaceArn: 'networkInterfaceArn',
protocolConfigurations: [{
rist: {
port: 123,
recoveryLatencyMilliseconds: 123,
},
rtp: {
port: 123,
// the properties below are optional
forwardErrorCorrection: 'forwardErrorCorrection',
},
srtCaller: {
minimumLatencyMilliseconds: 123,
sourceAddress: 'sourceAddress',
sourcePort: 123,
// the properties below are optional
decryptionConfiguration: {
encryptionKey: {
roleArn: 'roleArn',
secretArn: 'secretArn',
},
},
streamId: 'streamId',
},
srtListener: {
minimumLatencyMilliseconds: 123,
port: 123,
// the properties below are optional
decryptionConfiguration: {
encryptionKey: {
roleArn: 'roleArn',
secretArn: 'secretArn',
},
},
},
}],
},
standard: {
networkInterfaceArn: 'networkInterfaceArn',
protocolConfiguration: {
rist: {
port: 123,
recoveryLatencyMilliseconds: 123,
},
rtmpPush: {
namingConfiguration: {
automatic: automatic,
manual: {
applicationName: 'applicationName',
streamName: 'streamName',
},
},
port: 123,
// the properties below are optional
namingType: 'namingType',
},
rtp: {
port: 123,
// the properties below are optional
forwardErrorCorrection: 'forwardErrorCorrection',
},
srtCaller: {
minimumLatencyMilliseconds: 123,
sourceAddress: 'sourceAddress',
sourcePort: 123,
// the properties below are optional
decryptionConfiguration: {
encryptionKey: {
roleArn: 'roleArn',
secretArn: 'secretArn',
},
},
streamId: 'streamId',
},
srtListener: {
minimumLatencyMilliseconds: 123,
port: 123,
// the properties below are optional
decryptionConfiguration: {
encryptionKey: {
roleArn: 'roleArn',
secretArn: 'secretArn',
},
},
},
},
// the properties below are optional
protocol: 'protocol',
},
},
maximumBitrate: 123,
name: 'name',
routingScope: 'routingScope',
tier: 'tier',
// the properties below are optional
availabilityZone: 'availabilityZone',
contentQualityAnalysisConfiguration: {
contentLevel: {
blackFrames: {
state: 'state',
thresholdSeconds: 123,
},
frozenFrames: {
state: 'state',
thresholdSeconds: 123,
},
silentAudio: {
state: 'state',
thresholdSeconds: 123,
},
},
},
maintenanceConfiguration: {
default: default_,
preferredDayTime: {
day: 'day',
time: 'time',
},
},
regionName: 'regionName',
tags: [{
key: 'key',
value: 'value',
}],
transitEncryption: {
encryptionKeyConfiguration: {
automatic: automatic,
secretsManager: {
roleArn: 'roleArn',
secretArn: 'secretArn',
},
},
// the properties below are optional
encryptionKeyType: 'encryptionKeyType',
},
};
python
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_mediaconnect as mediaconnect
# automatic: Any
# default_: Any
cfn_router_input_props = mediaconnect.CfnRouterInputProps(
configuration=mediaconnect.CfnRouterInput.RouterInputConfigurationProperty(
destination_endpoint=mediaconnect.CfnRouterInput.DestinationEndpointRouterInputConfigurationProperty(
endpoint_lifecycle_management="endpointLifecycleManagement",
source_transit_decryption=mediaconnect.CfnRouterInput.EndpointEncryptionConfigurationProperty(
automatic=automatic,
secrets_manager=mediaconnect.CfnRouterInput.SecretsManagerEndpointEncryptionConfigurationProperty(
encryption_secret=mediaconnect.CfnRouterInput.EndpointEncryptionSecretConfigurationProperty(
secret_arn="secretArn"
),
# the properties below are optional
encryption_secret_type="encryptionSecretType"
)
),
# the properties below are optional
source_transit_decryption_type="sourceTransitDecryptionType"
),
failover=mediaconnect.CfnRouterInput.FailoverRouterInputConfigurationProperty(
network_interface_arn="networkInterfaceArn",
protocol_configurations=[mediaconnect.CfnRouterInput.FailoverRouterInputProtocolConfigurationProperty(
rist=mediaconnect.CfnRouterInput.RistRouterInputConfigurationProperty(
port=123,
recovery_latency_milliseconds=123
),
rtmp_push=mediaconnect.CfnRouterInput.RtmpPushRouterInputConfigurationProperty(
naming_configuration=mediaconnect.CfnRouterInput.RtmpPushNamingConfigurationProperty(
automatic=automatic,
manual=mediaconnect.CfnRouterInput.ManualRtmpPushNamingConfigurationProperty(
application_name="applicationName",
stream_name="streamName"
)
),
port=123,
# the properties below are optional
naming_type="namingType"
),
rtp=mediaconnect.CfnRouterInput.RtpRouterInputConfigurationProperty(
port=123,
# the properties below are optional
forward_error_correction="forwardErrorCorrection"
),
srt_caller=mediaconnect.CfnRouterInput.SrtCallerRouterInputConfigurationProperty(
minimum_latency_milliseconds=123,
source_address="sourceAddress",
source_port=123,
# the properties below are optional
decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty(
encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty(
role_arn="roleArn",
secret_arn="secretArn"
)
),
stream_id="streamId"
),
srt_listener=mediaconnect.CfnRouterInput.SrtListenerRouterInputConfigurationProperty(
minimum_latency_milliseconds=123,
port=123,
# the properties below are optional
decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty(
encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty(
role_arn="roleArn",
secret_arn="secretArn"
)
)
)
)],
source_priority_mode="sourcePriorityMode",
# the properties below are optional
primary_source_index=123
),
media_connect_flow=mediaconnect.CfnRouterInput.MediaConnectFlowRouterInputConfigurationProperty(
source_transit_decryption=mediaconnect.CfnRouterInput.FlowTransitEncryptionProperty(
encryption_key_configuration=mediaconnect.CfnRouterInput.FlowTransitEncryptionKeyConfigurationProperty(
automatic=automatic,
secrets_manager=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty(
role_arn="roleArn",
secret_arn="secretArn"
)
),
# the properties below are optional
encryption_key_type="encryptionKeyType"
),
# the properties below are optional
flow_arn="flowArn",
flow_output_arn="flowOutputArn"
),
media_live_channel=mediaconnect.CfnRouterInput.MediaLiveChannelRouterInputConfigurationProperty(
source_transit_decryption=mediaconnect.CfnRouterInput.MediaLiveTransitEncryptionProperty(
encryption_key_configuration=mediaconnect.CfnRouterInput.MediaLiveTransitEncryptionKeyConfigurationProperty(
automatic=automatic,
secrets_manager=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty(
role_arn="roleArn",
secret_arn="secretArn"
)
),
# the properties below are optional
encryption_key_type="encryptionKeyType"
),
# the properties below are optional
media_live_channel_arn="mediaLiveChannelArn",
media_live_channel_output_name="mediaLiveChannelOutputName",
media_live_pipeline_id="mediaLivePipelineId"
),
merge=mediaconnect.CfnRouterInput.MergeRouterInputConfigurationProperty(
merge_recovery_window_milliseconds=123,
network_interface_arn="networkInterfaceArn",
protocol_configurations=[mediaconnect.CfnRouterInput.MergeRouterInputProtocolConfigurationProperty(
rist=mediaconnect.CfnRouterInput.RistRouterInputConfigurationProperty(
port=123,
recovery_latency_milliseconds=123
),
rtp=mediaconnect.CfnRouterInput.RtpRouterInputConfigurationProperty(
port=123,
# the properties below are optional
forward_error_correction="forwardErrorCorrection"
),
srt_caller=mediaconnect.CfnRouterInput.SrtCallerRouterInputConfigurationProperty(
minimum_latency_milliseconds=123,
source_address="sourceAddress",
source_port=123,
# the properties below are optional
decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty(
encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty(
role_arn="roleArn",
secret_arn="secretArn"
)
),
stream_id="streamId"
),
srt_listener=mediaconnect.CfnRouterInput.SrtListenerRouterInputConfigurationProperty(
minimum_latency_milliseconds=123,
port=123,
# the properties below are optional
decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty(
encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty(
role_arn="roleArn",
secret_arn="secretArn"
)
)
)
)]
),
standard=mediaconnect.CfnRouterInput.StandardRouterInputConfigurationProperty(
network_interface_arn="networkInterfaceArn",
protocol_configuration=mediaconnect.CfnRouterInput.RouterInputProtocolConfigurationProperty(
rist=mediaconnect.CfnRouterInput.RistRouterInputConfigurationProperty(
port=123,
recovery_latency_milliseconds=123
),
rtmp_push=mediaconnect.CfnRouterInput.RtmpPushRouterInputConfigurationProperty(
naming_configuration=mediaconnect.CfnRouterInput.RtmpPushNamingConfigurationProperty(
automatic=automatic,
manual=mediaconnect.CfnRouterInput.ManualRtmpPushNamingConfigurationProperty(
application_name="applicationName",
stream_name="streamName"
)
),
port=123,
# the properties below are optional
naming_type="namingType"
),
rtp=mediaconnect.CfnRouterInput.RtpRouterInputConfigurationProperty(
port=123,
# the properties below are optional
forward_error_correction="forwardErrorCorrection"
),
srt_caller=mediaconnect.CfnRouterInput.SrtCallerRouterInputConfigurationProperty(
minimum_latency_milliseconds=123,
source_address="sourceAddress",
source_port=123,
# the properties below are optional
decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty(
encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty(
role_arn="roleArn",
secret_arn="secretArn"
)
),
stream_id="streamId"
),
srt_listener=mediaconnect.CfnRouterInput.SrtListenerRouterInputConfigurationProperty(
minimum_latency_milliseconds=123,
port=123,
# the properties below are optional
decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty(
encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty(
role_arn="roleArn",
secret_arn="secretArn"
)
)
)
),
# the properties below are optional
protocol="protocol"
)
),
maximum_bitrate=123,
name="name",
routing_scope="routingScope",
tier="tier",
# the properties below are optional
availability_zone="availabilityZone",
content_quality_analysis_configuration=mediaconnect.CfnRouterInput.RouterContentQualityAnalysisConfigurationProperty(
content_level=mediaconnect.CfnRouterInput.ContentQualityAnalysisFeatureConfigurationProperty(
black_frames=mediaconnect.CfnRouterInput.BlackFramesConfigurationProperty(
state="state",
threshold_seconds=123
),
frozen_frames=mediaconnect.CfnRouterInput.FrozenFramesConfigurationProperty(
state="state",
threshold_seconds=123
),
silent_audio=mediaconnect.CfnRouterInput.SilentAudioConfigurationProperty(
state="state",
threshold_seconds=123
)
)
),
maintenance_configuration=mediaconnect.CfnRouterInput.MaintenanceConfigurationProperty(
default=default_,
preferred_day_time=mediaconnect.CfnRouterInput.PreferredDayTimeMaintenanceConfigurationProperty(
day="day",
time="time"
)
),
region_name="regionName",
tags=[CfnTag(
key="key",
value="value"
)],
transit_encryption=mediaconnect.CfnRouterInput.RouterInputTransitEncryptionProperty(
encryption_key_configuration=mediaconnect.CfnRouterInput.RouterInputTransitEncryptionKeyConfigurationProperty(
automatic=automatic,
secrets_manager=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty(
role_arn="roleArn",
secret_arn="secretArn"
)
),
# the properties below are optional
encryption_key_type="encryptionKeyType"
)
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.mediaconnect.*;
Object automatic;
Object default_;
CfnRouterInputProps cfnRouterInputProps = CfnRouterInputProps.builder()
.configuration(RouterInputConfigurationProperty.builder()
.destinationEndpoint(DestinationEndpointRouterInputConfigurationProperty.builder()
.endpointLifecycleManagement("endpointLifecycleManagement")
.sourceTransitDecryption(EndpointEncryptionConfigurationProperty.builder()
.automatic(automatic)
.secretsManager(SecretsManagerEndpointEncryptionConfigurationProperty.builder()
.encryptionSecret(EndpointEncryptionSecretConfigurationProperty.builder()
.secretArn("secretArn")
.build())
// the properties below are optional
.encryptionSecretType("encryptionSecretType")
.build())
.build())
// the properties below are optional
.sourceTransitDecryptionType("sourceTransitDecryptionType")
.build())
.failover(FailoverRouterInputConfigurationProperty.builder()
.networkInterfaceArn("networkInterfaceArn")
.protocolConfigurations(List.of(FailoverRouterInputProtocolConfigurationProperty.builder()
.rist(RistRouterInputConfigurationProperty.builder()
.port(123)
.recoveryLatencyMilliseconds(123)
.build())
.rtmpPush(RtmpPushRouterInputConfigurationProperty.builder()
.namingConfiguration(RtmpPushNamingConfigurationProperty.builder()
.automatic(automatic)
.manual(ManualRtmpPushNamingConfigurationProperty.builder()
.applicationName("applicationName")
.streamName("streamName")
.build())
.build())
.port(123)
// the properties below are optional
.namingType("namingType")
.build())
.rtp(RtpRouterInputConfigurationProperty.builder()
.port(123)
// the properties below are optional
.forwardErrorCorrection("forwardErrorCorrection")
.build())
.srtCaller(SrtCallerRouterInputConfigurationProperty.builder()
.minimumLatencyMilliseconds(123)
.sourceAddress("sourceAddress")
.sourcePort(123)
// the properties below are optional
.decryptionConfiguration(SrtDecryptionConfigurationProperty.builder()
.encryptionKey(SecretsManagerEncryptionKeyConfigurationProperty.builder()
.roleArn("roleArn")
.secretArn("secretArn")
.build())
.build())
.streamId("streamId")
.build())
.srtListener(SrtListenerRouterInputConfigurationProperty.builder()
.minimumLatencyMilliseconds(123)
.port(123)
// the properties below are optional
.decryptionConfiguration(SrtDecryptionConfigurationProperty.builder()
.encryptionKey(SecretsManagerEncryptionKeyConfigurationProperty.builder()
.roleArn("roleArn")
.secretArn("secretArn")
.build())
.build())
.build())
.build()))
.sourcePriorityMode("sourcePriorityMode")
// the properties below are optional
.primarySourceIndex(123)
.build())
.mediaConnectFlow(MediaConnectFlowRouterInputConfigurationProperty.builder()
.sourceTransitDecryption(FlowTransitEncryptionProperty.builder()
.encryptionKeyConfiguration(FlowTransitEncryptionKeyConfigurationProperty.builder()
.automatic(automatic)
.secretsManager(SecretsManagerEncryptionKeyConfigurationProperty.builder()
.roleArn("roleArn")
.secretArn("secretArn")
.build())
.build())
// the properties below are optional
.encryptionKeyType("encryptionKeyType")
.build())
// the properties below are optional
.flowArn("flowArn")
.flowOutputArn("flowOutputArn")
.build())
.mediaLiveChannel(MediaLiveChannelRouterInputConfigurationProperty.builder()
.sourceTransitDecryption(MediaLiveTransitEncryptionProperty.builder()
.encryptionKeyConfiguration(MediaLiveTransitEncryptionKeyConfigurationProperty.builder()
.automatic(automatic)
.secretsManager(SecretsManagerEncryptionKeyConfigurationProperty.builder()
.roleArn("roleArn")
.secretArn("secretArn")
.build())
.build())
// the properties below are optional
.encryptionKeyType("encryptionKeyType")
.build())
// the properties below are optional
.mediaLiveChannelArn("mediaLiveChannelArn")
.mediaLiveChannelOutputName("mediaLiveChannelOutputName")
.mediaLivePipelineId("mediaLivePipelineId")
.build())
.merge(MergeRouterInputConfigurationProperty.builder()
.mergeRecoveryWindowMilliseconds(123)
.networkInterfaceArn("networkInterfaceArn")
.protocolConfigurations(List.of(MergeRouterInputProtocolConfigurationProperty.builder()
.rist(RistRouterInputConfigurationProperty.builder()
.port(123)
.recoveryLatencyMilliseconds(123)
.build())
.rtp(RtpRouterInputConfigurationProperty.builder()
.port(123)
// the properties below are optional
.forwardErrorCorrection("forwardErrorCorrection")
.build())
.srtCaller(SrtCallerRouterInputConfigurationProperty.builder()
.minimumLatencyMilliseconds(123)
.sourceAddress("sourceAddress")
.sourcePort(123)
// the properties below are optional
.decryptionConfiguration(SrtDecryptionConfigurationProperty.builder()
.encryptionKey(SecretsManagerEncryptionKeyConfigurationProperty.builder()
.roleArn("roleArn")
.secretArn("secretArn")
.build())
.build())
.streamId("streamId")
.build())
.srtListener(SrtListenerRouterInputConfigurationProperty.builder()
.minimumLatencyMilliseconds(123)
.port(123)
// the properties below are optional
.decryptionConfiguration(SrtDecryptionConfigurationProperty.builder()
.encryptionKey(SecretsManagerEncryptionKeyConfigurationProperty.builder()
.roleArn("roleArn")
.secretArn("secretArn")
.build())
.build())
.build())
.build()))
.build())
.standard(StandardRouterInputConfigurationProperty.builder()
.networkInterfaceArn("networkInterfaceArn")
.protocolConfiguration(RouterInputProtocolConfigurationProperty.builder()
.rist(RistRouterInputConfigurationProperty.builder()
.port(123)
.recoveryLatencyMilliseconds(123)
.build())
.rtmpPush(RtmpPushRouterInputConfigurationProperty.builder()
.namingConfiguration(RtmpPushNamingConfigurationProperty.builder()
.automatic(automatic)
.manual(ManualRtmpPushNamingConfigurationProperty.builder()
.applicationName("applicationName")
.streamName("streamName")
.build())
.build())
.port(123)
// the properties below are optional
.namingType("namingType")
.build())
.rtp(RtpRouterInputConfigurationProperty.builder()
.port(123)
// the properties below are optional
.forwardErrorCorrection("forwardErrorCorrection")
.build())
.srtCaller(SrtCallerRouterInputConfigurationProperty.builder()
.minimumLatencyMilliseconds(123)
.sourceAddress("sourceAddress")
.sourcePort(123)
// the properties below are optional
.decryptionConfiguration(SrtDecryptionConfigurationProperty.builder()
.encryptionKey(SecretsManagerEncryptionKeyConfigurationProperty.builder()
.roleArn("roleArn")
.secretArn("secretArn")
.build())
.build())
.streamId("streamId")
.build())
.srtListener(SrtListenerRouterInputConfigurationProperty.builder()
.minimumLatencyMilliseconds(123)
.port(123)
// the properties below are optional
.decryptionConfiguration(SrtDecryptionConfigurationProperty.builder()
.encryptionKey(SecretsManagerEncryptionKeyConfigurationProperty.builder()
.roleArn("roleArn")
.secretArn("secretArn")
.build())
.build())
.build())
.build())
// the properties below are optional
.protocol("protocol")
.build())
.build())
.maximumBitrate(123)
.name("name")
.routingScope("routingScope")
.tier("tier")
// the properties below are optional
.availabilityZone("availabilityZone")
.contentQualityAnalysisConfiguration(RouterContentQualityAnalysisConfigurationProperty.builder()
.contentLevel(ContentQualityAnalysisFeatureConfigurationProperty.builder()
.blackFrames(BlackFramesConfigurationProperty.builder()
.state("state")
.thresholdSeconds(123)
.build())
.frozenFrames(FrozenFramesConfigurationProperty.builder()
.state("state")
.thresholdSeconds(123)
.build())
.silentAudio(SilentAudioConfigurationProperty.builder()
.state("state")
.thresholdSeconds(123)
.build())
.build())
.build())
.maintenanceConfiguration(MaintenanceConfigurationProperty.builder()
.default(default_)
.preferredDayTime(PreferredDayTimeMaintenanceConfigurationProperty.builder()
.day("day")
.time("time")
.build())
.build())
.regionName("regionName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.transitEncryption(RouterInputTransitEncryptionProperty.builder()
.encryptionKeyConfiguration(RouterInputTransitEncryptionKeyConfigurationProperty.builder()
.automatic(automatic)
.secretsManager(SecretsManagerEncryptionKeyConfigurationProperty.builder()
.roleArn("roleArn")
.secretArn("secretArn")
.build())
.build())
// the properties below are optional
.encryptionKeyType("encryptionKeyType")
.build())
.build();
csharp
// 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.MediaConnect;
var automatic;
var default_;
var cfnRouterInputProps = new CfnRouterInputProps {
Configuration = new RouterInputConfigurationProperty {
DestinationEndpoint = new DestinationEndpointRouterInputConfigurationProperty {
EndpointLifecycleManagement = "endpointLifecycleManagement",
SourceTransitDecryption = new EndpointEncryptionConfigurationProperty {
Automatic = automatic,
SecretsManager = new SecretsManagerEndpointEncryptionConfigurationProperty {
EncryptionSecret = new EndpointEncryptionSecretConfigurationProperty {
SecretArn = "secretArn"
},
// the properties below are optional
EncryptionSecretType = "encryptionSecretType"
}
},
// the properties below are optional
SourceTransitDecryptionType = "sourceTransitDecryptionType"
},
Failover = new FailoverRouterInputConfigurationProperty {
NetworkInterfaceArn = "networkInterfaceArn",
ProtocolConfigurations = new [] { new FailoverRouterInputProtocolConfigurationProperty {
Rist = new RistRouterInputConfigurationProperty {
Port = 123,
RecoveryLatencyMilliseconds = 123
},
RtmpPush = new RtmpPushRouterInputConfigurationProperty {
NamingConfiguration = new RtmpPushNamingConfigurationProperty {
Automatic = automatic,
Manual = new ManualRtmpPushNamingConfigurationProperty {
ApplicationName = "applicationName",
StreamName = "streamName"
}
},
Port = 123,
// the properties below are optional
NamingType = "namingType"
},
Rtp = new RtpRouterInputConfigurationProperty {
Port = 123,
// the properties below are optional
ForwardErrorCorrection = "forwardErrorCorrection"
},
SrtCaller = new SrtCallerRouterInputConfigurationProperty {
MinimumLatencyMilliseconds = 123,
SourceAddress = "sourceAddress",
SourcePort = 123,
// the properties below are optional
DecryptionConfiguration = new SrtDecryptionConfigurationProperty {
EncryptionKey = new SecretsManagerEncryptionKeyConfigurationProperty {
RoleArn = "roleArn",
SecretArn = "secretArn"
}
},
StreamId = "streamId"
},
SrtListener = new SrtListenerRouterInputConfigurationProperty {
MinimumLatencyMilliseconds = 123,
Port = 123,
// the properties below are optional
DecryptionConfiguration = new SrtDecryptionConfigurationProperty {
EncryptionKey = new SecretsManagerEncryptionKeyConfigurationProperty {
RoleArn = "roleArn",
SecretArn = "secretArn"
}
}
}
} },
SourcePriorityMode = "sourcePriorityMode",
// the properties below are optional
PrimarySourceIndex = 123
},
MediaConnectFlow = new MediaConnectFlowRouterInputConfigurationProperty {
SourceTransitDecryption = new FlowTransitEncryptionProperty {
EncryptionKeyConfiguration = new FlowTransitEncryptionKeyConfigurationProperty {
Automatic = automatic,
SecretsManager = new SecretsManagerEncryptionKeyConfigurationProperty {
RoleArn = "roleArn",
SecretArn = "secretArn"
}
},
// the properties below are optional
EncryptionKeyType = "encryptionKeyType"
},
// the properties below are optional
FlowArn = "flowArn",
FlowOutputArn = "flowOutputArn"
},
MediaLiveChannel = new MediaLiveChannelRouterInputConfigurationProperty {
SourceTransitDecryption = new MediaLiveTransitEncryptionProperty {
EncryptionKeyConfiguration = new MediaLiveTransitEncryptionKeyConfigurationProperty {
Automatic = automatic,
SecretsManager = new SecretsManagerEncryptionKeyConfigurationProperty {
RoleArn = "roleArn",
SecretArn = "secretArn"
}
},
// the properties below are optional
EncryptionKeyType = "encryptionKeyType"
},
// the properties below are optional
MediaLiveChannelArn = "mediaLiveChannelArn",
MediaLiveChannelOutputName = "mediaLiveChannelOutputName",
MediaLivePipelineId = "mediaLivePipelineId"
},
Merge = new MergeRouterInputConfigurationProperty {
MergeRecoveryWindowMilliseconds = 123,
NetworkInterfaceArn = "networkInterfaceArn",
ProtocolConfigurations = new [] { new MergeRouterInputProtocolConfigurationProperty {
Rist = new RistRouterInputConfigurationProperty {
Port = 123,
RecoveryLatencyMilliseconds = 123
},
Rtp = new RtpRouterInputConfigurationProperty {
Port = 123,
// the properties below are optional
ForwardErrorCorrection = "forwardErrorCorrection"
},
SrtCaller = new SrtCallerRouterInputConfigurationProperty {
MinimumLatencyMilliseconds = 123,
SourceAddress = "sourceAddress",
SourcePort = 123,
// the properties below are optional
DecryptionConfiguration = new SrtDecryptionConfigurationProperty {
EncryptionKey = new SecretsManagerEncryptionKeyConfigurationProperty {
RoleArn = "roleArn",
SecretArn = "secretArn"
}
},
StreamId = "streamId"
},
SrtListener = new SrtListenerRouterInputConfigurationProperty {
MinimumLatencyMilliseconds = 123,
Port = 123,
// the properties below are optional
DecryptionConfiguration = new SrtDecryptionConfigurationProperty {
EncryptionKey = new SecretsManagerEncryptionKeyConfigurationProperty {
RoleArn = "roleArn",
SecretArn = "secretArn"
}
}
}
} }
},
Standard = new StandardRouterInputConfigurationProperty {
NetworkInterfaceArn = "networkInterfaceArn",
ProtocolConfiguration = new RouterInputProtocolConfigurationProperty {
Rist = new RistRouterInputConfigurationProperty {
Port = 123,
RecoveryLatencyMilliseconds = 123
},
RtmpPush = new RtmpPushRouterInputConfigurationProperty {
NamingConfiguration = new RtmpPushNamingConfigurationProperty {
Automatic = automatic,
Manual = new ManualRtmpPushNamingConfigurationProperty {
ApplicationName = "applicationName",
StreamName = "streamName"
}
},
Port = 123,
// the properties below are optional
NamingType = "namingType"
},
Rtp = new RtpRouterInputConfigurationProperty {
Port = 123,
// the properties below are optional
ForwardErrorCorrection = "forwardErrorCorrection"
},
SrtCaller = new SrtCallerRouterInputConfigurationProperty {
MinimumLatencyMilliseconds = 123,
SourceAddress = "sourceAddress",
SourcePort = 123,
// the properties below are optional
DecryptionConfiguration = new SrtDecryptionConfigurationProperty {
EncryptionKey = new SecretsManagerEncryptionKeyConfigurationProperty {
RoleArn = "roleArn",
SecretArn = "secretArn"
}
},
StreamId = "streamId"
},
SrtListener = new SrtListenerRouterInputConfigurationProperty {
MinimumLatencyMilliseconds = 123,
Port = 123,
// the properties below are optional
DecryptionConfiguration = new SrtDecryptionConfigurationProperty {
EncryptionKey = new SecretsManagerEncryptionKeyConfigurationProperty {
RoleArn = "roleArn",
SecretArn = "secretArn"
}
}
}
},
// the properties below are optional
Protocol = "protocol"
}
},
MaximumBitrate = 123,
Name = "name",
RoutingScope = "routingScope",
Tier = "tier",
// the properties below are optional
AvailabilityZone = "availabilityZone",
ContentQualityAnalysisConfiguration = new RouterContentQualityAnalysisConfigurationProperty {
ContentLevel = new ContentQualityAnalysisFeatureConfigurationProperty {
BlackFrames = new BlackFramesConfigurationProperty {
State = "state",
ThresholdSeconds = 123
},
FrozenFrames = new FrozenFramesConfigurationProperty {
State = "state",
ThresholdSeconds = 123
},
SilentAudio = new SilentAudioConfigurationProperty {
State = "state",
ThresholdSeconds = 123
}
}
},
MaintenanceConfiguration = new MaintenanceConfigurationProperty {
Default = default_,
PreferredDayTime = new PreferredDayTimeMaintenanceConfigurationProperty {
Day = "day",
Time = "time"
}
},
RegionName = "regionName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TransitEncryption = new RouterInputTransitEncryptionProperty {
EncryptionKeyConfiguration = new RouterInputTransitEncryptionKeyConfigurationProperty {
Automatic = automatic,
SecretsManager = new SecretsManagerEncryptionKeyConfigurationProperty {
RoleArn = "roleArn",
SecretArn = "secretArn"
}
},
// the properties below are optional
EncryptionKeyType = "encryptionKeyType"
}
};
go
// 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"
var automatic interface{}
var default_ interface{}
cfnRouterInputProps := &CfnRouterInputProps{
Configuration: &RouterInputConfigurationProperty{
DestinationEndpoint: &DestinationEndpointRouterInputConfigurationProperty{
EndpointLifecycleManagement: jsii.String("endpointLifecycleManagement"),
SourceTransitDecryption: &EndpointEncryptionConfigurationProperty{
Automatic: automatic,
SecretsManager: &SecretsManagerEndpointEncryptionConfigurationProperty{
EncryptionSecret: &EndpointEncryptionSecretConfigurationProperty{
SecretArn: jsii.String("secretArn"),
},
// the properties below are optional
EncryptionSecretType: jsii.String("encryptionSecretType"),
},
},
// the properties below are optional
SourceTransitDecryptionType: jsii.String("sourceTransitDecryptionType"),
},
Failover: &FailoverRouterInputConfigurationProperty{
NetworkInterfaceArn: jsii.String("networkInterfaceArn"),
ProtocolConfigurations: []interface{}{
&FailoverRouterInputProtocolConfigurationProperty{
Rist: &RistRouterInputConfigurationProperty{
Port: jsii.Number(123),
RecoveryLatencyMilliseconds: jsii.Number(123),
},
RtmpPush: &RtmpPushRouterInputConfigurationProperty{
NamingConfiguration: &RtmpPushNamingConfigurationProperty{
Automatic: automatic,
Manual: &ManualRtmpPushNamingConfigurationProperty{
ApplicationName: jsii.String("applicationName"),
StreamName: jsii.String("streamName"),
},
},
Port: jsii.Number(123),
// the properties below are optional
NamingType: jsii.String("namingType"),
},
Rtp: &RtpRouterInputConfigurationProperty{
Port: jsii.Number(123),
// the properties below are optional
ForwardErrorCorrection: jsii.String("forwardErrorCorrection"),
},
SrtCaller: &SrtCallerRouterInputConfigurationProperty{
MinimumLatencyMilliseconds: jsii.Number(123),
SourceAddress: jsii.String("sourceAddress"),
SourcePort: jsii.Number(123),
// the properties below are optional
DecryptionConfiguration: &SrtDecryptionConfigurationProperty{
EncryptionKey: &SecretsManagerEncryptionKeyConfigurationProperty{
RoleArn: jsii.String("roleArn"),
SecretArn: jsii.String("secretArn"),
},
},
StreamId: jsii.String("streamId"),
},
SrtListener: &SrtListenerRouterInputConfigurationProperty{
MinimumLatencyMilliseconds: jsii.Number(123),
Port: jsii.Number(123),
// the properties below are optional
DecryptionConfiguration: &SrtDecryptionConfigurationProperty{
EncryptionKey: &SecretsManagerEncryptionKeyConfigurationProperty{
RoleArn: jsii.String("roleArn"),
SecretArn: jsii.String("secretArn"),
},
},
},
},
},
SourcePriorityMode: jsii.String("sourcePriorityMode"),
// the properties below are optional
PrimarySourceIndex: jsii.Number(123),
},
MediaConnectFlow: &MediaConnectFlowRouterInputConfigurationProperty{
SourceTransitDecryption: &FlowTransitEncryptionProperty{
EncryptionKeyConfiguration: &FlowTransitEncryptionKeyConfigurationProperty{
Automatic: automatic,
SecretsManager: &SecretsManagerEncryptionKeyConfigurationProperty{
RoleArn: jsii.String("roleArn"),
SecretArn: jsii.String("secretArn"),
},
},
// the properties below are optional
EncryptionKeyType: jsii.String("encryptionKeyType"),
},
// the properties below are optional
FlowArn: jsii.String("flowArn"),
FlowOutputArn: jsii.String("flowOutputArn"),
},
MediaLiveChannel: &MediaLiveChannelRouterInputConfigurationProperty{
SourceTransitDecryption: &MediaLiveTransitEncryptionProperty{
EncryptionKeyConfiguration: &MediaLiveTransitEncryptionKeyConfigurationProperty{
Automatic: automatic,
SecretsManager: &SecretsManagerEncryptionKeyConfigurationProperty{
RoleArn: jsii.String("roleArn"),
SecretArn: jsii.String("secretArn"),
},
},
// the properties below are optional
EncryptionKeyType: jsii.String("encryptionKeyType"),
},
// the properties below are optional
MediaLiveChannelArn: jsii.String("mediaLiveChannelArn"),
MediaLiveChannelOutputName: jsii.String("mediaLiveChannelOutputName"),
MediaLivePipelineId: jsii.String("mediaLivePipelineId"),
},
Merge: &MergeRouterInputConfigurationProperty{
MergeRecoveryWindowMilliseconds: jsii.Number(123),
NetworkInterfaceArn: jsii.String("networkInterfaceArn"),
ProtocolConfigurations: []interface{}{
&MergeRouterInputProtocolConfigurationProperty{
Rist: &RistRouterInputConfigurationProperty{
Port: jsii.Number(123),
RecoveryLatencyMilliseconds: jsii.Number(123),
},
Rtp: &RtpRouterInputConfigurationProperty{
Port: jsii.Number(123),
// the properties below are optional
ForwardErrorCorrection: jsii.String("forwardErrorCorrection"),
},
SrtCaller: &SrtCallerRouterInputConfigurationProperty{
MinimumLatencyMilliseconds: jsii.Number(123),
SourceAddress: jsii.String("sourceAddress"),
SourcePort: jsii.Number(123),
// the properties below are optional
DecryptionConfiguration: &SrtDecryptionConfigurationProperty{
EncryptionKey: &SecretsManagerEncryptionKeyConfigurationProperty{
RoleArn: jsii.String("roleArn"),
SecretArn: jsii.String("secretArn"),
},
},
StreamId: jsii.String("streamId"),
},
SrtListener: &SrtListenerRouterInputConfigurationProperty{
MinimumLatencyMilliseconds: jsii.Number(123),
Port: jsii.Number(123),
// the properties below are optional
DecryptionConfiguration: &SrtDecryptionConfigurationProperty{
EncryptionKey: &SecretsManagerEncryptionKeyConfigurationProperty{
RoleArn: jsii.String("roleArn"),
SecretArn: jsii.String("secretArn"),
},
},
},
},
},
},
Standard: &StandardRouterInputConfigurationProperty{
NetworkInterfaceArn: jsii.String("networkInterfaceArn"),
ProtocolConfiguration: &RouterInputProtocolConfigurationProperty{
Rist: &RistRouterInputConfigurationProperty{
Port: jsii.Number(123),
RecoveryLatencyMilliseconds: jsii.Number(123),
},
RtmpPush: &RtmpPushRouterInputConfigurationProperty{
NamingConfiguration: &RtmpPushNamingConfigurationProperty{
Automatic: automatic,
Manual: &ManualRtmpPushNamingConfigurationProperty{
ApplicationName: jsii.String("applicationName"),
StreamName: jsii.String("streamName"),
},
},
Port: jsii.Number(123),
// the properties below are optional
NamingType: jsii.String("namingType"),
},
Rtp: &RtpRouterInputConfigurationProperty{
Port: jsii.Number(123),
// the properties below are optional
ForwardErrorCorrection: jsii.String("forwardErrorCorrection"),
},
SrtCaller: &SrtCallerRouterInputConfigurationProperty{
MinimumLatencyMilliseconds: jsii.Number(123),
SourceAddress: jsii.String("sourceAddress"),
SourcePort: jsii.Number(123),
// the properties below are optional
DecryptionConfiguration: &SrtDecryptionConfigurationProperty{
EncryptionKey: &SecretsManagerEncryptionKeyConfigurationProperty{
RoleArn: jsii.String("roleArn"),
SecretArn: jsii.String("secretArn"),
},
},
StreamId: jsii.String("streamId"),
},
SrtListener: &SrtListenerRouterInputConfigurationProperty{
MinimumLatencyMilliseconds: jsii.Number(123),
Port: jsii.Number(123),
// the properties below are optional
DecryptionConfiguration: &SrtDecryptionConfigurationProperty{
EncryptionKey: &SecretsManagerEncryptionKeyConfigurationProperty{
RoleArn: jsii.String("roleArn"),
SecretArn: jsii.String("secretArn"),
},
},
},
},
// the properties below are optional
Protocol: jsii.String("protocol"),
},
},
MaximumBitrate: jsii.Number(123),
Name: jsii.String("name"),
RoutingScope: jsii.String("routingScope"),
Tier: jsii.String("tier"),
// the properties below are optional
AvailabilityZone: jsii.String("availabilityZone"),
ContentQualityAnalysisConfiguration: &RouterContentQualityAnalysisConfigurationProperty{
ContentLevel: &ContentQualityAnalysisFeatureConfigurationProperty{
BlackFrames: &BlackFramesConfigurationProperty{
State: jsii.String("state"),
ThresholdSeconds: jsii.Number(123),
},
FrozenFrames: &FrozenFramesConfigurationProperty{
State: jsii.String("state"),
ThresholdSeconds: jsii.Number(123),
},
SilentAudio: &SilentAudioConfigurationProperty{
State: jsii.String("state"),
ThresholdSeconds: jsii.Number(123),
},
},
},
MaintenanceConfiguration: &MaintenanceConfigurationProperty{
Default: default_,
PreferredDayTime: &PreferredDayTimeMaintenanceConfigurationProperty{
Day: jsii.String("day"),
Time: jsii.String("time"),
},
},
RegionName: jsii.String("regionName"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
TransitEncryption: &RouterInputTransitEncryptionProperty{
EncryptionKeyConfiguration: &RouterInputTransitEncryptionKeyConfigurationProperty{
Automatic: automatic,
SecretsManager: &SecretsManagerEncryptionKeyConfigurationProperty{
RoleArn: jsii.String("roleArn"),
SecretArn: jsii.String("secretArn"),
},
},
// the properties below are optional
EncryptionKeyType: jsii.String("encryptionKeyType"),
},
}
Properties
availabilityZoneoptionalstringavailability_zoneoptionalstravailabilityZoneoptionalStringAvailabilityZoneoptionalstringAvailabilityZoneoptional*string #The Availability Zone of the router input.
configurationIResolvable | CfnRouterInput.configurationtyping.Union[IResolvable, RouterInputConfigurationProperty]configurationIResolvableConfigurationIResolvableConfigurationinterface{} required #The configuration settings for a router input.
contentQualityAnalysisConfigurationoptionalIResolvable | CfnRouterInput.content_quality_analysis_configurationoptionaltyping.Union[IResolvable, RouterContentQualityAnalysisConfigurationProperty]contentQualityAnalysisConfigurationoptionalIResolvableContentQualityAnalysisConfigurationoptionalIResolvableContentQualityAnalysisConfigurationoptionalinterface{} #The content quality analysis configuration for the router input.
The content quality analysis feature only monitors the first video stream and the first audio stream it encounters within the router input source.
maintenanceConfigurationoptionalIResolvable | CfnRouterInput.maintenance_configurationoptionaltyping.Union[IResolvable, MaintenanceConfigurationProperty]maintenanceConfigurationoptionalIResolvableMaintenanceConfigurationoptionalIResolvableMaintenanceConfigurationoptionalinterface{} #The maintenance configuration settings applied to this router input.
maximumBitratenumbermaximum_bitrateint | floatmaximumBitrateNumberMaximumBitratedoubleMaximumBitrate*float64 required #The maximum bitrate for the router input.
The name of the router input.
regionNameoptionalstringregion_nameoptionalstrregionNameoptionalStringRegionNameoptionalstringRegionNameoptional*string #The AWS Region where the router input is located.
routingScopestringrouting_scopestrroutingScopeStringRoutingScopestringRoutingScope*string required #Indicates whether the router input is configured for Regional or global routing.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #Key-value pairs that can be used to tag and organize this router input.
The tier level of the router input.
transitEncryptionoptionalIResolvable | CfnRouterInput.transit_encryptionoptionaltyping.Union[IResolvable, RouterInputTransitEncryptionProperty]transitEncryptionoptionalIResolvableTransitEncryptionoptionalIResolvableTransitEncryptionoptionalinterface{} #Encryption information.