CfnLogDeliveryConfigurationMixinProps
- class aws_cdk.mixins_preview.aws_cognito.mixins.CfnLogDeliveryConfigurationMixinProps(*, log_configurations=None, user_pool_id=None)
Bases:
objectProperties for CfnLogDeliveryConfigurationPropsMixin.
- Parameters:
log_configurations (
Union[IResolvable,Sequence[Union[IResolvable,LogConfigurationProperty,Dict[str,Any]]],None]) – A logging destination of a user pool. User pools can have multiple logging destinations for message-delivery and user-activity logs.user_pool_id (
Optional[str]) – The ID of the user pool where you configured logging.
- See:
- 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.mixins_preview.aws_cognito import mixins as cognito_mixins cfn_log_delivery_configuration_mixin_props = cognito_mixins.CfnLogDeliveryConfigurationMixinProps( log_configurations=[cognito_mixins.CfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty( cloud_watch_logs_configuration=cognito_mixins.CfnLogDeliveryConfigurationPropsMixin.CloudWatchLogsConfigurationProperty( log_group_arn="logGroupArn" ), event_source="eventSource", firehose_configuration=cognito_mixins.CfnLogDeliveryConfigurationPropsMixin.FirehoseConfigurationProperty( stream_arn="streamArn" ), log_level="logLevel", s3_configuration=cognito_mixins.CfnLogDeliveryConfigurationPropsMixin.S3ConfigurationProperty( bucket_arn="bucketArn" ) )], user_pool_id="userPoolId" )
Attributes
- log_configurations
A logging destination of a user pool.
User pools can have multiple logging destinations for message-delivery and user-activity logs.
- user_pool_id
The ID of the user pool where you configured logging.