| Package | Description |
|---|---|
| software.amazon.awscdk.services.logs |
Amazon CloudWatch Logs Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
static LogRetention.Builder |
LogRetention.Builder.create(software.constructs.Construct scope,
String id) |
LogRetention.Builder |
LogRetention.Builder.logGroupName(String logGroupName)
The log group name.
|
LogRetention.Builder |
LogRetention.Builder.logGroupRegion(String logGroupRegion)
The region where the log group should be created.
|
LogRetention.Builder |
LogRetention.Builder.logRetentionRetryOptions(LogRetentionRetryOptions logRetentionRetryOptions)
Retry options for all AWS API calls.
|
LogRetention.Builder |
LogRetention.Builder.removalPolicy(RemovalPolicy removalPolicy)
The removalPolicy for the log group when the stack is deleted.
|
LogRetention.Builder |
LogRetention.Builder.retention(RetentionDays retention)
The number of days log events are kept in CloudWatch Logs.
|
LogRetention.Builder |
LogRetention.Builder.role(IRole role)
The IAM role for the Lambda function associated with the custom resource.
|
Copyright © 2022. All rights reserved.