CfnLoggingMixinProps

class aws_cdk.mixins_preview.aws_iot.mixins.CfnLoggingMixinProps(*, account_id=None, default_log_level=None, role_arn=None)

Bases: object

Properties for CfnLoggingPropsMixin.

Parameters:
  • account_id (Optional[str]) – The account ID.

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

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

See:

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.
from aws_cdk.mixins_preview.aws_iot import mixins as iot_mixins

cfn_logging_mixin_props = iot_mixins.CfnLoggingMixinProps(
    account_id="accountId",
    default_log_level="defaultLogLevel",
    role_arn="roleArn"
)

Attributes

account_id

The account ID.

See:

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

default_log_level

The default log level.

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

See:

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

role_arn

The role ARN used for the log.

See:

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