Class LogConfigurationType
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LogConfigurationType.Builder,LogConfigurationType>
The configuration of user event logs to an external Amazon Web Services service like Amazon Data Firehose, Amazon S3, or Amazon CloudWatch Logs.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic LogConfigurationType.Builderbuilder()The CloudWatch log group destination of user pool detailed activity logs, or of user activity log export with threat protection.final booleanfinal booleanequalsBySdkFields(Object obj) final EventSourceNameThe source of events that your user pool sends for logging.final StringThe source of events that your user pool sends for logging.The Amazon Data Firehose stream destination of user activity log export with threat protection.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final LogLevellogLevel()Theerrorlevelselection of logs that a user pool sends for detailed activity logging.final StringTheerrorlevelselection of logs that a user pool sends for detailed activity logging.final S3ConfigurationTypeThe Amazon S3 bucket destination of user activity log export with threat protection.static Class<? extends LogConfigurationType.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
logLevel
The
errorlevelselection of logs that a user pool sends for detailed activity logging. To senduserNotificationactivity with information about message delivery, chooseERRORwithCloudWatchLogsConfiguration. To senduserAuthEventsactivity with user logs from threat protection with the Plus feature plan, chooseINFOwith one ofCloudWatchLogsConfiguration,FirehoseConfiguration, orS3Configuration.If the service returns an enum value that is not available in the current SDK version,
logLevelwill returnLogLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlogLevelAsString().- Returns:
- The
errorlevelselection of logs that a user pool sends for detailed activity logging. To senduserNotificationactivity with information about message delivery, chooseERRORwithCloudWatchLogsConfiguration. To senduserAuthEventsactivity with user logs from threat protection with the Plus feature plan, chooseINFOwith one ofCloudWatchLogsConfiguration,FirehoseConfiguration, orS3Configuration. - See Also:
-
logLevelAsString
The
errorlevelselection of logs that a user pool sends for detailed activity logging. To senduserNotificationactivity with information about message delivery, chooseERRORwithCloudWatchLogsConfiguration. To senduserAuthEventsactivity with user logs from threat protection with the Plus feature plan, chooseINFOwith one ofCloudWatchLogsConfiguration,FirehoseConfiguration, orS3Configuration.If the service returns an enum value that is not available in the current SDK version,
logLevelwill returnLogLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlogLevelAsString().- Returns:
- The
errorlevelselection of logs that a user pool sends for detailed activity logging. To senduserNotificationactivity with information about message delivery, chooseERRORwithCloudWatchLogsConfiguration. To senduserAuthEventsactivity with user logs from threat protection with the Plus feature plan, chooseINFOwith one ofCloudWatchLogsConfiguration,FirehoseConfiguration, orS3Configuration. - See Also:
-
eventSource
The source of events that your user pool sends for logging. To send error-level logs about user notification activity, set to
userNotification. To send info-level logs about threat-protection user activity in user pools with the Plus feature plan, set touserAuthEvents.If the service returns an enum value that is not available in the current SDK version,
eventSourcewill returnEventSourceName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventSourceAsString().- Returns:
- The source of events that your user pool sends for logging. To send error-level logs about user
notification activity, set to
userNotification. To send info-level logs about threat-protection user activity in user pools with the Plus feature plan, set touserAuthEvents. - See Also:
-
eventSourceAsString
The source of events that your user pool sends for logging. To send error-level logs about user notification activity, set to
userNotification. To send info-level logs about threat-protection user activity in user pools with the Plus feature plan, set touserAuthEvents.If the service returns an enum value that is not available in the current SDK version,
eventSourcewill returnEventSourceName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventSourceAsString().- Returns:
- The source of events that your user pool sends for logging. To send error-level logs about user
notification activity, set to
userNotification. To send info-level logs about threat-protection user activity in user pools with the Plus feature plan, set touserAuthEvents. - See Also:
-
cloudWatchLogsConfiguration
The CloudWatch log group destination of user pool detailed activity logs, or of user activity log export with threat protection.
- Returns:
- The CloudWatch log group destination of user pool detailed activity logs, or of user activity log export with threat protection.
-
s3Configuration
The Amazon S3 bucket destination of user activity log export with threat protection. To activate this setting, your user pool must be on the Plus tier.
- Returns:
- The Amazon S3 bucket destination of user activity log export with threat protection. To activate this setting, your user pool must be on the Plus tier.
-
firehoseConfiguration
The Amazon Data Firehose stream destination of user activity log export with threat protection. To activate this setting, your user pool must be on the Plus tier.
- Returns:
- The Amazon Data Firehose stream destination of user activity log export with threat protection. To activate this setting, your user pool must be on the Plus tier.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<LogConfigurationType.Builder,LogConfigurationType>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-