UNPKG

cdk-iam-floyd

Version:

AWS IAM policy statement generator with fluent interface for AWS CDK

42 lines (41 loc) 1.54 kB
import { AccessLevelList } from '../../shared/access-level'; import { PolicyStatement } from '../../shared'; import { aws_iam as iam } from "aws-cdk-lib"; /** * Statement provider for service [sagemaker-unified-studio-mcp](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonsagemakerunifiedstudiomcp.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ export declare class SagemakerUnifiedStudioMcp extends PolicyStatement { servicePrefix: string; /** * Grants permission to call privileged tools in MCP service * * Access Level: Write * * https://docs.aws.amazon.com/sagemaker-unified-studio/latest/userguide/ */ toCallPrivilegedTool(): this; /** * Grants permission to call read-only tools in MCP service * * Access Level: Read * * https://docs.aws.amazon.com/sagemaker-unified-studio/latest/userguide/ */ toCallReadOnlyTool(): this; /** * Grants permission to use MCP service * * Access Level: Read * * https://docs.aws.amazon.com/sagemaker-unified-studio/latest/userguide/ */ toInvokeMcp(): this; protected accessLevelList: AccessLevelList; /** * Statement provider for service [sagemaker-unified-studio-mcp](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonsagemakerunifiedstudiomcp.html). * */ constructor(props?: iam.PolicyStatementProps); }