CfnLogDeliveryConfigurationProps

class aws_cdk.aws_cognito.CfnLogDeliveryConfigurationProps(*, user_pool_id, log_configurations=None)

Bases: object

Properties for defining a CfnLogDeliveryConfiguration.

Parameters:
  • user_pool_id (str) – The ID of the user pool where you configured detailed activity logging.

  • log_configurations (Union[IResolvable, Sequence[Union[IResolvable, LogConfigurationProperty, Dict[str, Any]]], None]) – The detailed activity logging destination of a user pool.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-logdeliveryconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cognito as cognito

cfn_log_delivery_configuration_props = cognito.CfnLogDeliveryConfigurationProps(
    user_pool_id="userPoolId",

    # the properties below are optional
    log_configurations=[cognito.CfnLogDeliveryConfiguration.LogConfigurationProperty(
        cloud_watch_logs_configuration=cognito.CfnLogDeliveryConfiguration.CloudWatchLogsConfigurationProperty(
            log_group_arn="logGroupArn"
        ),
        event_source="eventSource",
        log_level="logLevel"
    )]
)

Attributes

log_configurations

The detailed activity logging destination of a user pool.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-logdeliveryconfiguration.html#cfn-cognito-logdeliveryconfiguration-logconfigurations

user_pool_id

The ID of the user pool where you configured detailed activity logging.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-logdeliveryconfiguration.html#cfn-cognito-logdeliveryconfiguration-userpoolid