import type { AgentCoreRuntimeComputeConfig } from '../../../../schema'; import type { AgentCoreComponentProps } from '../base-props'; import { AgentCoreRuntime } from '../primitives/runtime/AgentCoreRuntime'; import { aws_iam as iam, aws_s3_assets as s3assets } from 'aws-cdk-lib'; import { Construct } from 'constructs'; export interface McpRuntimeComputeProps extends AgentCoreComponentProps { /** Name of the tool this compute is for */ readonly toolName: string; /** AgentCore Runtime compute configuration from schema */ readonly compute: AgentCoreRuntimeComputeConfig; } /** * Creates AgentCore Runtime-backed compute for an MCP tool. * * This component handles: * - Bundling Python code into a zip asset * - Creating the AgentCoreRuntime primitive * - Generating the runtime endpoint URL * * Only supports Python implementations (AgentCore Runtime limitation). */ export declare class McpRuntimeCompute extends Construct { readonly runtime: AgentCoreRuntime; readonly endpointUrl: string; readonly asset: s3assets.Asset; constructor(scope: Construct, id: string, props: McpRuntimeComputeProps); /** * Grants invoke permission to the given principal. */ grantInvoke(grantee: iam.IGrantable): iam.Grant; /** * Adds an IAM policy statement to the runtime's role. */ addToPolicy(statement: iam.PolicyStatement): void; } //# sourceMappingURL=McpRuntimeCompute.d.ts.map