iam-floyd
Version:
AWS IAM policy statement generator with fluent interface
42 lines (41 loc) • 1.54 kB
TypeScript
import { AccessLevelList } from '../../shared/access-level';
import { PolicyStatement } from '../../shared';
/**
* Statement provider for service [eks-mcp](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazoneksmcpserver.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement
*/
export declare class EksMcp extends PolicyStatement {
servicePrefix: string;
/**
* Statement provider for service [eks-mcp](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazoneksmcpserver.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement
*/
constructor(sid?: string);
/**
* Grants permission to call privileged tools in MCP service
*
* Access Level: Write
*
* https://docs.aws.amazon.com/eks/latest/userguide/eks-mcp-tool-configurations.html
*/
toCallPrivilegedTool(): this;
/**
* Grants permission to call read-only tools in MCP service
*
* Access Level: Read
*
* https://docs.aws.amazon.com/eks/latest/userguide/eks-mcp-tool-configurations.html
*/
toCallReadOnlyTool(): this;
/**
* Grants permission to use MCP service
*
* Access Level: Read
*
* https://docs.aws.amazon.com/eks/latest/userguide/eks-mcp-tool-configurations.html
*/
toInvokeMcp(): this;
protected accessLevelList: AccessLevelList;
}