Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::ECS::Types::ServiceDeploymentAlarms

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

Overview

The CloudWatch alarms used to determine a service deployment failed.

Amazon ECS considers the service deployment as failed when any of the alarms move to the ALARM state. For more information, see How CloudWatch alarms detect Amazon ECS deployment failures in the Amazon ECS Developer Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#alarm_namesArray<String>

The name of the CloudWatch alarms that determine when a service deployment failed. A "," separates the alarms.

Returns:

  • (Array<String>)

10211
10212
10213
10214
10215
10216
10217
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10211

class ServiceDeploymentAlarms < Struct.new(
  :status,
  :alarm_names,
  :triggered_alarm_names)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The status of the alarms check. Amazon ECS is not using alarms for service deployment failures when the status is DISABLED.

Returns:

  • (String)

10211
10212
10213
10214
10215
10216
10217
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10211

class ServiceDeploymentAlarms < Struct.new(
  :status,
  :alarm_names,
  :triggered_alarm_names)
  SENSITIVE = []
  include Aws::Structure
end

#triggered_alarm_namesArray<String>

One or more CloudWatch alarm names that have been triggered during the service deployment. A "," separates the alarm names.

Returns:

  • (Array<String>)

10211
10212
10213
10214
10215
10216
10217
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10211

class ServiceDeploymentAlarms < Struct.new(
  :status,
  :alarm_names,
  :triggered_alarm_names)
  SENSITIVE = []
  include Aws::Structure
end