Skip to content
v2.278.0

MediaConnectFlowRouterOutputConfigurationProperty Struct ​

Configuration settings for connecting a router output to a MediaConnect flow source.

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.

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 mediaConnectFlowRouterOutputConfigurationProperty: mediaconnect.CfnRouterOutput.MediaConnectFlowRouterOutputConfigurationProperty = {
  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',
};
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

media_connect_flow_router_output_configuration_property = 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"
)
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;

MediaConnectFlowRouterOutputConfigurationProperty mediaConnectFlowRouterOutputConfigurationProperty = 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();
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 mediaConnectFlowRouterOutputConfigurationProperty = 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"
};
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{}

mediaConnectFlowRouterOutputConfigurationProperty := &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"),
}

Properties ​

destinationTransitEncryptionIResolvable | CfnRouterOutput.FlowTransitEncryptionPropertydestination_transit_encryptiontyping.Union[IResolvable, FlowTransitEncryptionProperty]destinationTransitEncryptionIResolvableDestinationTransitEncryptionIResolvableDestinationTransitEncryptioninterface{} required #
The configuration that defines how content is encrypted during transit between the MediaConnect router and a MediaConnect flow.
flowArnoptionalstringflow_arnoptionalstrflowArnoptionalStringFlowArnoptionalstringFlowArnoptional*string #
The ARN of the flow to connect to this router output.
flowSourceArnoptionalstringflow_source_arnoptionalstrflowSourceArnoptionalStringFlowSourceArnoptionalstringFlowSourceArnoptional*string #
The ARN of the flow source to connect to this router output.