Class CfnLogDeliveryConfiguration.CloudWatchLogsConfigurationProperty
Configuration for the CloudWatch log group destination of user pool detailed activity logging, or of user activity log export with advanced security features.
Inheritance
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CloudWatchLogsConfigurationProperty : Object, CfnLogDeliveryConfiguration.ICloudWatchLogsConfigurationProperty
Syntax (vb)
Public Class CloudWatchLogsConfigurationProperty
Inherits Object
Implements CfnLogDeliveryConfiguration.ICloudWatchLogsConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cognito;
var cloudWatchLogsConfigurationProperty = new CloudWatchLogsConfigurationProperty {
LogGroupArn = "logGroupArn"
};
Synopsis
Constructors
Cloud |
Properties
Log |
The Amazon Resource Name (arn) of a CloudWatch Logs log group where your user pool sends logs. |
Constructors
CloudWatchLogsConfigurationProperty()
public CloudWatchLogsConfigurationProperty()
Properties
LogGroupArn
The Amazon Resource Name (arn) of a CloudWatch Logs log group where your user pool sends logs.
public string LogGroupArn { get; set; }
Property Value
System.
Remarks
The log group must not be encrypted with AWS Key Management Service and must be in the same AWS account as your user pool.
To send logs to log groups with a resource policy of a size greater than 5120 characters, configure a log group with a path that starts with /aws/vendedlogs
. For more information, see Enabling logging from certain AWS services .