aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
1,160 lines • 206 kB
TypeScript
import * as cdk from "../../core/lib";
import * as constructs from "constructs";
import * as cfn_parse from "../../core/lib/helpers-internal";
import { BrowserCustomReference, BrowserProfileReference, CodeInterpreterCustomReference, EvaluatorReference, GatewayReference, GatewayTargetReference, IBrowserCustomRef, IBrowserProfileRef, ICodeInterpreterCustomRef, IEvaluatorRef, IGatewayRef, IGatewayTargetRef, IMemoryRef, IOnlineEvaluationConfigRef, IPolicyEngineRef, IPolicyRef, IRuntimeEndpointRef, IRuntimeRef, IWorkloadIdentityRef, MemoryReference, OnlineEvaluationConfigReference, PolicyEngineReference, PolicyReference, RuntimeEndpointReference, RuntimeReference, WorkloadIdentityReference } from "../../interfaces/generated/aws-bedrockagentcore-interfaces.generated";
/**
* AgentCore Browser tool provides a fast, secure, cloud-based browser runtime to enable AI agents to interact with websites at scale.
*
* For more information about using the custom browser, see [Interact with web applications using Amazon Bedrock AgentCore Browser](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/browser-tool.html) .
*
* See the *Properties* section below for descriptions of both the required and optional properties.
*
* @cloudformationResource AWS::BedrockAgentCore::BrowserCustom
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html
*/
export declare class CfnBrowserCustom extends cdk.CfnResource implements cdk.IInspectable, IBrowserCustomRef, cdk.ITaggableV2 {
/**
* The CloudFormation resource type name for this resource class.
*/
static readonly CFN_RESOURCE_TYPE_NAME: string;
/**
* Build a CfnBrowserCustom from CloudFormation properties
*
* A factory method that creates a new instance of this class from an object
* containing the CloudFormation properties of this resource.
* Used in the @aws-cdk/cloudformation-include module.
*
* @internal
*/
static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnBrowserCustom;
/**
* Checks whether the given object is a CfnBrowserCustom
*/
static isCfnBrowserCustom(x: any): x is CfnBrowserCustom;
/**
* Creates a new IBrowserCustomRef from an ARN
*/
static fromBrowserCustomArn(scope: constructs.Construct, id: string, arn: string): IBrowserCustomRef;
/**
* Creates a new IBrowserCustomRef from a browserId
*/
static fromBrowserId(scope: constructs.Construct, id: string, browserId: string): IBrowserCustomRef;
static arnForBrowserCustom(resource: IBrowserCustomRef): string;
/**
* Browser signing configuration.
*/
browserSigning?: CfnBrowserCustom.BrowserSigningProperty | cdk.IResolvable;
/**
* Tag Manager which manages the tags for this resource
*/
readonly cdkTagManager: cdk.TagManager;
/**
* The custom browser.
*/
description?: string;
/**
* The Amazon Resource Name (ARN) of the execution role.
*/
executionRoleArn?: string;
/**
* The name of the custom browser.
*/
name: string;
/**
* The network configuration for a code interpreter.
*/
networkConfiguration: CfnBrowserCustom.BrowserNetworkConfigurationProperty | cdk.IResolvable;
/**
* THe custom browser configuration.
*/
recordingConfig?: cdk.IResolvable | CfnBrowserCustom.RecordingConfigProperty;
/**
* The tags for the custom browser.
*/
tags?: Record<string, string>;
/**
* Create a new `AWS::BedrockAgentCore::BrowserCustom`.
*
* @param scope Scope in which this resource is defined
* @param id Construct identifier for this resource (unique in its scope)
* @param props Resource properties
*/
constructor(scope: constructs.Construct, id: string, props: CfnBrowserCustomProps);
get browserCustomRef(): BrowserCustomReference;
/**
* The ARN for the custom browser.
*
* @cloudformationAttribute BrowserArn
*/
get attrBrowserArn(): string;
/**
* The ID for the custom browser.
*
* @cloudformationAttribute BrowserId
*/
get attrBrowserId(): string;
/**
* The time at which the custom browser was created.
*
* @cloudformationAttribute CreatedAt
*/
get attrCreatedAt(): string;
/**
* The reason for failure if the browser creation or operation failed.
*
* @cloudformationAttribute FailureReason
*/
get attrFailureReason(): string;
/**
* The time at which the custom browser was last updated.
*
* @cloudformationAttribute LastUpdatedAt
*/
get attrLastUpdatedAt(): string;
/**
* The status of the custom browser.
*
* @cloudformationAttribute Status
*/
get attrStatus(): string;
protected get cfnProperties(): Record<string, any>;
/**
* Examines the CloudFormation resource and discloses attributes
*
* @param inspector tree inspector to collect and process attributes
*/
inspect(inspector: cdk.TreeInspector): void;
protected renderProperties(props: Record<string, any>): Record<string, any>;
}
export declare namespace CfnBrowserCustom {
/**
* The network configuration.
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-browsernetworkconfiguration.html
*/
interface BrowserNetworkConfigurationProperty {
/**
* The network mode.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-browsernetworkconfiguration.html#cfn-bedrockagentcore-browsercustom-browsernetworkconfiguration-networkmode
*/
readonly networkMode: string;
/**
* Network mode configuration for VPC.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-browsernetworkconfiguration.html#cfn-bedrockagentcore-browsercustom-browsernetworkconfiguration-vpcconfig
*/
readonly vpcConfig?: cdk.IResolvable | CfnBrowserCustom.VpcConfigProperty;
}
/**
* Network mode configuration for VPC.
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-vpcconfig.html
*/
interface VpcConfigProperty {
/**
* Security groups for VPC.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-vpcconfig.html#cfn-bedrockagentcore-browsercustom-vpcconfig-securitygroups
*/
readonly securityGroups: Array<string>;
/**
* Subnets for VPC.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-vpcconfig.html#cfn-bedrockagentcore-browsercustom-vpcconfig-subnets
*/
readonly subnets: Array<string>;
}
/**
* The recording configuration.
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-recordingconfig.html
*/
interface RecordingConfigProperty {
/**
* The recording configuration for a browser.
*
* This structure defines how browser sessions are recorded.
*
* @default - false
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-recordingconfig.html#cfn-bedrockagentcore-browsercustom-recordingconfig-enabled
*/
readonly enabled?: boolean | cdk.IResolvable;
/**
* The S3 location.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-recordingconfig.html#cfn-bedrockagentcore-browsercustom-recordingconfig-s3location
*/
readonly s3Location?: cdk.IResolvable | CfnBrowserCustom.S3LocationProperty;
}
/**
* The S3 location.
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-s3location.html
*/
interface S3LocationProperty {
/**
* The S3 location bucket name.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-s3location.html#cfn-bedrockagentcore-browsercustom-s3location-bucket
*/
readonly bucket: string;
/**
* The S3 location object prefix.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-s3location.html#cfn-bedrockagentcore-browsercustom-s3location-prefix
*/
readonly prefix: string;
}
/**
* Browser signing configuration.
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-browsersigning.html
*/
interface BrowserSigningProperty {
/**
* @default - false
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-browsersigning.html#cfn-bedrockagentcore-browsercustom-browsersigning-enabled
*/
readonly enabled?: boolean | cdk.IResolvable;
}
}
/**
* Properties for defining a `CfnBrowserCustom`
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html
*/
export interface CfnBrowserCustomProps {
/**
* Browser signing configuration.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html#cfn-bedrockagentcore-browsercustom-browsersigning
*/
readonly browserSigning?: CfnBrowserCustom.BrowserSigningProperty | cdk.IResolvable;
/**
* The custom browser.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html#cfn-bedrockagentcore-browsercustom-description
*/
readonly description?: string;
/**
* The Amazon Resource Name (ARN) of the execution role.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html#cfn-bedrockagentcore-browsercustom-executionrolearn
*/
readonly executionRoleArn?: string;
/**
* The name of the custom browser.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html#cfn-bedrockagentcore-browsercustom-name
*/
readonly name: string;
/**
* The network configuration for a code interpreter.
*
* This structure defines how the code interpreter connects to the network.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html#cfn-bedrockagentcore-browsercustom-networkconfiguration
*/
readonly networkConfiguration: CfnBrowserCustom.BrowserNetworkConfigurationProperty | cdk.IResolvable;
/**
* THe custom browser configuration.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html#cfn-bedrockagentcore-browsercustom-recordingconfig
*/
readonly recordingConfig?: cdk.IResolvable | CfnBrowserCustom.RecordingConfigProperty;
/**
* The tags for the custom browser.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html#cfn-bedrockagentcore-browsercustom-tags
*/
readonly tags?: Record<string, string>;
}
/**
* Resource definition for AWS::BedrockAgentCore::BrowserProfile.
*
* @cloudformationResource AWS::BedrockAgentCore::BrowserProfile
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browserprofile.html
*/
export declare class CfnBrowserProfile extends cdk.CfnResource implements cdk.IInspectable, IBrowserProfileRef, cdk.ITaggableV2 {
/**
* The CloudFormation resource type name for this resource class.
*/
static readonly CFN_RESOURCE_TYPE_NAME: string;
/**
* Build a CfnBrowserProfile from CloudFormation properties
*
* A factory method that creates a new instance of this class from an object
* containing the CloudFormation properties of this resource.
* Used in the @aws-cdk/cloudformation-include module.
*
* @internal
*/
static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnBrowserProfile;
/**
* Checks whether the given object is a CfnBrowserProfile
*/
static isCfnBrowserProfile(x: any): x is CfnBrowserProfile;
static arnForBrowserProfile(resource: IBrowserProfileRef): string;
/**
* Tag Manager which manages the tags for this resource
*/
readonly cdkTagManager: cdk.TagManager;
/**
* The description of the browser profile.
*/
description?: string;
/**
* The name of the browser profile.
*/
name: string;
/**
* A map of tag keys and values.
*/
tags?: Record<string, string>;
/**
* Create a new `AWS::BedrockAgentCore::BrowserProfile`.
*
* @param scope Scope in which this resource is defined
* @param id Construct identifier for this resource (unique in its scope)
* @param props Resource properties
*/
constructor(scope: constructs.Construct, id: string, props: CfnBrowserProfileProps);
get browserProfileRef(): BrowserProfileReference;
/**
* Timestamp when the browser profile was created.
*
* @cloudformationAttribute CreatedAt
*/
get attrCreatedAt(): string;
/**
* Timestamp when the browser profile was last saved.
*
* @cloudformationAttribute LastSavedAt
*/
get attrLastSavedAt(): string;
/**
* ID of the last saved browser.
*
* @cloudformationAttribute LastSavedBrowserId
*/
get attrLastSavedBrowserId(): string;
/**
* ID of the last saved browser session.
*
* @cloudformationAttribute LastSavedBrowserSessionId
*/
get attrLastSavedBrowserSessionId(): string;
/**
* Timestamp when the browser profile was last updated.
*
* @cloudformationAttribute LastUpdatedAt
*/
get attrLastUpdatedAt(): string;
/**
* The ARN of a BrowserProfile resource.
*
* @cloudformationAttribute ProfileArn
*/
get attrProfileArn(): string;
/**
* The id of the browser profile.
*
* @cloudformationAttribute ProfileId
*/
get attrProfileId(): string;
/**
* Status of browser profile
*
* @cloudformationAttribute Status
*/
get attrStatus(): string;
protected get cfnProperties(): Record<string, any>;
/**
* Examines the CloudFormation resource and discloses attributes
*
* @param inspector tree inspector to collect and process attributes
*/
inspect(inspector: cdk.TreeInspector): void;
protected renderProperties(props: Record<string, any>): Record<string, any>;
}
/**
* Properties for defining a `CfnBrowserProfile`
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browserprofile.html
*/
export interface CfnBrowserProfileProps {
/**
* The description of the browser profile.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browserprofile.html#cfn-bedrockagentcore-browserprofile-description
*/
readonly description?: string;
/**
* The name of the browser profile.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browserprofile.html#cfn-bedrockagentcore-browserprofile-name
*/
readonly name: string;
/**
* A map of tag keys and values.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browserprofile.html#cfn-bedrockagentcore-browserprofile-tags
*/
readonly tags?: Record<string, string>;
}
/**
* The AgentCore Code Interpreter tool enables agents to securely execute code in isolated sandbox environments.
*
* It offers advanced configuration support and seamless integration with popular frameworks.
*
* For more information about using the custom code interpreter, see [Execute code and analyze data using Amazon Bedrock AgentCore Code Interpreter](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/code-interpreter-tool.html) .
*
* See the *Properties* section below for descriptions of both the required and optional properties.
*
* @cloudformationResource AWS::BedrockAgentCore::CodeInterpreterCustom
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html
*/
export declare class CfnCodeInterpreterCustom extends cdk.CfnResource implements cdk.IInspectable, ICodeInterpreterCustomRef, cdk.ITaggableV2 {
/**
* The CloudFormation resource type name for this resource class.
*/
static readonly CFN_RESOURCE_TYPE_NAME: string;
/**
* Build a CfnCodeInterpreterCustom from CloudFormation properties
*
* A factory method that creates a new instance of this class from an object
* containing the CloudFormation properties of this resource.
* Used in the @aws-cdk/cloudformation-include module.
*
* @internal
*/
static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnCodeInterpreterCustom;
/**
* Checks whether the given object is a CfnCodeInterpreterCustom
*/
static isCfnCodeInterpreterCustom(x: any): x is CfnCodeInterpreterCustom;
/**
* Creates a new ICodeInterpreterCustomRef from an ARN
*/
static fromCodeInterpreterCustomArn(scope: constructs.Construct, id: string, arn: string): ICodeInterpreterCustomRef;
/**
* Creates a new ICodeInterpreterCustomRef from a codeInterpreterId
*/
static fromCodeInterpreterId(scope: constructs.Construct, id: string, codeInterpreterId: string): ICodeInterpreterCustomRef;
static arnForCodeInterpreterCustom(resource: ICodeInterpreterCustomRef): string;
/**
* Tag Manager which manages the tags for this resource
*/
readonly cdkTagManager: cdk.TagManager;
/**
* The code interpreter description.
*/
description?: string;
/**
* The Amazon Resource Name (ARN) of the execution role.
*/
executionRoleArn?: string;
/**
* The name of the code interpreter.
*/
name: string;
/**
* The network configuration for a code interpreter.
*/
networkConfiguration: CfnCodeInterpreterCustom.CodeInterpreterNetworkConfigurationProperty | cdk.IResolvable;
/**
* The tags for the code interpreter.
*/
tags?: Record<string, string>;
/**
* Create a new `AWS::BedrockAgentCore::CodeInterpreterCustom`.
*
* @param scope Scope in which this resource is defined
* @param id Construct identifier for this resource (unique in its scope)
* @param props Resource properties
*/
constructor(scope: constructs.Construct, id: string, props: CfnCodeInterpreterCustomProps);
get codeInterpreterCustomRef(): CodeInterpreterCustomReference;
/**
* The code interpreter Amazon Resource Name (ARN).
*
* @cloudformationAttribute CodeInterpreterArn
*/
get attrCodeInterpreterArn(): string;
/**
* The ID of the code interpreter.
*
* @cloudformationAttribute CodeInterpreterId
*/
get attrCodeInterpreterId(): string;
/**
* The time at which the code interpreter was created.
*
* @cloudformationAttribute CreatedAt
*/
get attrCreatedAt(): string;
/**
* The reason for failure if the code interpreter creation or operation failed.
*
* @cloudformationAttribute FailureReason
*/
get attrFailureReason(): string;
/**
* The time at which the code interpreter was last updated.
*
* @cloudformationAttribute LastUpdatedAt
*/
get attrLastUpdatedAt(): string;
/**
* The status of the custom code interpreter.
*
* @cloudformationAttribute Status
*/
get attrStatus(): string;
protected get cfnProperties(): Record<string, any>;
/**
* Examines the CloudFormation resource and discloses attributes
*
* @param inspector tree inspector to collect and process attributes
*/
inspect(inspector: cdk.TreeInspector): void;
protected renderProperties(props: Record<string, any>): Record<string, any>;
}
export declare namespace CfnCodeInterpreterCustom {
/**
* The network configuration.
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-codeinterpretercustom-codeinterpreternetworkconfiguration.html
*/
interface CodeInterpreterNetworkConfigurationProperty {
/**
* The network mode.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-codeinterpretercustom-codeinterpreternetworkconfiguration.html#cfn-bedrockagentcore-codeinterpretercustom-codeinterpreternetworkconfiguration-networkmode
*/
readonly networkMode: string;
/**
* Network mode configuration for VPC.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-codeinterpretercustom-codeinterpreternetworkconfiguration.html#cfn-bedrockagentcore-codeinterpretercustom-codeinterpreternetworkconfiguration-vpcconfig
*/
readonly vpcConfig?: cdk.IResolvable | CfnCodeInterpreterCustom.VpcConfigProperty;
}
/**
* Network mode configuration for VPC.
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-codeinterpretercustom-vpcconfig.html
*/
interface VpcConfigProperty {
/**
* Security groups for VPC.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-codeinterpretercustom-vpcconfig.html#cfn-bedrockagentcore-codeinterpretercustom-vpcconfig-securitygroups
*/
readonly securityGroups: Array<string>;
/**
* Subnets for VPC.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-codeinterpretercustom-vpcconfig.html#cfn-bedrockagentcore-codeinterpretercustom-vpcconfig-subnets
*/
readonly subnets: Array<string>;
}
}
/**
* Properties for defining a `CfnCodeInterpreterCustom`
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html
*/
export interface CfnCodeInterpreterCustomProps {
/**
* The code interpreter description.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-description
*/
readonly description?: string;
/**
* The Amazon Resource Name (ARN) of the execution role.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-executionrolearn
*/
readonly executionRoleArn?: string;
/**
* The name of the code interpreter.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-name
*/
readonly name: string;
/**
* The network configuration for a code interpreter.
*
* This structure defines how the code interpreter connects to the network.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-networkconfiguration
*/
readonly networkConfiguration: CfnCodeInterpreterCustom.CodeInterpreterNetworkConfigurationProperty | cdk.IResolvable;
/**
* The tags for the code interpreter.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-tags
*/
readonly tags?: Record<string, string>;
}
/**
* Resource Type definition for AWS::BedrockAgentCore::Evaluator - Creates a custom evaluator for agent quality assessment using LLM-as-a-Judge configurations.
*
* @cloudformationResource AWS::BedrockAgentCore::Evaluator
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-evaluator.html
*/
export declare class CfnEvaluator extends cdk.CfnResource implements cdk.IInspectable, IEvaluatorRef, cdk.ITaggableV2 {
/**
* The CloudFormation resource type name for this resource class.
*/
static readonly CFN_RESOURCE_TYPE_NAME: string;
/**
* Build a CfnEvaluator from CloudFormation properties
*
* A factory method that creates a new instance of this class from an object
* containing the CloudFormation properties of this resource.
* Used in the @aws-cdk/cloudformation-include module.
*
* @internal
*/
static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnEvaluator;
/**
* Checks whether the given object is a CfnEvaluator
*/
static isCfnEvaluator(x: any): x is CfnEvaluator;
static arnForEvaluator(resource: IEvaluatorRef): string;
/**
* Tag Manager which manages the tags for this resource
*/
readonly cdkTagManager: cdk.TagManager;
/**
* The description of the evaluator.
*/
description?: string;
/**
* The configuration that defines how an evaluator assesses agent performance.
*/
evaluatorConfig: CfnEvaluator.EvaluatorConfigProperty | cdk.IResolvable;
/**
* The name of the evaluator.
*/
evaluatorName: string;
level: string;
/**
* A list of tags to assign to the evaluator.
*/
tags?: Array<cdk.CfnTag>;
/**
* Create a new `AWS::BedrockAgentCore::Evaluator`.
*
* @param scope Scope in which this resource is defined
* @param id Construct identifier for this resource (unique in its scope)
* @param props Resource properties
*/
constructor(scope: constructs.Construct, id: string, props: CfnEvaluatorProps);
get evaluatorRef(): EvaluatorReference;
/**
* The timestamp when the evaluator was created.
*
* @cloudformationAttribute CreatedAt
*/
get attrCreatedAt(): string;
/**
* The Amazon Resource Name (ARN) of the evaluator.
*
* @cloudformationAttribute EvaluatorArn
*/
get attrEvaluatorArn(): string;
/**
* The unique identifier of the evaluator.
*
* @cloudformationAttribute EvaluatorId
*/
get attrEvaluatorId(): string;
/**
* @cloudformationAttribute Status
*/
get attrStatus(): string;
/**
* The timestamp when the evaluator was last updated.
*
* @cloudformationAttribute UpdatedAt
*/
get attrUpdatedAt(): string;
protected get cfnProperties(): Record<string, any>;
/**
* Examines the CloudFormation resource and discloses attributes
*
* @param inspector tree inspector to collect and process attributes
*/
inspect(inspector: cdk.TreeInspector): void;
protected renderProperties(props: Record<string, any>): Record<string, any>;
}
export declare namespace CfnEvaluator {
/**
* The configuration that defines how an evaluator assesses agent performance.
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-evaluator-evaluatorconfig.html
*/
interface EvaluatorConfigProperty {
/**
* The configuration for LLM-as-a-Judge evaluation.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-evaluator-evaluatorconfig.html#cfn-bedrockagentcore-evaluator-evaluatorconfig-llmasajudge
*/
readonly llmAsAJudge: cdk.IResolvable | CfnEvaluator.LlmAsAJudgeEvaluatorConfigProperty;
}
/**
* The configuration for LLM-as-a-Judge evaluation.
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-evaluator-llmasajudgeevaluatorconfig.html
*/
interface LlmAsAJudgeEvaluatorConfigProperty {
/**
* The evaluation instructions that guide the language model in assessing agent performance.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-evaluator-llmasajudgeevaluatorconfig.html#cfn-bedrockagentcore-evaluator-llmasajudgeevaluatorconfig-instructions
*/
readonly instructions: string;
/**
* The model configuration that specifies which foundation model to use for evaluation.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-evaluator-llmasajudgeevaluatorconfig.html#cfn-bedrockagentcore-evaluator-llmasajudgeevaluatorconfig-modelconfig
*/
readonly modelConfig: CfnEvaluator.EvaluatorModelConfigProperty | cdk.IResolvable;
/**
* The rating scale that defines how evaluators should score agent performance.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-evaluator-llmasajudgeevaluatorconfig.html#cfn-bedrockagentcore-evaluator-llmasajudgeevaluatorconfig-ratingscale
*/
readonly ratingScale: cdk.IResolvable | CfnEvaluator.RatingScaleProperty;
}
/**
* The rating scale that defines how evaluators should score agent performance.
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-evaluator-ratingscale.html
*/
interface RatingScaleProperty {
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-evaluator-ratingscale.html#cfn-bedrockagentcore-evaluator-ratingscale-categorical
*/
readonly categorical?: Array<CfnEvaluator.CategoricalScaleDefinitionProperty | cdk.IResolvable> | cdk.IResolvable;
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-evaluator-ratingscale.html#cfn-bedrockagentcore-evaluator-ratingscale-numerical
*/
readonly numerical?: Array<cdk.IResolvable | CfnEvaluator.NumericalScaleDefinitionProperty> | cdk.IResolvable;
}
/**
* A numerical rating scale option.
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-evaluator-numericalscaledefinition.html
*/
interface NumericalScaleDefinitionProperty {
/**
* The description that explains what this numerical rating represents.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-evaluator-numericalscaledefinition.html#cfn-bedrockagentcore-evaluator-numericalscaledefinition-definition
*/
readonly definition: string;
/**
* The label that describes this numerical rating option.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-evaluator-numericalscaledefinition.html#cfn-bedrockagentcore-evaluator-numericalscaledefinition-label
*/
readonly label: string;
/**
* The numerical value for this rating scale option.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-evaluator-numericalscaledefinition.html#cfn-bedrockagentcore-evaluator-numericalscaledefinition-value
*/
readonly value: number;
}
/**
* A categorical rating scale option.
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-evaluator-categoricalscaledefinition.html
*/
interface CategoricalScaleDefinitionProperty {
/**
* The description that explains what this categorical rating represents.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-evaluator-categoricalscaledefinition.html#cfn-bedrockagentcore-evaluator-categoricalscaledefinition-definition
*/
readonly definition: string;
/**
* The label of this categorical rating option.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-evaluator-categoricalscaledefinition.html#cfn-bedrockagentcore-evaluator-categoricalscaledefinition-label
*/
readonly label: string;
}
/**
* The model configuration that specifies which foundation model to use for evaluation.
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-evaluator-evaluatormodelconfig.html
*/
interface EvaluatorModelConfigProperty {
/**
* The configuration for using Amazon Bedrock models in evaluator assessments.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-evaluator-evaluatormodelconfig.html#cfn-bedrockagentcore-evaluator-evaluatormodelconfig-bedrockevaluatormodelconfig
*/
readonly bedrockEvaluatorModelConfig: CfnEvaluator.BedrockEvaluatorModelConfigProperty | cdk.IResolvable;
}
/**
* The configuration for using Amazon Bedrock models in evaluator assessments.
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-evaluator-bedrockevaluatormodelconfig.html
*/
interface BedrockEvaluatorModelConfigProperty {
/**
* Additional model-specific request fields.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-evaluator-bedrockevaluatormodelconfig.html#cfn-bedrockagentcore-evaluator-bedrockevaluatormodelconfig-additionalmodelrequestfields
*/
readonly additionalModelRequestFields?: any | cdk.IResolvable;
/**
* The inference configuration parameters that control model behavior during evaluation.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-evaluator-bedrockevaluatormodelconfig.html#cfn-bedrockagentcore-evaluator-bedrockevaluatormodelconfig-inferenceconfig
*/
readonly inferenceConfig?: CfnEvaluator.InferenceConfigurationProperty | cdk.IResolvable;
/**
* The identifier of the Amazon Bedrock model to use for evaluation.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-evaluator-bedrockevaluatormodelconfig.html#cfn-bedrockagentcore-evaluator-bedrockevaluatormodelconfig-modelid
*/
readonly modelId: string;
}
/**
* The inference configuration parameters that control model behavior during evaluation.
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-evaluator-inferenceconfiguration.html
*/
interface InferenceConfigurationProperty {
/**
* The maximum number of tokens to generate in the model response.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-evaluator-inferenceconfiguration.html#cfn-bedrockagentcore-evaluator-inferenceconfiguration-maxtokens
*/
readonly maxTokens?: number;
/**
* The temperature value that controls randomness in the model's responses.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-evaluator-inferenceconfiguration.html#cfn-bedrockagentcore-evaluator-inferenceconfiguration-temperature
*/
readonly temperature?: number;
/**
* The top-p sampling parameter that controls the diversity of the model's responses.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-evaluator-inferenceconfiguration.html#cfn-bedrockagentcore-evaluator-inferenceconfiguration-topp
*/
readonly topP?: number;
}
}
/**
* Properties for defining a `CfnEvaluator`
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-evaluator.html
*/
export interface CfnEvaluatorProps {
/**
* The description of the evaluator.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-evaluator.html#cfn-bedrockagentcore-evaluator-description
*/
readonly description?: string;
/**
* The configuration that defines how an evaluator assesses agent performance.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-evaluator.html#cfn-bedrockagentcore-evaluator-evaluatorconfig
*/
readonly evaluatorConfig: CfnEvaluator.EvaluatorConfigProperty | cdk.IResolvable;
/**
* The name of the evaluator.
*
* Must be unique within your account.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-evaluator.html#cfn-bedrockagentcore-evaluator-evaluatorname
*/
readonly evaluatorName: string;
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-evaluator.html#cfn-bedrockagentcore-evaluator-level
*/
readonly level: string;
/**
* A list of tags to assign to the evaluator.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-evaluator.html#cfn-bedrockagentcore-evaluator-tags
*/
readonly tags?: Array<cdk.CfnTag>;
}
/**
* Amazon Bedrock AgentCore Gateway provides a unified connectivity layer between agents and the tools and resources they need to interact with.
*
* For more information about creating a gateway, see [Set up an Amazon Bedrock AgentCore gateway](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/gateway-building.html) .
*
* See the *Properties* section below for descriptions of both the required and optional properties.
*
* @cloudformationResource AWS::BedrockAgentCore::Gateway
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html
*/
export declare class CfnGateway extends cdk.CfnResource implements cdk.IInspectable, IGatewayRef, cdk.ITaggableV2 {
/**
* The CloudFormation resource type name for this resource class.
*/
static readonly CFN_RESOURCE_TYPE_NAME: string;
/**
* Build a CfnGateway from CloudFormation properties
*
* A factory method that creates a new instance of this class from an object
* containing the CloudFormation properties of this resource.
* Used in the @aws-cdk/cloudformation-include module.
*
* @internal
*/
static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnGateway;
/**
* Checks whether the given object is a CfnGateway
*/
static isCfnGateway(x: any): x is CfnGateway;
static arnForGateway(resource: IGatewayRef): string;
authorizerConfiguration?: CfnGateway.AuthorizerConfigurationProperty | cdk.IResolvable;
/**
* The authorizer type for the gateway.
*/
authorizerType: string;
/**
* Tag Manager which manages the tags for this resource
*/
readonly cdkTagManager: cdk.TagManager;
/**
* The description for the gateway.
*/
description?: string;
/**
* The exception level for the gateway.
*/
exceptionLevel?: string;
interceptorConfigurations?: Array<CfnGateway.GatewayInterceptorConfigurationProperty | cdk.IResolvable> | cdk.IResolvable;
/**
* The KMS key ARN for the gateway.
*/
kmsKeyArn?: string;
/**
* The name for the gateway.
*/
name: string;
/**
* The configuration for a policy engine associated with a gateway.
*/
policyEngineConfiguration?: CfnGateway.GatewayPolicyEngineConfigurationProperty | cdk.IResolvable;
/**
* The protocol configuration for the gateway target.
*/
protocolConfiguration?: CfnGateway.GatewayProtocolConfigurationProperty | cdk.IResolvable;
/**
* The protocol type for the gateway target.
*/
protocolType: string;
roleArn: string;
/**
* The tags for the gateway.
*/
tags?: Record<string, string>;
/**
* Create a new `AWS::BedrockAgentCore::Gateway`.
*
* @param scope Scope in which this resource is defined
* @param id Construct identifier for this resource (unique in its scope)
* @param props Resource properties
*/
constructor(scope: constructs.Construct, id: string, props: CfnGatewayProps);
get gatewayRef(): GatewayReference;
/**
* The date and time at which the gateway was created.
*
* @cloudformationAttribute CreatedAt
*/
get attrCreatedAt(): string;
/**
* The ARN for the gateway.
*
* @cloudformationAttribute GatewayArn
*/
get attrGatewayArn(): string;
/**
* @cloudformationAttribute GatewayIdentifier
*/
get attrGatewayIdentifier(): string;
/**
* The gateway URL for the gateway.
*
* @cloudformationAttribute GatewayUrl
*/
get attrGatewayUrl(): string;
/**
* The status for the gateway.
*
* @cloudformationAttribute Status
*/
get attrStatus(): string;
/**
* The status reasons for the gateway.
*
* @cloudformationAttribute StatusReasons
*/
get attrStatusReasons(): Array<string>;
/**
* @cloudformationAttribute UpdatedAt
*/
get attrUpdatedAt(): string;
/**
* @cloudformationAttribute WorkloadIdentityDetails
*/
get attrWorkloadIdentityDetails(): cdk.IResolvable;
protected get cfnProperties(): Record<string, any>;
/**
* Examines the CloudFormation resource and discloses attributes
*
* @param inspector tree inspector to collect and process attributes
*/
inspect(inspector: cdk.TreeInspector): void;
protected renderProperties(props: Record<string, any>): Record<string, any>;
}
export declare namespace CfnGateway {
/**
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-authorizerconfiguration.html
*/
interface AuthorizerConfigurationProperty {
/**
* The authorizer configuration for the gateway.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-authorizerconfiguration.html#cfn-bedrockagentcore-gateway-authorizerconfiguration-customjwtauthorizer
*/
readonly customJwtAuthorizer: CfnGateway.CustomJWTAuthorizerConfigurationProperty | cdk.IResolvable;
}
/**
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-customjwtauthorizerconfiguration.html
*/
interface CustomJWTAuthorizerConfigurationProperty {
/**
* The allowed audience authorized for the gateway target.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-customjwtauthorizerconfiguration.html#cfn-bedrockagentcore-gateway-customjwtauthorizerconfiguration-allowedaudience
*/
readonly allowedAudience?: Array<string>;
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-customjwtauthorizerconfiguration.html#cfn-bedrockagentcore-gateway-customjwtauthorizerconfiguration-allowedclients
*/
readonly allowedClients?: Array<string>;
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-customjwtauthorizerconfiguration.html#cfn-bedrockagentcore-gateway-customjwtauthorizerconfiguration-allowedscopes
*/
readonly allowedScopes?: Array<string>;
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-customjwtauthorizerconfiguration.html#cfn-bedrockagentcore-gateway-customjwtauthorizerconfiguration-customclaims
*/
readonly customClaims?: Array<CfnGateway.CustomClaimValidationTypeProperty | cdk.IResolvable> | cdk.IResolvable;
/**
* The discovery URL for the authorizer configuration.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-customjwtauthorizerconfiguration.html#cfn-bedrockagentcore-gateway-customjwtauthorizerconfiguration-discoveryurl
*/
readonly discoveryUrl: string;
}
/**
* Required custom claim.
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-customclaimvalidationtype.html
*/
interface CustomClaimValidationTypeProperty {
/**
* The value or values in the custom claim to match and relationship of match.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-customclaimvalidationtype.html#cfn-bedrockagentcore-gateway-customclaimvalidationtype-authorizingclaimmatchvalue
*/
readonly authorizingClaimMatchValue: CfnGateway.AuthorizingClaimMatchValueTypeProperty | cdk.IResolvable;
/**
* The name of the custom claim to validate.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-customclaimvalidationtype.html#cfn-bedrockagentcore-gateway-customclaimvalidationtype-inboundtokenclaimname
*/
readonly inboundTokenClaimName: string;
/**
* Token claim data type.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-customclaimvalidationtype.html#cfn-bedrockagentcore-gateway-customclaimvalidationtype-inboundtokenclaimvaluetype
*/
readonly inboundTokenClaimValueType: string;
}
/**
* The value or values in the custom claim to match and relationship of match.
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-authorizingclaimmatchvaluetype.html
*/
interface AuthorizingClaimMatchValueTypeProperty {
/**
* The relationship between the claim field value and the value or values being matched.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-authorizingclaimmatchvaluetype.html#cfn-bedrockagentcore-gateway-authorizingclaimmatchvaluetype-claimmatchoperator
*/
readonly claimMatchOperator: string;
/**
* The value or values in the custom claim to match for.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-authorizingclaimmatchvaluetype.html#