AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::IoT::Types::SetV2LoggingOptionsRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing SetV2LoggingOptionsRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  role_arn: "AwsArn",
  default_log_level: "DEBUG", # accepts DEBUG, INFO, ERROR, WARN, DISABLED
  disable_all_logs: false,
}

Instance Attribute Summary collapse

Instance Attribute Details

#default_log_levelString

The default logging level.

Possible values:

  • DEBUG
  • INFO
  • ERROR
  • WARN
  • DISABLED

Returns:

  • (String)

    The default logging level.

#disable_all_logsBoolean

If true all logs are disabled. The default is false.

Returns:

  • (Boolean)

    If true all logs are disabled.

#role_arnString

The ARN of the role that allows IoT to write to Cloudwatch logs.

Returns:

  • (String)

    The ARN of the role that allows IoT to write to Cloudwatch logs.