UNPKG

@aws-cdk/aws-bedrock-agentcore-alpha

Version:

The CDK Construct Library for Amazon Bedrock

25 lines (24 loc) 698 B
import { IRole } from 'aws-cdk-lib/aws-iam'; import { Construct } from 'constructs'; /** * Base abstract class for all schema types used in Bedrock AgentCore Gateway Targets. * This provides a common interface for both API schemas and tool schemas. * @internal */ export declare abstract class TargetSchema { /** * Format as CFN properties * * @internal This is an internal core function and should not be called directly. */ abstract _render(): any; /** * Bind the schema to a construct */ abstract bind(scope: Construct): void; /** * Grant permissions to the role * */ abstract grantPermissionsToRole(role: IRole): void; }