UNPKG

cdk-iam-floyd

Version:

AWS IAM policy statement generator with fluent interface for AWS CDK

34 lines (33 loc) 1.25 kB
import { AccessLevelList } from '../../shared/access-level'; import { PolicyStatement } from '../../shared'; import { aws_iam as iam } from "aws-cdk-lib"; /** * Statement provider for service [ecs-mcp](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonecsmcpservice.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ export declare class EcsMcp extends PolicyStatement { servicePrefix: string; /** * Grants permission to call read-only tools in MCP service * * Access Level: Read * * https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-mcp-getting-started.html */ toInvokeReadOnlyTools(): this; /** * Grants permission to use MCP service * * Access Level: Read * * https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-mcp-getting-started.html */ toUseMcp(): this; protected accessLevelList: AccessLevelList; /** * Statement provider for service [ecs-mcp](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonecsmcpservice.html). * */ constructor(props?: iam.PolicyStatementProps); }