Skip to main content

loggings_list_only

Lists loggings in a region or regions, for all properties use loggings

Overview

Nameloggings_list_only
TypeResource
DescriptionLogging Options enable you to configure your IoT V2 logging role and default logging level so that you can monitor progress events logs as it passes from your devices through Iot core service.
Idaws.iot.loggings_list_only

Fields

NameDatatypeDescription
account_idstringYour 12-digit account ID (used as the primary identifier for the CloudFormation resource).
role_arnstringThe ARN of the role that allows IoT to write to Cloudwatch logs.
default_log_levelstringThe log level to use. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all loggings in a region.

SELECT
region,
account_id
FROM aws.iot.loggings_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the loggings_list_only resource, see loggings