Class CfnVirtualGateway.VirtualGatewaySpecProperty
An object that represents the specification of a service mesh resource.
Inheritance
System.Object
CfnVirtualGateway.VirtualGatewaySpecProperty
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.AWS.AppMesh.dll
Syntax (csharp)
public class VirtualGatewaySpecProperty : Object, CfnVirtualGateway.IVirtualGatewaySpecProperty
Syntax (vb)
Public Class VirtualGatewaySpecProperty
Inherits Object
Implements CfnVirtualGateway.IVirtualGatewaySpecProperty
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 virtualGatewaySpecProperty = new VirtualGatewaySpecProperty {
Listeners = new [] { new VirtualGatewayListenerProperty {
PortMapping = new VirtualGatewayPortMappingProperty {
Port = 123,
Protocol = "protocol"
},
// the properties below are optional
ConnectionPool = new VirtualGatewayConnectionPoolProperty {
Grpc = new VirtualGatewayGrpcConnectionPoolProperty {
MaxRequests = 123
},
Http = new VirtualGatewayHttpConnectionPoolProperty {
MaxConnections = 123,
// the properties below are optional
MaxPendingRequests = 123
},
Http2 = new VirtualGatewayHttp2ConnectionPoolProperty {
MaxRequests = 123
}
},
HealthCheck = new VirtualGatewayHealthCheckPolicyProperty {
HealthyThreshold = 123,
IntervalMillis = 123,
Protocol = "protocol",
TimeoutMillis = 123,
UnhealthyThreshold = 123,
// the properties below are optional
Path = "path",
Port = 123
},
Tls = new VirtualGatewayListenerTlsProperty {
Certificate = new VirtualGatewayListenerTlsCertificateProperty {
Acm = new VirtualGatewayListenerTlsAcmCertificateProperty {
CertificateArn = "certificateArn"
},
File = new VirtualGatewayListenerTlsFileCertificateProperty {
CertificateChain = "certificateChain",
PrivateKey = "privateKey"
},
Sds = new VirtualGatewayListenerTlsSdsCertificateProperty {
SecretName = "secretName"
}
},
Mode = "mode",
// the properties below are optional
Validation = new VirtualGatewayListenerTlsValidationContextProperty {
Trust = new VirtualGatewayListenerTlsValidationContextTrustProperty {
File = new VirtualGatewayTlsValidationContextFileTrustProperty {
CertificateChain = "certificateChain"
},
Sds = new VirtualGatewayTlsValidationContextSdsTrustProperty {
SecretName = "secretName"
}
},
// the properties below are optional
SubjectAlternativeNames = new SubjectAlternativeNamesProperty {
Match = new SubjectAlternativeNameMatchersProperty {
Exact = new [] { "exact" }
}
}
}
}
} },
// the properties below are optional
BackendDefaults = new VirtualGatewayBackendDefaultsProperty {
ClientPolicy = new VirtualGatewayClientPolicyProperty {
Tls = new VirtualGatewayClientPolicyTlsProperty {
Validation = new VirtualGatewayTlsValidationContextProperty {
Trust = new VirtualGatewayTlsValidationContextTrustProperty {
Acm = new VirtualGatewayTlsValidationContextAcmTrustProperty {
CertificateAuthorityArns = new [] { "certificateAuthorityArns" }
},
File = new VirtualGatewayTlsValidationContextFileTrustProperty {
CertificateChain = "certificateChain"
},
Sds = new VirtualGatewayTlsValidationContextSdsTrustProperty {
SecretName = "secretName"
}
},
// the properties below are optional
SubjectAlternativeNames = new SubjectAlternativeNamesProperty {
Match = new SubjectAlternativeNameMatchersProperty {
Exact = new [] { "exact" }
}
}
},
// the properties below are optional
Certificate = new VirtualGatewayClientTlsCertificateProperty {
File = new VirtualGatewayListenerTlsFileCertificateProperty {
CertificateChain = "certificateChain",
PrivateKey = "privateKey"
},
Sds = new VirtualGatewayListenerTlsSdsCertificateProperty {
SecretName = "secretName"
}
},
Enforce = false,
Ports = new [] { 123 }
}
}
},
Logging = new VirtualGatewayLoggingProperty {
AccessLog = new VirtualGatewayAccessLogProperty {
File = new VirtualGatewayFileAccessLogProperty {
Path = "path",
// the properties below are optional
Format = new LoggingFormatProperty {
Json = new [] { new JsonFormatRefProperty {
Key = "key",
Value = "value"
} },
Text = "text"
}
}
}
}
};
Synopsis
Constructors
VirtualGatewaySpecProperty() |
Properties
BackendDefaults | A reference to an object that represents the defaults for backends. |
Listeners | The listeners that the mesh endpoint is expected to receive inbound traffic from. |
Logging | An object that represents logging information. |
Constructors
VirtualGatewaySpecProperty()
public VirtualGatewaySpecProperty()
Properties
BackendDefaults
A reference to an object that represents the defaults for backends.
public object BackendDefaults { get; set; }
Property Value
System.Object
Remarks
Listeners
The listeners that the mesh endpoint is expected to receive inbound traffic from.
public object Listeners { get; set; }
Property Value
System.Object
Remarks
Logging
An object that represents logging information.
public object Logging { get; set; }
Property Value
System.Object