# SecretsManagerEncryptionKeyConfigurationProperty

The configuration settings for transit encryption of a flow output using AWS Secrets Manager, including the secret ARN and role ARN.

- 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';
const secretsManagerEncryptionKeyConfigurationProperty: mediaconnect.CfnFlowOutput.SecretsManagerEncryptionKeyConfigurationProperty = {
  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

secrets_manager_encryption_key_configuration_property = 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.*;

SecretsManagerEncryptionKeyConfigurationProperty secretsManagerEncryptionKeyConfigurationProperty = SecretsManagerEncryptionKeyConfigurationProperty.builder()
        .roleArn("roleArn")
        .secretArn("secretArn")
        .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 secretsManagerEncryptionKeyConfigurationProperty = 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"

secretsManagerEncryptionKeyConfigurationProperty := &SecretsManagerEncryptionKeyConfigurationProperty{
	RoleArn: jsii.String("roleArn"),
	SecretArn: jsii.String("secretArn"),
}
```

## Properties

- `roleArn`: string (required) — The ARN of the IAM role used for transit encryption to the router input using AWS Secrets Manager.

- `secretArn`: string (required) — The ARN of the AWS Secrets Manager secret used for transit encryption to the router input.
