StandardRouterInputConfigurationProperty Struct
The configuration settings for a standard router input, including the protocol, protocol-specific configuration, network interface, and availability zone.
| 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;
const standardRouterInputConfigurationProperty: mediaconnect.CfnRouterInput.StandardRouterInputConfigurationProperty = {
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',
};
python
# 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
standard_router_input_configuration_property = 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"
)
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;
StandardRouterInputConfigurationProperty standardRouterInputConfigurationProperty = 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();
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 standardRouterInputConfigurationProperty = 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"
};
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{}
standardRouterInputConfigurationProperty := &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"),
}
Properties
networkInterfaceArnstringnetwork_interface_arnstrnetworkInterfaceArnStringNetworkInterfaceArnstringNetworkInterfaceArn*string required #The Amazon Resource Name (ARN) of the network interface associated with the standard router input.
protocoloptionalstringprotocoloptionalstrprotocoloptionalStringProtocoloptionalstringProtocoloptional*string #protocolConfigurationIResolvable | CfnRouterInput.protocol_configurationtyping.Union[IResolvable, RouterInputProtocolConfigurationProperty]protocolConfigurationIResolvableProtocolConfigurationIResolvableProtocolConfigurationinterface{} required #The protocol configuration settings for a router input.