Class: Aws::ECS::Types::ServiceDeployment

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

Overview

Information about the service deployment.

Service deployments provide a comprehensive view of your deployments. For information about service deployments, see View service history using Amazon ECS service deployments in the Amazon Elastic Container Service Developer Guide .

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#alarmsTypes::ServiceDeploymentAlarms

The CloudWatch alarms that determine when a service deployment fails.



10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10092

class ServiceDeployment < Struct.new(
  :service_deployment_arn,
  :service_arn,
  :cluster_arn,
  :created_at,
  :started_at,
  :finished_at,
  :stopped_at,
  :updated_at,
  :source_service_revisions,
  :target_service_revision,
  :status,
  :status_reason,
  :deployment_configuration,
  :rollback,
  :deployment_circuit_breaker,
  :alarms)
  SENSITIVE = []
  include Aws::Structure
end

#cluster_arnString

The ARN of the cluster that hosts the service.

Returns:

  • (String)


10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10092

class ServiceDeployment < Struct.new(
  :service_deployment_arn,
  :service_arn,
  :cluster_arn,
  :created_at,
  :started_at,
  :finished_at,
  :stopped_at,
  :updated_at,
  :source_service_revisions,
  :target_service_revision,
  :status,
  :status_reason,
  :deployment_configuration,
  :rollback,
  :deployment_circuit_breaker,
  :alarms)
  SENSITIVE = []
  include Aws::Structure
end

#created_atTime

The time the service deployment was created. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.

Returns:

  • (Time)


10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10092

class ServiceDeployment < Struct.new(
  :service_deployment_arn,
  :service_arn,
  :cluster_arn,
  :created_at,
  :started_at,
  :finished_at,
  :stopped_at,
  :updated_at,
  :source_service_revisions,
  :target_service_revision,
  :status,
  :status_reason,
  :deployment_configuration,
  :rollback,
  :deployment_circuit_breaker,
  :alarms)
  SENSITIVE = []
  include Aws::Structure
end

#deployment_circuit_breakerTypes::ServiceDeploymentCircuitBreaker

The circuit breaker configuration that determines a service deployment failed.



10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10092

class ServiceDeployment < Struct.new(
  :service_deployment_arn,
  :service_arn,
  :cluster_arn,
  :created_at,
  :started_at,
  :finished_at,
  :stopped_at,
  :updated_at,
  :source_service_revisions,
  :target_service_revision,
  :status,
  :status_reason,
  :deployment_configuration,
  :rollback,
  :deployment_circuit_breaker,
  :alarms)
  SENSITIVE = []
  include Aws::Structure
end

#deployment_configurationTypes::DeploymentConfiguration

Optional deployment parameters that control how many tasks run during a deployment and the ordering of stopping and starting tasks.



10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10092

class ServiceDeployment < Struct.new(
  :service_deployment_arn,
  :service_arn,
  :cluster_arn,
  :created_at,
  :started_at,
  :finished_at,
  :stopped_at,
  :updated_at,
  :source_service_revisions,
  :target_service_revision,
  :status,
  :status_reason,
  :deployment_configuration,
  :rollback,
  :deployment_circuit_breaker,
  :alarms)
  SENSITIVE = []
  include Aws::Structure
end

#finished_atTime

The time the service deployment finished. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.

Returns:

  • (Time)


10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10092

class ServiceDeployment < Struct.new(
  :service_deployment_arn,
  :service_arn,
  :cluster_arn,
  :created_at,
  :started_at,
  :finished_at,
  :stopped_at,
  :updated_at,
  :source_service_revisions,
  :target_service_revision,
  :status,
  :status_reason,
  :deployment_configuration,
  :rollback,
  :deployment_circuit_breaker,
  :alarms)
  SENSITIVE = []
  include Aws::Structure
end

#rollbackTypes::Rollback

The rollback options the service deployment uses when the deployment fails.

Returns:



10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10092

class ServiceDeployment < Struct.new(
  :service_deployment_arn,
  :service_arn,
  :cluster_arn,
  :created_at,
  :started_at,
  :finished_at,
  :stopped_at,
  :updated_at,
  :source_service_revisions,
  :target_service_revision,
  :status,
  :status_reason,
  :deployment_configuration,
  :rollback,
  :deployment_circuit_breaker,
  :alarms)
  SENSITIVE = []
  include Aws::Structure
end

#service_arnString

The ARN of the service for this service deployment.

Returns:

  • (String)


10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10092

class ServiceDeployment < Struct.new(
  :service_deployment_arn,
  :service_arn,
  :cluster_arn,
  :created_at,
  :started_at,
  :finished_at,
  :stopped_at,
  :updated_at,
  :source_service_revisions,
  :target_service_revision,
  :status,
  :status_reason,
  :deployment_configuration,
  :rollback,
  :deployment_circuit_breaker,
  :alarms)
  SENSITIVE = []
  include Aws::Structure
