interface CfnLoggingProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoT.CfnLoggingProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnLoggingProps |
Java | software.amazon.awscdk.services.iot.CfnLoggingProps |
Python | aws_cdk.aws_iot.CfnLoggingProps |
TypeScript | aws-cdk-lib » aws_iot » CfnLoggingProps |
Properties for defining a CfnLogging
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-logging.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const cfnLoggingProps: iot.CfnLoggingProps = {
accountId: 'accountId',
defaultLogLevel: 'defaultLogLevel',
roleArn: 'roleArn',
};
Properties
Name | Type | Description |
---|---|---|
account | string | The account ID. |
default | string | The default log level. |
role | string | The role ARN used for the log. |
accountId
Type:
string
The account ID.
defaultLogLevel
Type:
string
The default log level.
Valid Values: DEBUG | INFO | ERROR | WARN | DISABLED
roleArn
Type:
string
The role ARN used for the log.