29 lines
844 B
TypeScript
29 lines
844 B
TypeScript
import type { 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);
|
|
}
|