# SecretsManagerEndpointEncryptionConfigurationProperty

The endpoint encryption configuration for connections that use a key or passphrase that you store in Secrets Manager.

- Source: Generated at build time
- Type last changed: v2.276.0 · 10 Nov 2026

## 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 secretsManagerEndpointEncryptionConfigurationProperty: mediaconnect.CfnRouterInput.SecretsManagerEndpointEncryptionConfigurationProperty = {
  encryptionSecret: {
    secretArn: 'secretArn',
  },

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

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_endpoint_encryption_configuration_property = mediaconnect.CfnRouterInput.SecretsManagerEndpointEncryptionConfigurationProperty(
    encryption_secret=mediaconnect.CfnRouterInput.EndpointEncryptionSecretConfigurationProperty(
        secret_arn="secretArn"
    ),

    # the properties below are optional
    encryption_secret_type="encryptionSecretType"
)
```

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

SecretsManagerEndpointEncryptionConfigurationProperty secretsManagerEndpointEncryptionConfigurationProperty = SecretsManagerEndpointEncryptionConfigurationProperty.builder()
        .encryptionSecret(EndpointEncryptionSecretConfigurationProperty.builder()
                .secretArn("secretArn")
                .build())

        // the properties below are optional
        .encryptionSecretType("encryptionSecretType")
        .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 secretsManagerEndpointEncryptionConfigurationProperty = new SecretsManagerEndpointEncryptionConfigurationProperty {
    EncryptionSecret = new EndpointEncryptionSecretConfigurationProperty {
        SecretArn = "secretArn"
    },

    // the properties below are optional
    EncryptionSecretType = "encryptionSecretType"
};
```

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"

secretsManagerEndpointEncryptionConfigurationProperty := &SecretsManagerEndpointEncryptionConfigurationProperty{
	EncryptionSecret: &EndpointEncryptionSecretConfigurationProperty{
		SecretArn: jsii.String("secretArn"),
	},

	// the properties below are optional
	EncryptionSecretType: jsii.String("encryptionSecretType"),
}
```

## Properties

- `encryptionSecret`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRouterInput.EndpointEncryptionSecretConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnRouterInput.EndpointEncryptionSecretConfigurationProperty.html) (required) — The configuration for the Secrets Manager secret that holds the key or passphrase used to encrypt an endpoint connection.

- `encryptionSecretType`: string
