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

Class: Aws::CodeDeploy::Types::StopDeploymentInput

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

{
  deployment_id: "DeploymentId", # required
  auto_rollback_enabled: false,
}

Represents the input of a StopDeployment operation.

Instance Attribute Summary collapse

Instance Attribute Details

#auto_rollback_enabledBoolean

Indicates, when a deployment is stopped, whether instances that have been updated should be rolled back to the previous version of the application revision.

Returns:

  • (Boolean)


3459
3460
3461
3462
3463
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3459

class StopDeploymentInput < Struct.new(
  :deployment_id,
  :auto_rollback_enabled)
  include Aws::Structure
end

#deployment_idString

The unique ID of a deployment.

Returns:

  • (String)


3459
3460
3461
3462
3463
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3459

class StopDeploymentInput < Struct.new(
  :deployment_id,
  :auto_rollback_enabled)
  include Aws::Structure
end