import * as core from "@terrascript/core"; export interface LoggingOptionsArgs extends core.ResourceArgs { /** * (Optional) The default logging level. Valid Values: `"DEBUG"`, `"INFO"`, `"ERROR"`, `"WARN"`, `"DISA * BLED"`. */ defaultLogLevel: string | core.StringOut; /** * (Optional) If `true` all logs are disabled. The default is `false`. */ disableAllLogs?: boolean | core.BooleanOut; /** * (Required) The ARN of the role that allows IoT to write to Cloudwatch logs. */ roleArn: string | core.StringOut; } export class LoggingOptions extends core.Resource { /** * (Optional) The default logging level. Valid Values: `"DEBUG"`, `"INFO"`, `"ERROR"`, `"WARN"`, `"DISA * BLED"`. */ @core.attr(String) public defaultLogLevel!: string | core.StringOut; /** * (Optional) If `true` all logs are disabled. The default is `false`. */ @core.attr(Boolean) public disableAllLogs?: boolean | core.BooleanOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The ARN of the role that allows IoT to write to Cloudwatch logs. */ @core.attr(String) public roleArn!: string | core.StringOut; constructor(name: string, args?: LoggingOptionsArgs) { super(name, "aws_iot_logging_options", args); } public override getNamespace(): string { return "aws_iot"; } }