| Package | Description |
|---|---|
| software.amazon.awscdk.services.logs |
Amazon CloudWatch Logs Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
static CfnLogGroup.Builder |
CfnLogGroup.Builder.create(software.constructs.Construct scope,
String id) |
CfnLogGroup.Builder |
CfnLogGroup.Builder.kmsKeyId(String kmsKeyId)
The Amazon Resource Name (ARN) of the AWS KMS key to use when encrypting log data.
|
CfnLogGroup.Builder |
CfnLogGroup.Builder.logGroupName(String logGroupName)
The name of the log group.
|
CfnLogGroup.Builder |
CfnLogGroup.Builder.retentionInDays(Number retentionInDays)
The number of days to retain the log events in the specified log group.
|
CfnLogGroup.Builder |
CfnLogGroup.Builder.tags(List<? extends CfnTag> tags)
An array of key-value pairs to apply to the log group.
|
Copyright © 2022. All rights reserved.