Skip to content
v2.278.0

ClientTlsCertificateProperty Struct ​

An object that represents the client's certificate.

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 clientTlsCertificateProperty: appmesh.CfnVirtualNode.ClientTlsCertificateProperty = {
  file: {
    certificateChain: 'certificateChain',
    privateKey: 'privateKey',
  },
  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

client_tls_certificate_property = appmesh.CfnVirtualNode.ClientTlsCertificateProperty(
    file=appmesh.CfnVirtualNode.ListenerTlsFileCertificateProperty(
        certificate_chain="certificateChain",
        private_key="privateKey"
    ),
    sds=appmesh.CfnVirtualNode.ListenerTlsSdsCertificateProperty(
        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.*;

ClientTlsCertificateProperty clientTlsCertificateProperty = ClientTlsCertificateProperty.builder()
        .file(ListenerTlsFileCertificateProperty.builder()
                .certificateChain("certificateChain")
                .privateKey("privateKey")
                .build())
        .sds(ListenerTlsSdsCertificateProperty.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 clientTlsCertificateProperty = new ClientTlsCertificateProperty {
    File = new ListenerTlsFileCertificateProperty {
        CertificateChain = "certificateChain",
        PrivateKey = "privateKey"
    },
    Sds = new ListenerTlsSdsCertificateProperty {
        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"

clientTlsCertificateProperty := &ClientTlsCertificateProperty{
	File: &ListenerTlsFileCertificateProperty{
		CertificateChain: jsii.String("certificateChain"),
		PrivateKey: jsii.String("privateKey"),
	},
	Sds: &ListenerTlsSdsCertificateProperty{
		SecretName: jsii.String("secretName"),
	},
}

Properties ​

fileoptionalIResolvable | CfnVirtualNode.ListenerTlsFileCertificatePropertyfileoptionaltyping.Union[IResolvable, ListenerTlsFileCertificateProperty]fileoptionalIResolvableFileoptionalIResolvableFileoptionalinterface{} #
An object that represents a local file certificate.

The certificate must meet specific requirements and you must have proxy authorization enabled. For more information, see Transport Layer Security (TLS) .

sdsoptionalIResolvable | CfnVirtualNode.ListenerTlsSdsCertificatePropertysdsoptionaltyping.Union[IResolvable, ListenerTlsSdsCertificateProperty]sdsoptionalIResolvableSdsoptionalIResolvableSdsoptionalinterface{} #
A reference to an object that represents a client's TLS Secret Discovery Service certificate.