IAlternateTarget

class aws_cdk.aws_ecs.IAlternateTarget(*args, **kwargs)

Bases: Protocol

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

Methods

bind(scope)

Bind this configuration to a service.

Parameters:

scope (IConstruct) – The construct scope.

Return type:

AlternateTargetConfig

Returns:

The configuration to apply to the service