Class: Aws::SSM::Types::AlarmConfiguration

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

Overview

Note:

When making an API call, you may pass AlarmConfiguration data as a hash:

{
  ignore_poll_alarm_failure: false,
  alarms: [ # required
    {
      name: "AlarmName", # required
    },
  ],
}

The details for the CloudWatch alarm you want to apply to an automation or command.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#alarmsArray<Types::Alarm>

The name of the CloudWatch alarm specified in the configuration.

Returns:



225
226
227
228
229
230
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 225

class AlarmConfiguration < Struct.new(
  :ignore_poll_alarm_failure,
  :alarms)
  SENSITIVE = []
  include Aws::Structure
end

#ignore_poll_alarm_failureBoolean

If you specify true for this value, your automation or command continue to run even if we can't gather information about the state of your CloudWatch alarm. The default value is false.

Returns:

  • (Boolean)


225
226
227
228
229
230
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 225

class AlarmConfiguration < Struct.new(
  :ignore_poll_alarm_failure,
  :alarms)
  SENSITIVE = []
  include Aws::Structure
end