# SrtEncryptionConfigurationProperty

Contains the configuration settings for encrypting SRT streams, including the encryption key details and encryption parameters.

- 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';
const srtEncryptionConfigurationProperty: mediaconnect.CfnRouterOutput.SrtEncryptionConfigurationProperty = {
  encryptionKey: {
    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

srt_encryption_configuration_property = mediaconnect.CfnRouterOutput.SrtEncryptionConfigurationProperty(
    encryption_key=mediaconnect.CfnRouterOutput.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.*;

SrtEncryptionConfigurationProperty srtEncryptionConfigurationProperty = SrtEncryptionConfigurationProperty.builder()
        .encryptionKey(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 srtEncryptionConfigurationProperty = new SrtEncryptionConfigurationProperty {
    EncryptionKey = 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"

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

## Properties

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