Class: Aws::ECS::Types::ServiceDeployment
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::ServiceDeployment
- 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
-
#alarms ⇒ Types::ServiceDeploymentAlarms
The CloudWatch alarms that determine when a service deployment fails.
-
#cluster_arn ⇒ String
The ARN of the cluster that hosts the service.
-
#created_at ⇒ Time
The time the service deployment was created.
-
#deployment_circuit_breaker ⇒ Types::ServiceDeploymentCircuitBreaker
The circuit breaker configuration that determines a service deployment failed.
-
#deployment_configuration ⇒ Types::DeploymentConfiguration
Optional deployment parameters that control how many tasks run during a deployment and the ordering of stopping and starting tasks.
-
#finished_at ⇒ Time
The time the service deployment finished.
-
#lifecycle_stage ⇒ String
The current lifecycle stage of the deployment.
-
#rollback ⇒ Types::Rollback
The rollback options the service deployment uses when the deployment fails.
-
#service_arn ⇒ String
The ARN of the service for this service deployment.
-
#service_deployment_arn ⇒ String
The ARN of the service deployment.
-
#source_service_revisions ⇒ Array<Types::ServiceRevisionSummary>
The currently deployed workload configuration.
-
#started_at ⇒ Time
The time the service deployment statred.
-
#status ⇒ String
The service deployment state.
-
#status_reason ⇒ String
Information about why the service deployment is in the current status.
-
#stopped_at ⇒ Time
The time the service deployment stopped.
-
#target_service_revision ⇒ Types::ServiceRevisionSummary
The workload configuration being deployed.
-
#updated_at ⇒ Time
The time that the service deployment was last updated.
Instance Attribute Details
#alarms ⇒ Types::ServiceDeploymentAlarms
The CloudWatch alarms that determine when a service deployment fails.
10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10636 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, :lifecycle_stage, :deployment_configuration, :rollback, :deployment_circuit_breaker, :alarms) SENSITIVE = [] include Aws::Structure end |
#cluster_arn ⇒ String
The ARN of the cluster that hosts the service.
10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10636 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, :lifecycle_stage, :deployment_configuration, :rollback, :deployment_circuit_breaker, :alarms) SENSITIVE = [] include Aws::Structure end |
#created_at ⇒ Time
The time the service deployment was created. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.
10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10636 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, :lifecycle_stage, :deployment_configuration, :rollback, :deployment_circuit_breaker, :alarms) SENSITIVE = [] include Aws::Structure end |
#deployment_circuit_breaker ⇒ Types::ServiceDeploymentCircuitBreaker
The circuit breaker configuration that determines a service deployment failed.
10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10636 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, :lifecycle_stage, :deployment_configuration, :rollback, :deployment_circuit_breaker, :alarms) SENSITIVE = [] include Aws::Structure end |
#deployment_configuration ⇒ Types::DeploymentConfiguration
Optional deployment parameters that control how many tasks run during a deployment and the ordering of stopping and starting tasks.
10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10636 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, :lifecycle_stage, :deployment_configuration, :rollback, :deployment_circuit_breaker, :alarms) SENSITIVE = [] include Aws::Structure end |
#finished_at ⇒ Time
The time the service deployment finished. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.
10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10636 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, :lifecycle_stage, :deployment_configuration, :rollback, :deployment_circuit_breaker, :alarms) SENSITIVE = [] include Aws::Structure end |
#lifecycle_stage ⇒ String
The current lifecycle stage of the deployment. Possible values include:
RECONCILE_SERVICE
The reconciliation stage that only happens when you start a new service deployment with more than 1 service revision in an ACTIVE state.
PRE_SCALE_UP
The green service revision has not started. The blue service revision is handling 100% of the production traffic. There is no test traffic.
SCALE_UP
The stage when the green service revision scales up to 100% and launches new tasks. The green service revision is not serving any traffic at this point.
POST_SCALE_UP
The green service revision has started. The blue service revision is handling 100% of the production traffic. There is no test traffic.
TEST_TRAFFIC_SHIFT
The blue and green service revisions are running. The blue service revision handles 100% of the production traffic. The green service revision is migrating from 0% to 100% of test traffic.
POST_TEST_TRAFFIC_SHIFT
The test traffic shift is complete. The green service revision handles 100% of the test traffic.
PRODUCTION_TRAFFIC_SHIFT
Production traffic is shifting to the green service revision. The green service revision is migrating from 0% to 100% of production traffic.
POST_PRODUCTION_TRAFFIC_SHIFT
The production traffic shift is complete.
BAKE_TIME
The stage when both blue and green service revisions are running simultaneously after the production traffic has shifted.
CLEAN_UP
The stage when the blue service revision has completely scaled down to 0 running tasks. The green service revision is now the production service revision after this stage.
10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10636 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, :lifecycle_stage, :deployment_configuration, :rollback, :deployment_circuit_breaker, :alarms) SENSITIVE = [] include Aws::Structure end |
#rollback ⇒ Types::Rollback
The rollback options the service deployment uses when the deployment fails.
10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10636 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, :lifecycle_stage, :deployment_configuration, :rollback, :deployment_circuit_breaker, :alarms) SENSITIVE = [] include Aws::Structure end |
#service_arn ⇒ String
The ARN of the service for this service deployment.
10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10636 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, :lifecycle_stage, :deployment_configuration, :rollback, :deployment_circuit_breaker, :alarms) SENSITIVE = [] include Aws::Structure end |
#service_deployment_arn ⇒ String
The ARN of the service deployment.
10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10636 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, :lifecycle_stage, :deployment_configuration, :rollback, :deployment_circuit_breaker, :alarms) SENSITIVE = [] include Aws::Structure end |
#source_service_revisions ⇒ Array<Types::ServiceRevisionSummary>
The currently deployed workload configuration.
10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10636 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, :lifecycle_stage, :deployment_configuration, :rollback, :deployment_circuit_breaker, :alarms) SENSITIVE = [] include Aws::Structure end |
#started_at ⇒ Time
The time the service deployment statred. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.
10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10636 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, :lifecycle_stage, :deployment_configuration, :rollback, :deployment_circuit_breaker, :alarms) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
The service deployment state.
10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10636 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, :lifecycle_stage, :deployment_configuration, :rollback, :deployment_circuit_breaker, :alarms) SENSITIVE = [] include Aws::Structure end |
#status_reason ⇒ String
Information about why the service deployment is in the current status. For example, the circuit breaker detected a failure.
10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10636 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, :lifecycle_stage, :deployment_configuration, :rollback, :deployment_circuit_breaker, :alarms) SENSITIVE = [] include Aws::Structure end |
#stopped_at ⇒ Time
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.
10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10636 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, :lifecycle_stage, :deployment_configuration, :rollback, :deployment_circuit_breaker, :alarms) SENSITIVE = [] include Aws::Structure end |
#target_service_revision ⇒ Types::ServiceRevisionSummary
The workload configuration being deployed.
10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10636 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, :lifecycle_stage, :deployment_configuration, :rollback, :deployment_circuit_breaker, :alarms) SENSITIVE = [] include Aws::Structure end |
#updated_at ⇒ Time
The time that the service deployment was last updated. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.
10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10636 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, :lifecycle_stage, :deployment_configuration, :rollback, :deployment_circuit_breaker, :alarms) SENSITIVE = [] include Aws::Structure end |