Files
agent-claw/cdk/node_modules/aws-cdk-lib/aws-elasticsearch/lib/elasticsearch-access-policy.d.ts
2026-05-06 18:55:16 -05:00

32 lines
951 B
TypeScript

import type { Construct } from 'constructs';
import * as iam from '../../aws-iam';
import * as cr from '../../custom-resources';
/**
* Construction properties for ElasticsearchAccessPolicy
*/
export interface ElasticsearchAccessPolicyProps {
/**
* The Elasticsearch Domain name
*/
readonly domainName: string;
/**
* The Elasticsearch Domain ARN
*/
readonly domainArn: string;
/**
* The access policy statements for the Elasticsearch cluster
*/
readonly accessPolicies: iam.PolicyStatement[];
}
/**
* Creates LogGroup resource policies.
*/
export declare class ElasticsearchAccessPolicy extends cr.AwsCustomResource {
private accessPolicyStatements;
constructor(scope: Construct, id: string, props: ElasticsearchAccessPolicyProps);
/**
* Add policy statements to the domain access policy
*/
addAccessPolicies(...accessPolicyStatements: iam.PolicyStatement[]): void;
}