Interface CfnVirtualNode.FileAccessLogProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnVirtualNode.FileAccessLogProperty extends
An object that represents an access log file.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 FileAccessLogProperty fileAccessLogProperty = FileAccessLogProperty.builder()
         // the properties below are optional
  • Method Details

    • getPath

      @Stability(Stable) @NotNull String getPath()
      The file path to write access logs to.

      You can use /dev/stdout to send access logs to standard out and configure your Envoy container to use a log driver, such as awslogs , to export the access logs to a log storage service such as Amazon CloudWatch Logs. You can also specify a path in the Envoy container's file system to write the files to disk.

      The Envoy process must have write permissions to the path that you specify here. Otherwise, Envoy fails to bootstrap properly.

    • getFormat

      @Stability(Stable) @Nullable default Object getFormat()
      The specified format for the logs.

      The format is either json_format or text_format .

    • builder

      @Stability(Stable) static CfnVirtualNode.FileAccessLogProperty.Builder builder()
      a CfnVirtualNode.FileAccessLogProperty.Builder of CfnVirtualNode.FileAccessLogProperty