Class LogGroupTargetInputOptions.Jsii$Proxy

All Implemented Interfaces:
Enclosing interface:

@Stability(Stable) @Internal public static final class LogGroupTargetInputOptions.Jsii$Proxy extends implements LogGroupTargetInputOptions
An implementation for LogGroupTargetInputOptions
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy( objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(LogGroupTargetInputOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the LogGroupTargetInputOptions.Builder.
  • Method Details

    • getMessage

      public final Object getMessage()
      Description copied from interface: LogGroupTargetInputOptions
      The value provided here will be used in the Log "message" field.

      This field must be a string. If an object is passed (e.g. JSON data) it will not throw an error, but the message that makes it to CloudWatch logs will be incorrect. This is a likely scenario if doing something like: EventField.fromPath('$.detail') since in most cases the detail field contains JSON data.

      Default: EventField.detailType

      Specified by:
      getMessage in interface LogGroupTargetInputOptions
    • getTimestamp

      public final Object getTimestamp()
      Description copied from interface: LogGroupTargetInputOptions
      The timestamp that will appear in the CloudWatch Logs record.

      Default: EventField.time

      Specified by:
      getTimestamp in interface LogGroupTargetInputOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface
    • equals

      public final boolean equals(Object o)
      equals in class Object
    • hashCode

      public final int hashCode()
      hashCode in class Object