Show / Hide Table of Contents

Interface IBackendConfig

Properties for a backend.

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

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 backendConfig = new BackendConfig {
                VirtualServiceBackend = new BackendProperty {
                    VirtualService = new VirtualServiceBackendProperty {
                        VirtualServiceName = "virtualServiceName",

                        // the properties below are optional
                        ClientPolicy = 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

Properties

VirtualServiceBackend

Config for a Virtual Service backend.

Properties

VirtualServiceBackend

Config for a Virtual Service backend.

CfnVirtualNode.IBackendProperty VirtualServiceBackend { get; }
Property Value

CfnVirtualNode.IBackendProperty

Remarks

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX