AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::IoT::ResourceSpecificLogging

CfnResourceSpecificLogging

Configure resource-specific logging.

Import

import { CfnResourceSpecificLogging } from 'aws-cdk-lib/aws-iot';

Or use the module namespace:

import * as iot from 'aws-cdk-lib/aws-iot';
// iot.CfnResourceSpecificLogging

Properties

Configuration passed to the constructor as CfnResourceSpecificLoggingProps.

logLevelRequired
string

The default log level.Valid Values: `DEBUG | INFO | ERROR | WARN | DISABLED`.

targetNameRequired
string

The target name.

targetTypeRequired
string

The target type. Valid Values: `DEFAULT | THING_GROUP`

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter