resource_specific_logging
Gets an individual resource_specific_logging
resource
Overview
Name | resource_specific_logging |
Type | Resource |
Description | resource_specific_logging |
Id | awscc.iot.resource_specific_logging |
Fields
Name | Datatype | Description |
---|---|---|
target_type | string | The target type. Value must be THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID, or EVENT_TYPE. |
target_name | string | The target name. |
log_level | string | The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED. |
target_id | string | Unique Id for a Target (TargetType:TargetName), this will be internally built to serve as primary identifier for a log target. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
target_type,
target_name,
log_level,
target_id
FROM awscc.iot.resource_specific_logging
WHERE data__Identifier = '<TargetId>';
Permissions
To operate on the resource_specific_logging
resource, the following permissions are required:
Read
iot:ListV2LoggingLevels
Update
iot:ListV2LoggingLevels,
iot:SetV2LoggingLevel
Delete
iot:ListV2LoggingLevels,
iot:DeleteV2LoggingLevel