# FlowTransitEncryptionKeyConfigurationProperty

- Source: Generated at build time
- Type last changed: v2.225.0 · 17 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 flowTransitEncryptionKeyConfigurationProperty: mediaconnect.CfnFlowOutput.FlowTransitEncryptionKeyConfigurationProperty = {
  automatic: automatic,
  secretsManager: {
    roleArn: 'roleArn',
    secretArn: 'secretArn',
  },
};
```

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

flow_transit_encryption_key_configuration_property = mediaconnect.CfnFlowOutput.FlowTransitEncryptionKeyConfigurationProperty(
    automatic=automatic,
    secrets_manager=mediaconnect.CfnFlowOutput.SecretsManagerEncryptionKeyConfigurationProperty(
        role_arn="roleArn",
        secret_arn="secretArn"
    )
)
```

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;

FlowTransitEncryptionKeyConfigurationProperty flowTransitEncryptionKeyConfigurationProperty = FlowTransitEncryptionKeyConfigurationProperty.builder()
        .automatic(automatic)
        .secretsManager(SecretsManagerEncryptionKeyConfigurationProperty.builder()
                .roleArn("roleArn")
                .secretArn("secretArn")
                .build())
        .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 flowTransitEncryptionKeyConfigurationProperty = new FlowTransitEncryptionKeyConfigurationProperty {
    Automatic = automatic,
    SecretsManager = new SecretsManagerEncryptionKeyConfigurationProperty {
        RoleArn = "roleArn",
        SecretArn = "secretArn"
    }
};
```

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

flowTransitEncryptionKeyConfigurationProperty := &FlowTransitEncryptionKeyConfigurationProperty{
	Automatic: automatic,
	SecretsManager: &SecretsManagerEncryptionKeyConfigurationProperty{
		RoleArn: jsii.String("roleArn"),
		SecretArn: jsii.String("secretArn"),
	},
}
```

## Properties

- `automatic`: any — Configuration settings for automatic encryption key management, where MediaConnect handles key creation and rotation.

- `secretsManager`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFlowOutput.SecretsManagerEncryptionKeyConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnFlowOutput.SecretsManagerEncryptionKeyConfigurationProperty.html) — The configuration settings for transit encryption of a flow output using AWS Secrets Manager, including the secret ARN and role ARN.
