Class LogGroupTargetInputOptions.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.events.targets.LogGroupTargetInputOptions.Jsii$Proxy
All Implemented Interfaces:
LogGroupTargetInputOptions, software.amazon.jsii.JsiiSerializable
Enclosing interface:
LogGroupTargetInputOptions

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

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      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 software.amazon.jsii.JsiiSerializable
    • equals

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

      public final int hashCode()
      Overrides:
      hashCode in class Object