@Stability(value=Stable) public static final class CfnCodeDeployBlueGreenHook.Builder extends Object implements software.amazon.jsii.Builder<CfnCodeDeployBlueGreenHook>
CfnCodeDeployBlueGreenHook.@Stability(value=Stable) public static CfnCodeDeployBlueGreenHook.Builder create(Construct scope, String id)
scope - the scope to create the hook in (usually the containing Stack object). This parameter is required.id - the identifier of the construct - will be used to generate the logical ID of the Hook. This parameter is required.CfnCodeDeployBlueGreenHook.Builder.@Stability(value=Stable) public CfnCodeDeployBlueGreenHook.Builder applications(List<? extends CfnCodeDeployBlueGreenApplication> applications)
applications - Properties of the Amazon ECS applications being deployed. This parameter is required.this@Stability(value=Stable) public CfnCodeDeployBlueGreenHook.Builder serviceRole(String serviceRole)
serviceRole - The IAM Role for CloudFormation to use to perform blue-green deployments. This parameter is required.this@Stability(value=Stable) public CfnCodeDeployBlueGreenHook.Builder additionalOptions(CfnCodeDeployBlueGreenAdditionalOptions additionalOptions)
Default: - no additional options
additionalOptions - Additional options for the blue/green deployment. This parameter is required.this@Stability(value=Stable) public CfnCodeDeployBlueGreenHook.Builder lifecycleEventHooks(CfnCodeDeployBlueGreenLifecycleEventHooks lifecycleEventHooks)
You can use the same function or a different one for deployment lifecycle events. Following completion of the validation tests, the Lambda {@link CfnCodeDeployBlueGreenLifecycleEventHooks.afterAllowTraffic} function calls back CodeDeploy and delivers a result of 'Succeeded' or 'Failed'.
Default: - no lifecycle event hooks
lifecycleEventHooks - Use lifecycle event hooks to specify a Lambda function that CodeDeploy can call to validate a deployment. This parameter is required.this@Stability(value=Stable) public CfnCodeDeployBlueGreenHook.Builder trafficRoutingConfig(CfnTrafficRoutingConfig trafficRoutingConfig)
Default: - time-based canary traffic shifting, with a 15% step percentage and a five minute bake time
trafficRoutingConfig - Traffic routing configuration settings. This parameter is required.this@Stability(value=Stable) public CfnCodeDeployBlueGreenHook build()
build in interface software.amazon.jsii.Builder<CfnCodeDeployBlueGreenHook>Copyright © 2020. All rights reserved.