ListenerTlsFileCertificateProperty Struct
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) .
| Source | |
|---|---|
| Type last changed |
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 listenerTlsFileCertificateProperty: appmesh.CfnVirtualNode.ListenerTlsFileCertificateProperty = {
certificateChain: 'certificateChain',
privateKey: 'privateKey',
};
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_file_certificate_property = appmesh.CfnVirtualNode.ListenerTlsFileCertificateProperty(
certificate_chain="certificateChain",
private_key="privateKey"
)
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.*;
ListenerTlsFileCertificateProperty listenerTlsFileCertificateProperty = ListenerTlsFileCertificateProperty.builder()
.certificateChain("certificateChain")
.privateKey("privateKey")
.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 listenerTlsFileCertificateProperty = new ListenerTlsFileCertificateProperty {
CertificateChain = "certificateChain",
PrivateKey = "privateKey"
};
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"
listenerTlsFileCertificateProperty := &ListenerTlsFileCertificateProperty{
CertificateChain: jsii.String("certificateChain"),
PrivateKey: jsii.String("privateKey"),
}
Properties
certificateChainstringcertificate_chainstrcertificateChainStringCertificateChainstringCertificateChain*string required #The certificate chain for the certificate.
The private key for a certificate stored on the file system of the virtual node that the proxy is running on.