You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::IoT::Types::AlertTarget

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

Overview

Note:

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

{
  alert_target_arn: "AlertTargetArn", # required
  role_arn: "RoleArn", # required
}

A structure containing the alert target ARN and the role ARN.

Instance Attribute Summary collapse

Instance Attribute Details

#alert_target_arnString

The ARN of the notification target to which alerts are sent.

Returns:

  • (String)


461
462
463
464
465
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 461

class AlertTarget < Struct.new(
  :alert_target_arn,
  :role_arn)
  include Aws::Structure
end

#role_arnString

The ARN of the role that grants permission to send alerts to the notification target.

Returns:

  • (String)


461
462
463
464
465
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 461

class AlertTarget < Struct.new(
  :alert_target_arn,
  :role_arn)
  include Aws::Structure
end