# MediaLiveInputRouterOutputConfigurationProperty

Configuration settings for connecting a router output to a MediaLive input.

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.

- Source: Generated at build time
- Type last changed: v2.227.0 · 21 Nov 2025

## Example

TypeScript:

```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 mediaLiveInputRouterOutputConfigurationProperty: mediaconnect.CfnRouterOutput.MediaLiveInputRouterOutputConfigurationProperty = {
  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',
};
```

Python:

```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_live_input_router_output_configuration_property = 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"
)
```

Java:

```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;

MediaLiveInputRouterOutputConfigurationProperty mediaLiveInputRouterOutputConfigurationProperty = 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();
```

C# / .NET:

```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 mediaLiveInputRouterOutputConfigurationProperty = 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"
};
```

Golang:

```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{}

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

## Properties

- `destinationTransitEncryption`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRouterOutput.MediaLiveTransitEncryptionProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnRouterOutput.MediaLiveTransitEncryptionProperty.html) (required) — The encryption configuration that defines how content is encrypted during transit between MediaConnect Router and MediaLive.

  This configuration determines whether encryption keys are automatically managed by the service or manually managed through Secrets Manager.

- `mediaLiveInputArn`: string — The ARN of the MediaLive input to connect to this router output.

- `mediaLivePipelineId`: string
