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

Class: Aws::IoT::Types::AuditNotificationTarget

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 AuditNotificationTarget data as a hash:

{
  target_arn: "TargetArn",
  role_arn: "RoleArn",
  enabled: false,
}

Information about the targets to which audit notifications are sent.

Instance Attribute Summary collapse

Instance Attribute Details

#enabledBoolean

True if notifications to the target are enabled.

Returns:

  • (Boolean)


930
931
932
933
934
935
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 930

class AuditNotificationTarget < Struct.new(
  :target_arn,
  :role_arn,
  :enabled)
  include Aws::Structure
end

#role_arnString

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

Returns:

  • (String)


930
931
932
933
934
935
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 930

class AuditNotificationTarget < Struct.new(
  :target_arn,
  :role_arn,
  :enabled)
  include Aws::Structure
end

#target_arnString

The ARN of the target (SNS topic) to which audit notifications are sent.

Returns:

  • (String)


930
931
932
933
934
935
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 930

class AuditNotificationTarget < Struct.new(
  :target_arn,
  :role_arn,
  :enabled)
  include Aws::Structure
end