Show / Hide Table of Contents

Class CfnVirtualNode.ClientPolicyProperty

An object that represents a client policy.

Inheritance
object
CfnVirtualNode.ClientPolicyProperty
Implements
CfnVirtualNode.IClientPolicyProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnVirtualNode.ClientPolicyProperty : CfnVirtualNode.IClientPolicyProperty
Syntax (vb)
Public Class CfnVirtualNode.ClientPolicyProperty Implements CfnVirtualNode.IClientPolicyProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-clientpolicy.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 clientPolicyProperty = new ClientPolicyProperty {
                 Tls = 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

Constructors

ClientPolicyProperty()

An object that represents a client policy.

Properties

Tls

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

Constructors

ClientPolicyProperty()

An object that represents a client policy.

public ClientPolicyProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-clientpolicy.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 clientPolicyProperty = new ClientPolicyProperty {
                 Tls = 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 }
                 }
             };

Properties

Tls

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

public object? Tls { get; set; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnVirtualNode.IClientPolicyTlsProperty

Implements

CfnVirtualNode.IClientPolicyProperty
Back to top Generated by DocFX