# FlowTransitEncryptionProperty

The configuration that defines how content is encrypted during transit between the MediaConnect router and a MediaConnect flow.

- Source: Generated code
- Type last changed: v2.225.0 · 17 Nov 2025

## 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 flowTransitEncryptionProperty: mediaconnect.CfnFlowOutput.FlowTransitEncryptionProperty = {
  encryptionKeyConfiguration: {
    automatic: automatic,
    secretsManager: {
      roleArn: 'roleArn',
      secretArn: 'secretArn',
    },
  },

  // the properties below are optional
  encryptionKeyType: 'encryptionKeyType',
};
```

## Properties

- `encryptionKeyConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFlowOutput.FlowTransitEncryptionKeyConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnFlowOutput.FlowTransitEncryptionKeyConfigurationProperty.html) (required) — Configuration settings for flow transit encryption keys.

- `encryptionKeyType`: string
