Show / Hide Table of Contents

Interface CfnVirtualNode.IClientPolicyTlsProperty

A reference to an object that represents a Transport Layer Security (TLS) client policy.

Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnVirtualNode.IClientPolicyTlsProperty
Syntax (vb)
Public Interface CfnVirtualNode.IClientPolicyTlsProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-clientpolicytls.html

ExampleMetadata: fixture=_generated

Examples
// 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 clientPolicyTlsProperty = new ClientPolicyTlsProperty {
                 Validation = new TlsValidationContextProperty {
                     Trust = new TlsValidationContextTrustProperty {
                         Acm = new TlsValidationContextAcmTrustProperty {
                             CertificateAuthorityArns = new [] { "certificateAuthorityArns" }
                         },
                         File = new TlsValidationContextFileTrustProperty {
                             CertificateChain = "certificateChain"
                         },
                         Sds = new TlsValidationContextSdsTrustProperty {
                             SecretName = "secretName"
                         }
                     },

                     // the properties below are optional
                     SubjectAlternativeNames = new SubjectAlternativeNamesProperty {
                         Match = new SubjectAlternativeNameMatchersProperty {
                             Exact = new [] { "exact" }
                         }
                     }
                 },

                 // the properties below are optional
                 Certificate = new ClientTlsCertificateProperty {
                     File = new ListenerTlsFileCertificateProperty {
                         CertificateChain = "certificateChain",
                         PrivateKey = "privateKey"
                     },
                     Sds = new ListenerTlsSdsCertificateProperty {
                         SecretName = "secretName"
                     }
                 },
                 Enforce = false,
                 Ports = new [] { 123 }
             };

Synopsis

Properties

Certificate

A reference to an object that represents a client's TLS certificate.

Enforce

Whether the policy is enforced.

Ports

One or more ports that the policy is enforced for.

Validation

A reference to an object that represents a TLS validation context.

Properties

Certificate

A reference to an object that represents a client's TLS certificate.

object? Certificate { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-clientpolicytls.html#cfn-appmesh-virtualnode-clientpolicytls-certificate

Enforce

Whether the policy is enforced.

object? Enforce { get; }
Property Value

object

Remarks

The default is True , if a value isn't specified.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-clientpolicytls.html#cfn-appmesh-virtualnode-clientpolicytls-enforce

Ports

One or more ports that the policy is enforced for.

object? Ports { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-clientpolicytls.html#cfn-appmesh-virtualnode-clientpolicytls-ports

Validation

A reference to an object that represents a TLS validation context.

object Validation { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-clientpolicytls.html#cfn-appmesh-virtualnode-clientpolicytls-validation

Back to top Generated by DocFX