Class: AWSCDK::ECS::NoneLogDriver
- Inherits:
-
LogDriver
- Object
- LogDriver
- AWSCDK::ECS::NoneLogDriver
- Defined in:
- ecs/none_log_driver.rb
Overview
A log driver that sets the log driver to none (no logs collected).
Class Method Summary collapse
Instance Method Summary collapse
-
#bind(_scope, _container_definition) ⇒ AWSCDK::ECS::LogDriverConfig
Called when the log driver is configured on a container.
-
#initialize ⇒ NoneLogDriver
constructor
A new instance of NoneLogDriver.
Constructor Details
#initialize ⇒ NoneLogDriver
Returns a new instance of NoneLogDriver.
8 9 10 |
# File 'ecs/none_log_driver.rb', line 8 def initialize Jsii::Object.instance_method(:initialize).bind(self).call end |
Class Method Details
.jsii_overridable_methods ⇒ Object
12 13 14 15 16 |
# File 'ecs/none_log_driver.rb', line 12 def self.jsii_overridable_methods { :bind => { kind: :method, name: "bind", is_optional: false }, } end |
Instance Method Details
#bind(_scope, _container_definition) ⇒ AWSCDK::ECS::LogDriverConfig
Called when the log driver is configured on a container.
23 24 25 26 27 |
# File 'ecs/none_log_driver.rb', line 23 def bind(_scope, _container_definition) Jsii::Type.check_type(_scope, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLkNvbnN0cnVjdCJ9")), "_scope") Jsii::Type.check_type(_container_definition, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzLkNvbnRhaW5lckRlZmluaXRpb24ifQ==")), "_containerDefinition") jsii_call_method("bind", [_scope, _container_definition]) end |