# TlsValidationContextFileTrustProperty

An object that represents a Transport Layer Security (TLS) validation context trust for a local file.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appmesh as appmesh } from 'aws-cdk-lib';
const tlsValidationContextFileTrustProperty: appmesh.CfnVirtualNode.TlsValidationContextFileTrustProperty = {
  certificateChain: 'certificateChain',
};
```

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_appmesh as appmesh

tls_validation_context_file_trust_property = appmesh.CfnVirtualNode.TlsValidationContextFileTrustProperty(
    certificate_chain="certificateChain"
)
```

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

TlsValidationContextFileTrustProperty tlsValidationContextFileTrustProperty = TlsValidationContextFileTrustProperty.builder()
        .certificateChain("certificateChain")
        .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.AppMesh;

var tlsValidationContextFileTrustProperty = new TlsValidationContextFileTrustProperty {
    CertificateChain = "certificateChain"
};
```

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"

tlsValidationContextFileTrustProperty := &TlsValidationContextFileTrustProperty{
	CertificateChain: jsii.String("certificateChain"),
}
```

## Properties

- `certificateChain`: string (required) — The certificate trust chain for a certificate stored on the file system of the virtual node that the proxy is running on.
