You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CodeDeploy::Types::BlueGreenDeploymentConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb

Overview

Note:

When making an API call, you may pass BlueGreenDeploymentConfiguration data as a hash:

{
  terminate_blue_instances_on_deployment_success: {
    action: "TERMINATE", # accepts TERMINATE, KEEP_ALIVE
    termination_wait_time_in_minutes: 1,
  },
  deployment_ready_option: {
    action_on_timeout: "CONTINUE_DEPLOYMENT", # accepts CONTINUE_DEPLOYMENT, STOP_DEPLOYMENT
    wait_time_in_minutes: 1,
  },
  green_fleet_provisioning_option: {
    action: "DISCOVER_EXISTING", # accepts DISCOVER_EXISTING, COPY_AUTO_SCALING_GROUP
  },
}

Information about blue/green deployment options for a deployment group.

Instance Attribute Summary collapse

Instance Attribute Details

#deployment_ready_optionTypes::DeploymentReadyOption

Information about the action to take when newly provisioned instances are ready to receive traffic in a blue/green deployment.



486
487
488
489
490
491
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 486

class BlueGreenDeploymentConfiguration < Struct.new(
  :terminate_blue_instances_on_deployment_success,
  :deployment_ready_option,
  :green_fleet_provisioning_option)
  include Aws::Structure
end

#green_fleet_provisioning_optionTypes::GreenFleetProvisioningOption

Information about how instances are provisioned for a replacement environment in a blue/green deployment.



486
487
488
489
490
491
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 486

class BlueGreenDeploymentConfiguration < Struct.new(
  :terminate_blue_instances_on_deployment_success,
  :deployment_ready_option,
  :green_fleet_provisioning_option)
  include Aws::Structure
end

#terminate_blue_instances_on_deployment_successTypes::BlueInstanceTerminationOption

Information about whether to terminate instances in the original fleet during a blue/green deployment.



486
487
488
489
490
491
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 486

class BlueGreenDeploymentConfiguration < Struct.new(
  :terminate_blue_instances_on_deployment_success,
  :deployment_ready_option,
  :green_fleet_provisioning_option)
  include Aws::Structure
end