Class GenericLogDriverProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class GenericLogDriverProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements GenericLogDriverProps
An implementation for GenericLogDriverProps
  • 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(GenericLogDriverProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the GenericLogDriverProps.Builder.
  • Method Details

    • getLogDriver

      public final String getLogDriver()
      Description copied from interface: GenericLogDriverProps
      The log driver to use for the container.

      The valid values listed for this parameter are log drivers that the Amazon ECS container agent can communicate with by default.

      For tasks using the Fargate launch type, the supported log drivers are awslogs and splunk. For tasks using the EC2 launch type, the supported log drivers are awslogs, syslog, gelf, fluentd, splunk, journald, and json-file.

      For more information about using the awslogs log driver, see Using the awslogs Log Driver in the Amazon Elastic Container Service Developer Guide.

      Specified by:
      getLogDriver in interface GenericLogDriverProps
    • getOptions

      public final Map<String,String> getOptions()
      Description copied from interface: GenericLogDriverProps
      The configuration options to send to the log driver.

      Default: - the log driver options.

      Specified by:
      getOptions in interface GenericLogDriverProps
    • getSecretOptions

      public final Map<String,Secret> getSecretOptions()
      Description copied from interface: GenericLogDriverProps
      The secrets to pass to the log configuration.

      Default: - no secret options provided.

      Specified by:
      getSecretOptions in interface GenericLogDriverProps
    • $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