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

Class: Aws::CodeDeploy::Types::DeploymentStyle

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 DeploymentStyle data as a hash:

{
  deployment_type: "IN_PLACE", # accepts IN_PLACE, BLUE_GREEN
  deployment_option: "WITH_TRAFFIC_CONTROL", # accepts WITH_TRAFFIC_CONTROL, WITHOUT_TRAFFIC_CONTROL
}

Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.

Instance Attribute Summary collapse

Instance Attribute Details

#deployment_optionString

Indicates whether to route deployment traffic behind a load balancer.

Returns:

  • (String)


1546
1547
1548
1549
1550
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 1546

class DeploymentStyle < Struct.new(
  :deployment_type,
  :deployment_option)
  include Aws::Structure
end

#deployment_typeString

Indicates whether to run an in-place deployment or a blue/green deployment.

Returns:

  • (String)


1546
1547
1548
1549
1550
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 1546

class DeploymentStyle < Struct.new(
  :deployment_type,
  :deployment_option)
  include Aws::Structure
end