Module: AWSCDK::ECS::IAlternateTarget

Included in:
AlternateTarget
Defined in:
ecs/i_alternate_target.rb

Overview

Interface for configuring alternate target groups for blue/green deployments.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.jsii_overridable_methodsObject



16
17
18
19
20
# File 'ecs/i_alternate_target.rb', line 16

def self.jsii_overridable_methods
  {
    :bind => { kind: :method, name: "bind", is_optional: false },
  }
end

Instance Method Details

#bind(scope) ⇒ AWSCDK::ECS::AlternateTargetConfig

Bind this configuration to a service.

Parameters:

  • scope (Constructs::IConstruct)

    The construct scope.

Returns:



11
12
13
14
# File 'ecs/i_alternate_target.rb', line 11

def bind(scope)
  Jsii::Type.check_type(scope, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLklDb25zdHJ1Y3QifQ==")), "scope")
  jsii_call_method("bind", [scope])
end