CfnResourceSpecificLoggingProps

class aws_cdk.aws_iot.CfnResourceSpecificLoggingProps(*, log_level, target_name, target_type)

Bases: object

Properties for defining a CfnResourceSpecificLogging.

Parameters:
  • log_level (str) – The default log level.Valid Values: DEBUG | INFO | ERROR | WARN | DISABLED.

  • target_name (str) – The target name.

  • target_type (str) – The target type. Valid Values: DEFAULT | THING_GROUP

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-resourcespecificlogging.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_iot as iot

cfn_resource_specific_logging_props = iot.CfnResourceSpecificLoggingProps(
    log_level="logLevel",
    target_name="targetName",
    target_type="targetType"
)

Attributes

log_level

DEBUG | INFO | ERROR | WARN | DISABLED.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-resourcespecificlogging.html#cfn-iot-resourcespecificlogging-loglevel

Type:

The default log level.Valid Values

target_name

The target name.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-resourcespecificlogging.html#cfn-iot-resourcespecificlogging-targetname

target_type

The target type.

Valid Values: DEFAULT | THING_GROUP

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-resourcespecificlogging.html#cfn-iot-resourcespecificlogging-targettype