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.
Inherited Members
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLogDeliveryConfiguration.CloudWatchLogsConfigurationProperty : CfnLogDeliveryConfiguration.ICloudWatchLogsConfigurationProperty
Syntax (vb)
Public Class CfnLogDeliveryConfiguration.CloudWatchLogsConfigurationProperty 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
CloudWatchLogsConfigurationProperty() | Configuration for the CloudWatch log group destination of user pool detailed activity logging, or of user activity log export with advanced security features. |
Properties
LogGroupArn | The Amazon Resource Name (arn) of a CloudWatch Logs log group where your user pool sends logs. |
Constructors
CloudWatchLogsConfigurationProperty()
Configuration for the CloudWatch log group destination of user pool detailed activity logging, or of user activity log export with advanced security features.
public CloudWatchLogsConfigurationProperty()
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"
};
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
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 .