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>)


12783
12784
12785
12786
12787
12788
12789
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 12783

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)


12783
12784
12785
12786
12787
12788
12789
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 12783

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>)


12783
12784
12785
12786
12787
12788
12789
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 12783

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