# TlsEncryptionProperty

The Transport Layer Security (TLS) encryption settings used to establish a secure connection to a destination.

- Source: Generated at build time
- Type last changed: v2.278.0 · 20 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 public_: any;
const tlsEncryptionProperty: mediaconnect.CfnFlowOutput.TlsEncryptionProperty = {
  encryptionConfiguration: {
    public: public_,
  },

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

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

# public_: Any

tls_encryption_property = mediaconnect.CfnFlowOutput.TlsEncryptionProperty(
    encryption_configuration=mediaconnect.CfnFlowOutput.TlsEncryptionConfigurationProperty(
        public=public_
    ),

    # the properties below are optional
    encryption_type="encryptionType"
)
```

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

TlsEncryptionProperty tlsEncryptionProperty = TlsEncryptionProperty.builder()
        .encryptionConfiguration(TlsEncryptionConfigurationProperty.builder()
                .public(public_)
                .build())

        // the properties below are optional
        .encryptionType("encryptionType")
        .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 public_;

var tlsEncryptionProperty = new TlsEncryptionProperty {
    EncryptionConfiguration = new TlsEncryptionConfigurationProperty {
        Public = public_
    },

    // the properties below are optional
    EncryptionType = "encryptionType"
};
```

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 public_ interface{}

tlsEncryptionProperty := &TlsEncryptionProperty{
	EncryptionConfiguration: &TlsEncryptionConfigurationProperty{
		Public: public_,
	},

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

## Properties

- `encryptionConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFlowOutput.TlsEncryptionConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnFlowOutput.TlsEncryptionConfigurationProperty.html) (required) — The configuration settings for TLS encryption.

- `encryptionType`: string
