aws-logs-comptroller
Version:
Set Log Retention and prune orphaned LogGroups on a schedule using Step Functions service integrations and intrinsic functions.
12 lines (11 loc) • 464 B
TypeScript
import { EventBus, Schedule } from 'aws-cdk-lib/aws-events';
import { RetentionDays } from 'aws-cdk-lib/aws-logs';
import { Construct } from 'constructs';
export interface AwsLogsComptrollerProps {
readonly eventBus?: EventBus;
readonly retentionDays?: RetentionDays;
readonly schedule?: boolean | Schedule;
}
export declare class AwsLogsComptroller extends Construct {
constructor(scope: Construct, id: string, props?: AwsLogsComptrollerProps);
}