UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

29 lines (28 loc) 839 B
import { Construct } from 'constructs'; import * as iam from '../../aws-iam'; import * as cr from '../../custom-resources'; /** * Properties to configure a log group resource policy */ export interface LogGroupResourcePolicyProps { /** * The log group resource policy name */ readonly policyName?: string; /** * The policy statements for the log group resource logs */ readonly policyStatements: [iam.PolicyStatement]; /** * Whether to install latest AWS SDK for the custom resource * * @default - install latest AWS SDK */ readonly installLatestAwsSdk?: boolean; } /** * Creates LogGroup resource policies. */ export declare class LogGroupResourcePolicy extends cr.AwsCustomResource { constructor(scope: Construct, id: string, props: LogGroupResourcePolicyProps); }