Skip to content
v2.277.0

ListenerTlsValidationContextTrustProperty Struct ​

An object that represents a listener's Transport Layer Security (TLS) validation context trust.

Example ​

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 listenerTlsValidationContextTrustProperty: appmesh.CfnVirtualNode.ListenerTlsValidationContextTrustProperty = {
  file: {
    certificateChain: 'certificateChain',
  },
  sds: {
    secretName: 'secretName',
  },
};
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

listener_tls_validation_context_trust_property = appmesh.CfnVirtualNode.ListenerTlsValidationContextTrustProperty(
    file=appmesh.CfnVirtualNode.TlsValidationContextFileTrustProperty(
        certificate_chain="certificateChain"
    ),
    sds=appmesh.CfnVirtualNode.TlsValidationContextSdsTrustProperty(
        secret_name="secretName"
    )
)
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.*;

ListenerTlsValidationContextTrustProperty listenerTlsValidationContextTrustProperty = ListenerTlsValidationContextTrustProperty.builder()
        .file(TlsValidationContextFileTrustProperty.builder()
                .certificateChain("certificateChain")
                .build())
        .sds(TlsValidationContextSdsTrustProperty.builder()
                .secretName("secretName")
                .build())
        .build();
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 listenerTlsValidationContextTrustProperty = new ListenerTlsValidationContextTrustProperty {
    File = new TlsValidationContextFileTrustProperty {
        CertificateChain = "certificateChain"
    },
    Sds = new TlsValidationContextSdsTrustProperty {
        SecretName = "secretName"
    }
};
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"

listenerTlsValidationContextTrustProperty := &ListenerTlsValidationContextTrustProperty{
	File: &TlsValidationContextFileTrustProperty{
		CertificateChain: jsii.String("certificateChain"),
	},
	Sds: &TlsValidationContextSdsTrustProperty{
		SecretName: jsii.String("secretName"),
	},
}

Properties ​

fileoptionalIResolvable | CfnVirtualNode.TlsValidationContextFileTrustPropertyfileoptionaltyping.Union[IResolvable, TlsValidationContextFileTrustProperty]fileoptionalIResolvableFileoptionalIResolvableFileoptionalinterface{}#
An object that represents a Transport Layer Security (TLS) validation context trust for a local file.
sdsoptionalIResolvable | CfnVirtualNode.TlsValidationContextSdsTrustPropertysdsoptionaltyping.Union[IResolvable, TlsValidationContextSdsTrustProperty]sdsoptionalIResolvableSdsoptionalIResolvableSdsoptionalinterface{}#
A reference to an object that represents a listener's Transport Layer Security (TLS) Secret Discovery Service validation context trust.