Class CfnLoggingPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnLoggingPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLoggingPropsMixin>
- Enclosing class:
CfnLoggingPropsMixin
@Stability(Stable)
public static final class CfnLoggingPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLoggingPropsMixin>
A fluent builder for
CfnLoggingPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionThe account ID.build()static CfnLoggingPropsMixin.Buildercreate()static CfnLoggingPropsMixin.Buildercreate(CfnPropertyMixinOptions options) defaultLogLevel(String defaultLogLevel) The default log level.eventConfigurations(List<? extends Object> eventConfigurations) Configurations for event-based logging that specifies which event types to log and their logging settings.eventConfigurations(IResolvable eventConfigurations) Configurations for event-based logging that specifies which event types to log and their logging settings.The role ARN used for the log.The role ARN used for the log.
-
Method Details
-
create
@Stability(Stable) public static CfnLoggingPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnLoggingPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnLoggingPropsMixin.Builder.
-
accountId
The account ID.- Parameters:
accountId- The account ID. This parameter is required.- Returns:
this- See Also:
-
defaultLogLevel
The default log level.Valid Values:
DEBUG | INFO | ERROR | WARN | DISABLED- Parameters:
defaultLogLevel- The default log level. This parameter is required.- Returns:
this- See Also:
-
eventConfigurations
@Stability(Stable) public CfnLoggingPropsMixin.Builder eventConfigurations(IResolvable eventConfigurations) Configurations for event-based logging that specifies which event types to log and their logging settings.Overrides account-level logging for the specified event
- Parameters:
eventConfigurations- Configurations for event-based logging that specifies which event types to log and their logging settings. This parameter is required.- Returns:
this- See Also:
-
eventConfigurations
@Stability(Stable) public CfnLoggingPropsMixin.Builder eventConfigurations(List<? extends Object> eventConfigurations) Configurations for event-based logging that specifies which event types to log and their logging settings.Overrides account-level logging for the specified event
- Parameters:
eventConfigurations- Configurations for event-based logging that specifies which event types to log and their logging settings. This parameter is required.- Returns:
this- See Also:
-
roleArn
The role ARN used for the log.- Parameters:
roleArn- The role ARN used for the log. This parameter is required.- Returns:
this- See Also:
-
roleArn
The role ARN used for the log.- Parameters:
roleArn- The role ARN used for the log. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLoggingPropsMixin>- Returns:
- a newly built instance of
CfnLoggingPropsMixin.
-