Class BaseLogDriverProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class BaseLogDriverProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BaseLogDriverProps
An implementation for BaseLogDriverProps
  • 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.BaseLogDriverProps

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the BaseLogDriverProps.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 List<String>
    The env option takes an array of keys.
    final String
    The env-regex option is similar to and compatible with env.
    final List<String>
    The labels option takes an array of keys.
    final String
    By default, Docker uses the first 12 characters of the container ID to tag log messages.
    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(BaseLogDriverProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the BaseLogDriverProps.Builder.
  • Method Details

    • getEnv

      public final List<String> getEnv()
      Description copied from interface: BaseLogDriverProps
      The env option takes an array of keys.

      If there is collision between label and env keys, the value of the env takes precedence. Adds additional fields to the extra attributes of a logging message.

      Default: - No env

      Specified by:
      getEnv in interface BaseLogDriverProps
    • getEnvRegex

      public final String getEnvRegex()
      Description copied from interface: BaseLogDriverProps
      The env-regex option is similar to and compatible with env.

      Its value is a regular expression to match logging-related environment variables. It is used for advanced log tag options.

      Default: - No envRegex

      Specified by:
      getEnvRegex in interface BaseLogDriverProps
    • getLabels

      public final List<String> getLabels()
      Description copied from interface: BaseLogDriverProps
      The labels option takes an array of keys.

      If there is collision between label and env keys, the value of the env takes precedence. Adds additional fields to the extra attributes of a logging message.

      Default: - No labels

      Specified by:
      getLabels in interface BaseLogDriverProps
    • getTag

      public final String getTag()
      Description copied from interface: BaseLogDriverProps
      By default, Docker uses the first 12 characters of the container ID to tag log messages.

      Refer to the log tag option documentation for customizing the log tag format.

      Default: - The first 12 characters of the container ID

      Specified by:
      getTag in interface BaseLogDriverProps
    • $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