end

#service_deployment_arnString

The ARN of the service deployment.

Returns:

  • (String)


10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10092

class ServiceDeployment < Struct.new(
  :service_deployment_arn,
  :service_arn,
  :cluster_arn,
  :created_at,
  :started_at,
  :finished_at,
  :stopped_at,
  :updated_at,
  :source_service_revisions,
  :target_service_revision,
  :status,
  :status_reason,
  :deployment_configuration,
  :rollback,
  :deployment_circuit_breaker,
  :alarms)
  SENSITIVE = []
  include Aws::Structure
end

#source_service_revisionsArray<Types::ServiceRevisionSummary>

The currently deployed workload configuration.

Returns:



10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10092

class ServiceDeployment < Struct.new(
  :service_deployment_arn,
  :service_arn,
  :cluster_arn,
  :created_at,
  :started_at,
  :finished_at,
  :stopped_at,
  :updated_at,
  :source_service_revisions,
  :target_service_revision,
  :status,
  :status_reason,
  :deployment_configuration,
  :rollback,
  :deployment_circuit_breaker,
  :alarms)
  SENSITIVE = []
  include Aws::Structure
end

#started_atTime

The time the service deployment statred. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.

Returns:

  • (Time)


10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10092

class ServiceDeployment < Struct.new(
  :service_deployment_arn,
  :service_arn,
  :cluster_arn,
  :created_at,
  :started_at,
  :finished_at,
  :stopped_at,
  :updated_at,
  :source_service_revisions,
  :target_service_revision,
  :status,
  :status_reason,
  :deployment_configuration,
  :rollback,
  :deployment_circuit_breaker,
  :alarms)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The service deployment state.

Returns:

  • (String)


10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10092

class ServiceDeployment < Struct.new(
  :service_deployment_arn,
  :service_arn,
  :cluster_arn,
  :created_at,
  :started_at,
  :finished_at,
  :stopped_at,
  :updated_at,
  :source_service_revisions,
  :target_service_revision,
  :status,
  :status_reason,
  :deployment_configuration,
  :rollback,
  :deployment_circuit_breaker,
  :alarms)
  SENSITIVE = []
  include Aws::Structure
end

#status_reasonString

Information about why the service deployment is in the current status. For example, the circuit breaker detected a failure.

Returns:

  • (String)


10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10092

class ServiceDeployment < Struct.new(
  :service_deployment_arn,
  :service_arn,
  :cluster_arn,
  :created_at,
  :started_at,
  :finished_at,
  :stopped_at,
  :updated_at,
  :source_service_revisions,
  :target_service_revision,
  :status,
  :status_reason,
  :deployment_configuration,
  :rollback,
  :deployment_circuit_breaker,
  :alarms)
  SENSITIVE = []
  include Aws::Structure
end

#stopped_atTime

The time the service deployment stopped. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.

The service deployment stops when any of the following actions happen:

  • A user manually stops the deployment

  • The rollback option is not in use for the failure detection mechanism (the circuit breaker or alarm-based) and the service fails.

Returns:

  • (Time)


10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10092

class ServiceDeployment < Struct.new(
  :service_deployment_arn,
  :service_arn,
  :cluster_arn,
  :created_at,
  :started_at,
  :finished_at,
  :stopped_at,
  :updated_at,
  :source_service_revisions,
  :target_service_revision,
  :status,
  :status_reason,
  :deployment_configuration,
  :rollback,
  :deployment_circuit_breaker,
  :alarms)
  SENSITIVE = []
  include Aws::Structure
end

#target_service_revisionTypes::ServiceRevisionSummary

The workload configuration being deployed.



10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10092

class ServiceDeployment < Struct.new(
  :service_deployment_arn,
  :service_arn,
  :cluster_arn,
  :created_at,
  :started_at,
  :finished_at,
  :stopped_at,
  :updated_at,
  :source_service_revisions,
  :target_service_revision,
  :status,
  :status_reason,
  :deployment_configuration,
  :rollback,
  :deployment_circuit_breaker,
  :alarms)
  SENSITIVE = []
  include Aws::Structure
end

#updated_atTime

The time that the service deployment was last updated. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.

Returns:

  • (Time)


10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10092

class ServiceDeployment < Struct.new(
  :service_deployment_arn,
  :service_arn,
  :cluster_arn,
  :created_at,
  :started_at,
  :finished_at,
  :stopped_at,
  :updated_at,
  :source_service_revisions,
  :target_service_revision,
  :status,
  :status_reason,
  :deployment_configuration,
  :rollback,
  :deployment_circuit_breaker,
  :alarms)
  SENSITIVE = []
  include Aws::Structure
end