@Stability(value=Stable) public static final class CfnLogging.Builder extends Object implements software.amazon.jsii.Builder<CfnLogging>
CfnLogging.| Modifier and Type | Method and Description |
|---|---|
CfnLogging.Builder |
accountId(String accountId)
The unique identifier of the account to use when writing to CloudWatch logs.
|
CfnLogging |
build() |
static CfnLogging.Builder |
create(Construct scope,
String id) |
CfnLogging.Builder |
defaultLogLevel(String defaultLogLevel)
The logging level.
|
CfnLogging.Builder |
roleArn(String roleArn)
The ARN of the role that allows IoT to write to Cloudwatch logs.
|
@Stability(value=Stable) public static CfnLogging.Builder create(Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnLogging.Builder.@Stability(value=Stable) public CfnLogging.Builder accountId(String accountId)
accountId - The unique identifier of the account to use when writing to CloudWatch logs. This parameter is required.this@Stability(value=Stable) public CfnLogging.Builder defaultLogLevel(String defaultLogLevel)
Valid values are DEBUG , INFO , ERROR , WARN , and DISABLED .
defaultLogLevel - The logging level. This parameter is required.this@Stability(value=Stable) public CfnLogging.Builder roleArn(String roleArn)
roleArn - The ARN of the role that allows IoT to write to Cloudwatch logs. This parameter is required.this@Stability(value=Stable) public CfnLogging build()
build in interface software.amazon.jsii.Builder<CfnLogging>Copyright © 2022. All rights reserved.