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)


1100
1101
1102
1103
1104
1105
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1100

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)


1100
1101
1102
1103
1104
1105
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1100

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)


1100
1101
1102
1103
1104
1105
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1100

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