Which CodeDeploy predefined configuration will meet these requirements?
CodeDeployDefault.OnceAtATime
CodeDeployDefault.LambdaCanary10Percent10Minutes
CodeDeployDefault.LambdaLinear10PercentEvery10Minutes
CodeDeployDefault.ECSLinear10PercentEvery3Minutes
Explanations:
CodeDeployDefault.OnceAtATimedeploys one instance at a time with no gradual traffic shifting; this doesn’t meet the 10% incremental traffic shift.
CodeDeployDefault.LambdaCanary10Percent10Minutesshifts 10% of traffic in the first step and then shifts the remaining traffic after 10 minutes, but it only shifts once, not in incremental steps.
CodeDeployDefault.LambdaLinear10PercentEvery10Minutesis the correct predefined configuration, as it gradually shifts 10% of traffic every 10 minutes, which matches the required deployment strategy.
CodeDeployDefault.ECSLinear10PercentEvery3Minutesis for ECS services and shifts traffic every 3 minutes, not 10 minutes, making it unsuitable for this Lambda deployment.