RouterOutputConfigurationProperty Struct
| 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_mediaconnect as mediaconnect } from 'aws-cdk-lib';
declare const automatic: any;
declare const public_: any;
const routerOutputConfigurationProperty: mediaconnect.CfnRouterOutput.RouterOutputConfigurationProperty = {
mediaConnectFlow: {
destinationTransitEncryption: {
encryptionKeyConfiguration: {
automatic: automatic,
secretsManager: {
roleArn: 'roleArn',
secretArn: 'secretArn',
},
},
// the properties below are optional
encryptionKeyType: 'encryptionKeyType',
},
// the properties below are optional
flowArn: 'flowArn',
flowSourceArn: 'flowSourceArn',
},
mediaLiveInput: {
destinationTransitEncryption: {
encryptionKeyConfiguration: {
automatic: automatic,
secretsManager: {
roleArn: 'roleArn',
secretArn: 'secretArn',
},
},
// the properties below are optional
encryptionKeyType: 'encryptionKeyType',
},
// the properties below are optional
mediaLiveInputArn: 'mediaLiveInputArn',
mediaLivePipelineId: 'mediaLivePipelineId',
},
sourceEndpoint: {
destinationTransitEncryption: {
automatic: automatic,
secretsManager: {
encryptionSecret: {
secretArn: 'secretArn',
},
// the properties below are optional
encryptionSecretType: 'encryptionSecretType',
},
},
endpointLifecycleManagement: 'endpointLifecycleManagement',
// the properties below are optional
destinationTransitEncryptionType: 'destinationTransitEncryptionType',
},
standard: {
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',
},
};
# 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
# public_: Any
router_output_configuration_property = mediaconnect.CfnRouterOutput.RouterOutputConfigurationProperty(
media_connect_flow=mediaconnect.CfnRouterOutput.MediaConnectFlowRouterOutputConfigurationProperty(
destination_transit_encryption=mediaconnect.CfnRouterOutput.FlowTransitEncryptionProperty(
encryption_key_configuration=mediaconnect.CfnRouterOutput.FlowTransitEncryptionKeyConfigurationProperty(
automatic=automatic,
secrets_manager=mediaconnect.CfnRouterOutput.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_source_arn="flowSourceArn"
),
media_live_input=mediaconnect.CfnRouterOutput.MediaLiveInputRouterOutputConfigurationProperty(
destination_transit_encryption=mediaconnect.CfnRouterOutput.MediaLiveTransitEncryptionProperty(
encryption_key_configuration=mediaconnect.CfnRouterOutput.MediaLiveTransitEncryptionKeyConfigurationProperty(
automatic=automatic,
secrets_manager=mediaconnect.CfnRouterOutput.SecretsManagerEncryptionKeyConfigurationProperty(
role_arn="roleArn",
secret_arn="secretArn"
)
),
# the properties below are optional
encryption_key_type="encryptionKeyType"
),
# the properties below are optional
media_live_input_arn="mediaLiveInputArn",
media_live_pipeline_id="mediaLivePipelineId"
),
source_endpoint=mediaconnect.CfnRouterOutput.SourceEndpointRouterOutputConfigurationProperty(
destination_transit_encryption=mediaconnect.CfnRouterOutput.EndpointEncryptionConfigurationProperty(
automatic=automatic,
secrets_manager=mediaconnect.CfnRouterOutput.SecretsManagerEndpointEncryptionConfigurationProperty(
encryption_secret=mediaconnect.CfnRouterOutput.EndpointEncryptionSecretConfigurationProperty(
secret_arn="secretArn"
),
# the properties below are optional
encryption_secret_type="encryptionSecretType"
)
),
endpoint_lifecycle_management="endpointLifecycleManagement",
# the properties below are optional
destination_transit_encryption_type="destinationTransitEncryptionType"
),
standard=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"
)
)
// 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 public_;
RouterOutputConfigurationProperty routerOutputConfigurationProperty = RouterOutputConfigurationProperty.builder()
.mediaConnectFlow(MediaConnectFlowRouterOutputConfigurationProperty.builder()
.destinationTransitEncryption(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")
.flowSourceArn("flowSourceArn")
.build())
.mediaLiveInput(MediaLiveInputRouterOutputConfigurationProperty.builder()
.destinationTransitEncryption(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
.mediaLiveInputArn("mediaLiveInputArn")
.mediaLivePipelineId("mediaLivePipelineId")
.build())
.sourceEndpoint(SourceEndpointRouterOutputConfigurationProperty.builder()
.destinationTransitEncryption(EndpointEncryptionConfigurationProperty.builder()
.automatic(automatic)
.secretsManager(SecretsManagerEndpointEncryptionConfigurationProperty.builder()
.encryptionSecret(EndpointEncryptionSecretConfigurationProperty.builder()
.secretArn("secretArn")
.build())
// the properties below are optional
.encryptionSecretType("encryptionSecretType")
.build())
.build())
.endpointLifecycleManagement("endpointLifecycleManagement")
// the properties below are optional
.destinationTransitEncryptionType("destinationTransitEncryptionType")
.build())
.standard(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())
.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.MediaConnect;
var automatic;
var public_;
var routerOutputConfigurationProperty = new RouterOutputConfigurationProperty {
MediaConnectFlow = new MediaConnectFlowRouterOutputConfigurationProperty {
DestinationTransitEncryption = 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",
FlowSourceArn = "flowSourceArn"
},
MediaLiveInput = new MediaLiveInputRouterOutputConfigurationProperty {
DestinationTransitEncryption = 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
MediaLiveInputArn = "mediaLiveInputArn",
MediaLivePipelineId = "mediaLivePipelineId"
},
SourceEndpoint = new SourceEndpointRouterOutputConfigurationProperty {
DestinationTransitEncryption = new EndpointEncryptionConfigurationProperty {
Automatic = automatic,
SecretsManager = new SecretsManagerEndpointEncryptionConfigurationProperty {
EncryptionSecret = new EndpointEncryptionSecretConfigurationProperty {
SecretArn = "secretArn"
},
// the properties below are optional
EncryptionSecretType = "encryptionSecretType"
}
},
EndpointLifecycleManagement = "endpointLifecycleManagement",
// the properties below are optional
DestinationTransitEncryptionType = "destinationTransitEncryptionType"
},
Standard = 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"
}
};
// 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 public_ interface{}
routerOutputConfigurationProperty := &RouterOutputConfigurationProperty{
MediaConnectFlow: &MediaConnectFlowRouterOutputConfigurationProperty{
DestinationTransitEncryption: &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"),
FlowSourceArn: jsii.String("flowSourceArn"),
},
MediaLiveInput: &MediaLiveInputRouterOutputConfigurationProperty{
DestinationTransitEncryption: &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
MediaLiveInputArn: jsii.String("mediaLiveInputArn"),
MediaLivePipelineId: jsii.String("mediaLivePipelineId"),
},
SourceEndpoint: &SourceEndpointRouterOutputConfigurationProperty{
DestinationTransitEncryption: &EndpointEncryptionConfigurationProperty{
Automatic: automatic,
SecretsManager: &SecretsManagerEndpointEncryptionConfigurationProperty{
EncryptionSecret: &EndpointEncryptionSecretConfigurationProperty{
SecretArn: jsii.String("secretArn"),
},
// the properties below are optional
EncryptionSecretType: jsii.String("encryptionSecretType"),
},
},
EndpointLifecycleManagement: jsii.String("endpointLifecycleManagement"),
// the properties below are optional
DestinationTransitEncryptionType: jsii.String("destinationTransitEncryptionType"),
},
Standard: &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
mediaConnectFlowoptionalIResolvable | CfnRouterOutput.media_connect_flowoptionaltyping.Union[IResolvable, MediaConnectFlowRouterOutputConfigurationProperty]mediaConnectFlowoptionalIResolvableMediaConnectFlowoptionalIResolvableMediaConnectFlowoptionalinterface{} #notes
To connect the router output to the flow source, provide both flowArn and flowSourceArn. To disconnect it, call the update operation and omit both fields while keeping this configuration object. You can't change destinationTransitEncryption while the router output is connected to a flow source. To change it, first disconnect the router output, then update the encryption.
mediaLiveInputoptionalIResolvable | CfnRouterOutput.media_live_inputoptionaltyping.Union[IResolvable, MediaLiveInputRouterOutputConfigurationProperty]mediaLiveInputoptionalIResolvableMediaLiveInputoptionalIResolvableMediaLiveInputoptionalinterface{} #notes
To connect the router output to the MediaLive input, provide both mediaLiveInputArn and mediaLivePipelineId. To disconnect it, call the update operation and omit both fields while keeping this configuration object. You can't change destinationTransitEncryption while the router output is connected to a MediaLive input. To change it, first disconnect the router output, then update the encryption.
sourceEndpointoptionalIResolvable | CfnRouterOutput.source_endpointoptionaltyping.Union[IResolvable, SourceEndpointRouterOutputConfigurationProperty]sourceEndpointoptionalIResolvableSourceEndpointoptionalIResolvableSourceEndpointoptionalinterface{} #standardoptionalIResolvable | CfnRouterOutput.standardoptionaltyping.Union[IResolvable, StandardRouterOutputConfigurationProperty]standardoptionalIResolvableStandardoptionalIResolvableStandardoptionalinterface{} #