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 logging.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.
- 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 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", firehose_configuration=cognito.CfnLogDeliveryConfiguration.FirehoseConfigurationProperty( stream_arn="streamArn" ), log_level="logLevel", s3_configuration=cognito.CfnLogDeliveryConfiguration.S3ConfigurationProperty( bucket_arn="bucketArn" ) )] )
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.