CfnLoggingProps

class aws_cdk.aws_iot.CfnLoggingProps(*, account_id, default_log_level, role_arn)

Bases: object

Properties for defining a CfnLogging.

Parameters
  • account_id (str) – The account ID.

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

  • role_arn (str) – The role ARN used for the log.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-logging.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_logging_props = iot.CfnLoggingProps(
    account_id="accountId",
    default_log_level="defaultLogLevel",
    role_arn="roleArn"
)

Attributes

account_id

The account ID.

Link

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

Return type

str

default_log_level

The default log level.

Valid Values: DEBUG | INFO | ERROR | WARN | DISABLED

Link

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

Return type

str

role_arn

The role ARN used for the log.

Link

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

Return type

str