Class: Aws::IoT::Types::UpdateAccountAuditConfigurationRequest

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

Overview

Note:

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

{
  role_arn: "RoleArn",
  audit_notification_target_configurations: {
    "SNS" => {
      target_arn: "TargetArn",
      role_arn: "RoleArn",
      enabled: false,
    },
  },
  audit_check_configurations: {
    "AuditCheckName" => {
      enabled: false,
    },
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#audit_check_configurationsHash<String,Types::AuditCheckConfiguration>

Specifies which audit checks are enabled and disabled for this account. Use ‘DescribeAccountAuditConfiguration` to see the list of all checks including those that are currently enabled.

Note that some data collection may begin immediately when certain checks are enabled. When a check is disabled, any data collected so far in relation to the check is deleted.

You cannot disable a check if it is used by any scheduled audit. You must first delete the check from the scheduled audit or delete the scheduled audit itself.

On the first call to ‘UpdateAccountAuditConfiguration` this parameter is required and must specify at least one enabled check.

Returns:



10738
10739
10740
10741
10742
10743
# File 'lib/aws-sdk-iot/types.rb', line 10738

class UpdateAccountAuditConfigurationRequest < Struct.new(
  :role_arn,
  :audit_notification_target_configurations,
  :audit_check_configurations)
  include Aws::Structure
end

#audit_notification_target_configurationsHash<String,Types::AuditNotificationTarget>

Information about the targets to which audit notifications are sent.

Returns:



10738
10739
10740
10741
10742
10743
# File 'lib/aws-sdk-iot/types.rb', line 10738

class UpdateAccountAuditConfigurationRequest < Struct.new(
  :role_arn,
  :audit_notification_target_configurations,
  :audit_check_configurations)
  include Aws::Structure
end

#role_arnString

The ARN of the role that grants permission to AWS IoT to access information about your devices, policies, certificates and other items as necessary when performing an audit.

Returns:

  • (String)


10738
10739
10740
10741
10742
10743
# File 'lib/aws-sdk-iot/types.rb', line 10738

class UpdateAccountAuditConfigurationRequest < Struct.new(
  :role_arn,
  :audit_notification_target_configurations,
  :audit_check_configurations)
  include Aws::Structure
end