Class LogDriverConfig.Jsii$Proxy

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

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

    • getLogDriver

      public final String getLogDriver()
      Description copied from interface: LogDriverConfig
      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, splunk, and awsfirelens. For tasks using the EC2 launch type, the supported log drivers are awslogs, fluentd, gelf, json-file, journald, logentries,syslog, splunk, and awsfirelens.

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

      For more information about using the awsfirelens log driver, see Custom Log Routing in the Amazon Elastic Container Service Developer Guide.

      Specified by:
      getLogDriver in interface LogDriverConfig
    • getOptions

      public final Map<String,String> getOptions()
      Description copied from interface: LogDriverConfig
      The configuration options to send to the log driver.
      Specified by:
      getOptions in interface LogDriverConfig
    • getSecretOptions

      public final List<CfnTaskDefinition.SecretProperty> getSecretOptions()
      Description copied from interface: LogDriverConfig
      The secrets to pass to the log configuration.

      Default: - No secret options provided.

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