# EndpointEncryptionConfigurationProperty

- 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';

declare const automatic: any;
const endpointEncryptionConfigurationProperty: mediaconnect.CfnRouterOutput.EndpointEncryptionConfigurationProperty = {
  automatic: automatic,
  secretsManager: {
    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

# automatic: Any

endpoint_encryption_configuration_property = mediaconnect.CfnRouterOutput.EndpointEncryptionConfigurationProperty(
    automatic=automatic,
    secrets_manager=mediaconnect.CfnRouterOutput.SecretsManagerEndpointEncryptionConfigurationProperty(
        encryption_secret=mediaconnect.CfnRouterOutput.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.*;

Object automatic;

EndpointEncryptionConfigurationProperty endpointEncryptionConfigurationProperty = EndpointEncryptionConfigurationProperty.builder()
        .automatic(automatic)
        .secretsManager(SecretsManagerEndpointEncryptionConfigurationProperty.builder()
                .encryptionSecret(EndpointEncryptionSecretConfigurationProperty.builder()
                        .secretArn("secretArn")
                        .build())

                // the properties below are optional
                .encryptionSecretType("encryptionSecretType")
                .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 endpointEncryptionConfigurationProperty = new EndpointEncryptionConfigurationProperty {
    Automatic = automatic,
    SecretsManager = 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"

var automatic interface{}

endpointEncryptionConfigurationProperty := &EndpointEncryptionConfigurationProperty{
	Automatic: automatic,
	SecretsManager: &SecretsManagerEndpointEncryptionConfigurationProperty{
		EncryptionSecret: &EndpointEncryptionSecretConfigurationProperty{
			SecretArn: jsii.String("secretArn"),
		},

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

## Properties

- `automatic`: any — The configuration for automatic endpoint encryption.

  In this mode, MediaConnect determines the encryption key when the endpoint connects. This type does not require any additional settings.

- `secretsManager`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRouterOutput.SecretsManagerEndpointEncryptionConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnRouterOutput.SecretsManagerEndpointEncryptionConfigurationProperty.html) — The endpoint encryption configuration for connections that use a key or passphrase that you store in Secrets Manager.
