Interface CfnVirtualGateway.VirtualGatewayAccessLogProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVirtualGateway.VirtualGatewayAccessLogProperty.Jsii$Proxy
- Enclosing class:
CfnVirtualGateway
@Stability(Stable)
public static interface CfnVirtualGateway.VirtualGatewayAccessLogProperty
extends software.amazon.jsii.JsiiSerializable
The access log configuration for a virtual gateway.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appmesh.*;
VirtualGatewayAccessLogProperty virtualGatewayAccessLogProperty = VirtualGatewayAccessLogProperty.builder()
.file(VirtualGatewayFileAccessLogProperty.builder()
.path("path")
// the properties below are optional
.format(LoggingFormatProperty.builder()
.json(List.of(JsonFormatRefProperty.builder()
.key("key")
.value("value")
.build()))
.text("text")
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVirtualGateway.VirtualGatewayAccessLogPropertystatic final classAn implementation forCfnVirtualGateway.VirtualGatewayAccessLogProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFile
The file object to send virtual gateway access logs to.Returns union: either
IResolvableorCfnVirtualGateway.VirtualGatewayFileAccessLogProperty- See Also:
-
builder
-