aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
25 lines (24 loc) • 711 B
TypeScript
import type { Construct } from 'constructs';
import type { IRole } from '../../../../../aws-iam';
/**
* 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;
}