CfnCodeDeployBlueGreenLifecycleEventHooks

class aws_cdk.core.CfnCodeDeployBlueGreenLifecycleEventHooks(*, after_allow_test_traffic=None, after_allow_traffic=None, after_install=None, before_allow_traffic=None, before_install=None)

Bases: object

Lifecycle events for blue-green deployments.

The type of the {@link CfnCodeDeployBlueGreenHookProps.lifecycleEventHooks} property.

Parameters
  • after_allow_test_traffic (Optional[str]) – Function to use to run tasks after the test listener serves traffic to the replacement task set. Default: - none

  • after_allow_traffic (Optional[str]) – Function to use to run tasks after the second target group serves traffic to the replacement task set. Default: - none

  • after_install (Optional[str]) – Function to use to run tasks after the replacement task set is created and one of the target groups is associated with it. Default: - none

  • before_allow_traffic (Optional[str]) – Function to use to run tasks after the second target group is associated with the replacement task set, but before traffic is shifted to the replacement task set. Default: - none

  • before_install (Optional[str]) – Function to use to run tasks before the replacement task set is created. Default: - none

Attributes

after_allow_test_traffic

Function to use to run tasks after the test listener serves traffic to the replacement task set.

Default
  • none

Return type

Optional[str]

after_allow_traffic

Function to use to run tasks after the second target group serves traffic to the replacement task set.

Default
  • none

Return type

Optional[str]

after_install

Function to use to run tasks after the replacement task set is created and one of the target groups is associated with it.

Default
  • none

Return type

Optional[str]

before_allow_traffic

Function to use to run tasks after the second target group is associated with the replacement task set, but before traffic is shifted to the replacement task set.

Default
  • none

Return type

Optional[str]

before_install

Function to use to run tasks before the replacement task set is created.

Default
  • none

Return type

Optional[str]