StandardRouterOutputConfigurationProperty Struct
The configuration settings for a standard router output, 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 public_: any;
const standardRouterOutputConfigurationProperty: mediaconnect.CfnRouterOutput.StandardRouterOutputConfigurationProperty = {
networkInterfaceArn: 'networkInterfaceArn',
protocolConfiguration: {
rist: {
destinationAddress: 'destinationAddress',
destinationPort: 123,
},
rtmpPush: {
applicationName: 'applicationName',
destinationAddress: 'destinationAddress',
destinationPort: 123,
streamName: 'streamName',
// the properties below are optional
tlsEncryption: {
encryptionConfiguration: {
public: public_,
},
// the properties below are optional
encryptionType: 'encryptionType',
},
},
rtp: {
destinationAddress: 'destinationAddress',
destinationPort: 123,
// the properties below are optional
forwardErrorCorrection: 'forwardErrorCorrection',
},
srtCaller: {
destinationAddress: 'destinationAddress',
destinationPort: 123,
minimumLatencyMilliseconds: 123,
// the properties below are optional
encryptionConfiguration: {
encryptionKey: {
roleArn: 'roleArn',
secretArn: 'secretArn',
},
},
streamId: 'streamId',
},
srtListener: {
minimumLatencyMilliseconds: 123,
port: 123,
// the properties below are optional
encryptionConfiguration: {
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
# public_: Any
standard_router_output_configuration_property = mediaconnect.CfnRouterOutput.StandardRouterOutputConfigurationProperty(
network_interface_arn="networkInterfaceArn",
protocol_configuration=mediaconnect.CfnRouterOutput.RouterOutputProtocolConfigurationProperty(
rist=mediaconnect.CfnRouterOutput.RistRouterOutputConfigurationProperty(
destination_address="destinationAddress",
destination_port=123
),
rtmp_push=mediaconnect.CfnRouterOutput.RtmpPushRouterOutputConfigurationProperty(
application_name="applicationName",
destination_address="destinationAddress",
destination_port=123,
stream_name="streamName",
# the properties below are optional
tls_encryption=mediaconnect.CfnRouterOutput.TlsEncryptionProperty(
encryption_configuration=mediaconnect.CfnRouterOutput.TlsEncryptionConfigurationProperty(
public=public_
),
# the properties below are optional
encryption_type="encryptionType"
)
),
rtp=mediaconnect.CfnRouterOutput.RtpRouterOutputConfigurationProperty(
destination_address="destinationAddress",
destination_port=123,
# the properties below are optional
forward_error_correction="forwardErrorCorrection"
),
srt_caller=mediaconnect.CfnRouterOutput.SrtCallerRouterOutputConfigurationProperty(
destination_address="destinationAddress",
destination_port=123,
minimum_latency_milliseconds=123,
# the properties below are optional
encryption_configuration=mediaconnect.CfnRouterOutput.SrtEncryptionConfigurationProperty(
encryption_key=mediaconnect.CfnRouterOutput.SecretsManagerEncryptionKeyConfigurationProperty(
role_arn="roleArn",
secret_arn="secretArn"
)
),
stream_id="streamId"
),
srt_listener=mediaconnect.CfnRouterOutput.SrtListenerRouterOutputConfigurationProperty(
minimum_latency_milliseconds=123,
port=123,
# the properties below are optional
encryption_configuration=mediaconnect.CfnRouterOutput.SrtEncryptionConfigurationProperty(
encryption_key=mediaconnect.CfnRouterOutput.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 public_;
StandardRouterOutputConfigurationProperty standardRouterOutputConfigurationProperty = StandardRouterOutputConfigurationProperty.builder()
.networkInterfaceArn("networkInterfaceArn")
.protocolConfiguration(RouterOutputProtocolConfigurationProperty.builder()
.rist(RistRouterOutputConfigurationProperty.builder()
.destinationAddress("destinationAddress")
.destinationPort(123)
.build())
.rtmpPush(RtmpPushRouterOutputConfigurationProperty.builder()
.applicationName("applicationName")
.destinationAddress("destinationAddress")
.destinationPort(123)
.streamName("streamName")
// the properties below are optional
.tlsEncryption(TlsEncryptionProperty.builder()
.encryptionConfiguration(TlsEncryptionConfigurationProperty.builder()
.public(public_)
.build())
// the properties below are optional
.encryptionType("encryptionType")
.build())
.build())
.rtp(RtpRouterOutputConfigurationProperty.builder()
.destinationAddress("destinationAddress")
.destinationPort(123)
// the properties below are optional
.forwardErrorCorrection("forwardErrorCorrection")
.build())
.srtCaller(SrtCallerRouterOutputConfigurationProperty.builder()
.destinationAddress("destinationAddress")
.destinationPort(123)
.minimumLatencyMilliseconds(123)
// the properties below are optional
.encryptionConfiguration(SrtEncryptionConfigurationProperty.builder()
.encryptionKey(SecretsManagerEncryptionKeyConfigurationProperty.builder()
.roleArn("roleArn")
.secretArn("secretArn")
.build())
.build())
.streamId("streamId")
.build())
.srtListener(SrtListenerRouterOutputConfigurationProperty.builder()
.minimumLatencyMilliseconds(123)
.port(123)
// the properties below are optional
.encryptionConfiguration(SrtEncryptionConfigurationProperty.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 public_;
var standardRouterOutputConfigurationProperty = new StandardRouterOutputConfigurationProperty {
NetworkInterfaceArn = "networkInterfaceArn",
ProtocolConfiguration = new RouterOutputProtocolConfigurationProperty {
Rist = new RistRouterOutputConfigurationProperty {
DestinationAddress = "destinationAddress",
DestinationPort = 123
},
RtmpPush = new RtmpPushRouterOutputConfigurationProperty {
ApplicationName = "applicationName",
DestinationAddress = "destinationAddress",
DestinationPort = 123,
StreamName = "streamName",
// the properties below are optional
TlsEncryption = new TlsEncryptionProperty {
EncryptionConfiguration = new TlsEncryptionConfigurationProperty {
Public = public_
},
// the properties below are optional
EncryptionType = "encryptionType"
}
},
Rtp = new RtpRouterOutputConfigurationProperty {
DestinationAddress = "destinationAddress",
DestinationPort = 123,
// the properties below are optional
ForwardErrorCorrection = "forwardErrorCorrection"
},
SrtCaller = new SrtCallerRouterOutputConfigurationProperty {
DestinationAddress = "destinationAddress",
DestinationPort = 123,
MinimumLatencyMilliseconds = 123,
// the properties below are optional
EncryptionConfiguration = new SrtEncryptionConfigurationProperty {
EncryptionKey = new SecretsManagerEncryptionKeyConfigurationProperty {
RoleArn = "roleArn",
SecretArn = "secretArn"
}
},
StreamId = "streamId"
},
SrtListener = new SrtListenerRouterOutputConfigurationProperty {
MinimumLatencyMilliseconds = 123,
Port = 123,
// the properties below are optional
EncryptionConfiguration = new SrtEncryptionConfigurationProperty {
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 public_ interface{}
standardRouterOutputConfigurationProperty := &StandardRouterOutputConfigurationProperty{
NetworkInterfaceArn: jsii.String("networkInterfaceArn"),
ProtocolConfiguration: &RouterOutputProtocolConfigurationProperty{
Rist: &RistRouterOutputConfigurationProperty{
DestinationAddress: jsii.String("destinationAddress"),
DestinationPort: jsii.Number(123),
},
RtmpPush: &RtmpPushRouterOutputConfigurationProperty{
ApplicationName: jsii.String("applicationName"),
DestinationAddress: jsii.String("destinationAddress"),
DestinationPort: jsii.Number(123),
StreamName: jsii.String("streamName"),
// the properties below are optional
TlsEncryption: &TlsEncryptionProperty{
EncryptionConfiguration: &TlsEncryptionConfigurationProperty{
Public: public_,
},
// the properties below are optional
EncryptionType: jsii.String("encryptionType"),
},
},
Rtp: &RtpRouterOutputConfigurationProperty{
DestinationAddress: jsii.String("destinationAddress"),
DestinationPort: jsii.Number(123),
// the properties below are optional
ForwardErrorCorrection: jsii.String("forwardErrorCorrection"),
},
SrtCaller: &SrtCallerRouterOutputConfigurationProperty{
DestinationAddress: jsii.String("destinationAddress"),
DestinationPort: jsii.Number(123),
MinimumLatencyMilliseconds: jsii.Number(123),
// the properties below are optional
EncryptionConfiguration: &SrtEncryptionConfigurationProperty{
EncryptionKey: &SecretsManagerEncryptionKeyConfigurationProperty{
RoleArn: jsii.String("roleArn"),
SecretArn: jsii.String("secretArn"),
},
},
StreamId: jsii.String("streamId"),
},
SrtListener: &SrtListenerRouterOutputConfigurationProperty{
MinimumLatencyMilliseconds: jsii.Number(123),
Port: jsii.Number(123),
// the properties below are optional
EncryptionConfiguration: &SrtEncryptionConfigurationProperty{
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 output.
protocoloptionalstringprotocoloptionalstrprotocoloptionalStringProtocoloptionalstringProtocoloptional*string #protocolConfigurationIResolvable | CfnRouterOutput.protocol_configurationtyping.Union[IResolvable, RouterOutputProtocolConfigurationProperty]protocolConfigurationIResolvableProtocolConfigurationIResolvableProtocolConfigurationinterface{} required #The protocol configuration settings for a router output.