# EndpointEncryptionSecretConfigurationProperty

The configuration for the Secrets Manager secret that holds the key or passphrase used to encrypt an endpoint connection.

- 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 endpointEncryptionSecretConfigurationProperty: mediaconnect.CfnSourceEndpoint.EndpointEncryptionSecretConfigurationProperty = {
  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

endpoint_encryption_secret_configuration_property = mediaconnect.CfnSourceEndpoint.EndpointEncryptionSecretConfigurationProperty(
    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.*;

EndpointEncryptionSecretConfigurationProperty endpointEncryptionSecretConfigurationProperty = EndpointEncryptionSecretConfigurationProperty.builder()
        .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 endpointEncryptionSecretConfigurationProperty = new EndpointEncryptionSecretConfigurationProperty {
    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"

endpointEncryptionSecretConfigurationProperty := &EndpointEncryptionSecretConfigurationProperty{
	SecretArn: jsii.String("secretArn"),
}
```

## Properties

- `secretArn`: string (required) — The ARN of the Secrets Manager secret that holds the key or passphrase.

  The secret must be encrypted with a customer managed Amazon Web Services KMS key that is enabled and symmetric; it cannot use the Amazon Web Services managed key aws/secretsmanager. The secret must be in the same Amazon Web Services account and Region as the endpoint.
