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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#enabledBoolean

True if notifications to the target are enabled.

Returns:

  • (Boolean)


1252
1253
1254
1255
1256
1257
1258
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1252

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

#role_arnString

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

Returns:

  • (String)


1252
1253
1254
1255
1256
1257
1258
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1252

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

#target_arnString

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

Returns:

  • (String)


1252
1253
1254
1255
1256
1257
1258
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1252

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