Set Log Delivery Configuration
| cognitoidentityprovider_set_log_delivery_configuration | R Documentation | 
Sets up or modifies the logging configuration of a user pool¶
Description¶
Sets up or modifies the logging configuration of a user pool. User pools can export user notification logs and, when threat protection is active, user-activity logs. For more information, see Exporting user pool logs.
Usage¶
cognitoidentityprovider_set_log_delivery_configuration(UserPoolId,
  LogConfigurations)
Arguments¶
| UserPoolId | [required] The ID of the user pool where you want to configure logging. | 
| LogConfigurations | [required] A collection of the logging configurations for a user pool. | 
Value¶
A list with the following syntax:
list(
  LogDeliveryConfiguration = list(
    UserPoolId = "string",
    LogConfigurations = list(
      list(
        LogLevel = "ERROR"|"INFO",
        EventSource = "userNotification"|"userAuthEvents",
        CloudWatchLogsConfiguration = list(
          LogGroupArn = "string"
        ),
        S3Configuration = list(
          BucketArn = "string"
        ),
        FirehoseConfiguration = list(
          StreamArn = "string"
        )
      )
    )
  )
)
Request syntax¶
svc$set_log_delivery_configuration(
  UserPoolId = "string",
  LogConfigurations = list(
    list(
      LogLevel = "ERROR"|"INFO",
      EventSource = "userNotification"|"userAuthEvents",
      CloudWatchLogsConfiguration = list(
        LogGroupArn = "string"
      ),
      S3Configuration = list(
        BucketArn = "string"
      ),
      FirehoseConfiguration = list(
        StreamArn = "string"
      )
    )
  )
)