Class CfnService.LogConfigurationProperty.Jsii$Proxy

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

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

    • getLogDriver

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

      For tasks on AWS Fargate , the supported log drivers are awslogs , splunk , and awsfirelens .

      For tasks hosted on Amazon EC2 instances, 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 .

      If you have a custom driver that isn't listed, you can fork the Amazon ECS container agent project that's available on GitHub and customize it to work with that driver. We encourage you to submit pull requests for changes that you would like to have included. However, we don't currently provide support for running modified copies of this software.

      Specified by:
      getLogDriver in interface CfnService.LogConfigurationProperty
    • getOptions

      public final Object getOptions()
      Description copied from interface: CfnService.LogConfigurationProperty
      The configuration options to send to the log driver.

      This parameter requires version 1.19 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}'

      Specified by:
      getOptions in interface CfnService.LogConfigurationProperty
    • getSecretOptions

      public final Object getSecretOptions()
      Description copied from interface: CfnService.LogConfigurationProperty
      The secrets to pass to the log configuration.

      For more information, see Specifying sensitive data in the Amazon Elastic Container Service Developer Guide .

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