Interface IAccessLogConfig
All Properties for Envoy Access logs for mesh endpoints.
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAccessLogConfig
Syntax (vb)
Public Interface IAccessLogConfig
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 accessLogConfig = new AccessLogConfig {
VirtualGatewayAccessLog = 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"
}
}
},
VirtualNodeAccessLog = new AccessLogProperty {
File = new FileAccessLogProperty {
Path = "path",
// the properties below are optional
Format = new LoggingFormatProperty {
Json = new [] { new JsonFormatRefProperty {
Key = "key",
Value = "value"
} },
Text = "text"
}
}
}
};
Synopsis
Properties
VirtualGatewayAccessLog | VirtualGateway CFN configuration for Access Logging. |
VirtualNodeAccessLog | VirtualNode CFN configuration for Access Logging. |
Properties
VirtualGatewayAccessLog
VirtualGateway CFN configuration for Access Logging.
virtual CfnVirtualGateway.IVirtualGatewayAccessLogProperty VirtualGatewayAccessLog { get; }
Property Value
CfnVirtualGateway.IVirtualGatewayAccessLogProperty
Remarks
Default: - no access logging
VirtualNodeAccessLog
VirtualNode CFN configuration for Access Logging.
virtual CfnVirtualNode.IAccessLogProperty VirtualNodeAccessLog { get; }
Property Value
CfnVirtualNode.IAccessLogProperty
Remarks
Default: - no access logging