Interface CfnLoggingProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLoggingProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)",
date="2026-02-09T14:39:12.474Z")
@Stability(Stable)
public interface CfnLoggingProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnLogging.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iot.*;
CfnLoggingProps cfnLoggingProps = CfnLoggingProps.builder()
.accountId("accountId")
.defaultLogLevel("defaultLogLevel")
.roleArn("roleArn")
// the properties below are optional
.eventConfigurations(List.of(EventConfigurationProperty.builder()
.eventType("eventType")
// the properties below are optional
.logDestination("logDestination")
.logLevel("logLevel")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLoggingPropsstatic final classAn implementation forCfnLoggingProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnLoggingProps.Builderbuilder()The account ID.The default log level.default ObjectConfigurations for event-based logging that specifies which event types to log and their logging settings.The role ARN used for the log.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccountId
The account ID.- See Also:
-
getDefaultLogLevel
The default log level.Valid Values:
DEBUG | INFO | ERROR | WARN | DISABLED- See Also:
-
getRoleArn
- See Also:
-
getEventConfigurations
Configurations for event-based logging that specifies which event types to log and their logging settings.Overrides account-level logging for the specified event
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnLogging.EventConfigurationProperty>- See Also:
-
builder
- Returns:
- a
CfnLoggingProps.BuilderofCfnLoggingProps
-