Class AwsLogDriverProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class AwsLogDriverProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AwsLogDriverProps
An implementation for AwsLogDriverProps
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ecs.AwsLogDriverProps

    AwsLogDriverProps.Builder, AwsLogDriverProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the AwsLogDriverProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final String
    This option defines a multiline start pattern in Python strftime format.
    final ILogGroup
    The log group to log to.
    The number of days log events are kept in CloudWatch Logs when the log group is automatically created by this construct.
    final Size
    When AwsLogDriverMode.NON_BLOCKING is configured, this parameter controls the size of the non-blocking buffer used to temporarily store messages.
    The delivery mode of log messages from the container to awslogs.
    final String
    This option defines a multiline start pattern using a regular expression.
    final String
    Prefix for the log streams.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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(AwsLogDriverProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the AwsLogDriverProps.Builder.
  • Method Details

    • getStreamPrefix

      public final String getStreamPrefix()
      Description copied from interface: AwsLogDriverProps
      Prefix for the log streams.

      The awslogs-stream-prefix option allows you to associate a log stream with the specified prefix, the container name, and the ID of the Amazon ECS task to which the container belongs. If you specify a prefix with this option, then the log stream takes the following format:

       prefix-name/container-name/ecs-task-id
       
      Specified by:
      getStreamPrefix in interface AwsLogDriverProps
    • getDatetimeFormat

      public final String getDatetimeFormat()
      Description copied from interface: AwsLogDriverProps
      This option defines a multiline start pattern in Python strftime format.

      A log message consists of a line that matches the pattern and any following lines that don’t match the pattern. Thus the matched line is the delimiter between log messages.

      Default: - No multiline matching.

      Specified by:
      getDatetimeFormat in interface AwsLogDriverProps
    • getLogGroup

      public final ILogGroup getLogGroup()
      Description copied from interface: AwsLogDriverProps
      The log group to log to.

      Default: - A log group is automatically created.

      Specified by:
      getLogGroup in interface AwsLogDriverProps
    • getLogRetention

      public final RetentionDays getLogRetention()
      Description copied from interface: AwsLogDriverProps
      The number of days log events are kept in CloudWatch Logs when the log group is automatically created by this construct.

      Default: - Logs never expire.

      Specified by:
      getLogRetention in interface AwsLogDriverProps
    • getMaxBufferSize

      public final Size getMaxBufferSize()
      Description copied from interface: AwsLogDriverProps
      When AwsLogDriverMode.NON_BLOCKING is configured, this parameter controls the size of the non-blocking buffer used to temporarily store messages. This parameter is not valid with AwsLogDriverMode.BLOCKING.

      Default: - 1 megabyte if driver mode is non-blocking, otherwise this property is not set

      Specified by:
      getMaxBufferSize in interface AwsLogDriverProps
    • getMode

      public final AwsLogDriverMode getMode()
      Description copied from interface: AwsLogDriverProps
      The delivery mode of log messages from the container to awslogs.

      Default: - AwsLogDriverMode.BLOCKING

      Specified by:
      getMode in interface AwsLogDriverProps
    • getMultilinePattern

      public final String getMultilinePattern()
      Description copied from interface: AwsLogDriverProps
      This option defines a multiline start pattern using a regular expression.

      A log message consists of a line that matches the pattern and any following lines that don’t match the pattern. Thus the matched line is the delimiter between log messages.

      This option is ignored if datetimeFormat is also configured.

      Default: - No multiline matching.

      Specified by:
      getMultilinePattern in interface AwsLogDriverProps
    • $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