Amazon Bedrock Construct Library
Amazon Bedrock is a fully managed service that offers a choice of foundation models (FMs) along with a broad set of capabilities for building generative AI applications.
This construct library provides a collection of constructs that can look up existing Bedrock models for use with other services' CDK constructs, such as AWS Step Functions.
To look up a Bedrock base foundation model:
ts
import * as bedrock from 'aws-cdk-lib/aws-bedrock';
bedrock.FoundationModel.fromFoundationModelId(
this,
'Model',
bedrock.FoundationModelIdentifier.ANTHROPIC_CLAUDE_V2,
);
python
import aws_cdk.aws_bedrock as bedrock
bedrock.FoundationModel.from_foundation_model_id(self, "Model", bedrock.FoundationModelIdentifier.ANTHROPIC_CLAUDE_V2)
java
import software.amazon.awscdk.services.bedrock.*;
FoundationModel.fromFoundationModelId(this, "Model", FoundationModelIdentifier.ANTHROPIC_CLAUDE_V2);
csharp
using Amazon.CDK.AWS.Bedrock;
FoundationModel.FromFoundationModelId(this, "Model", FoundationModelIdentifier.ANTHROPIC_CLAUDE_V2);
go
import "github.com/aws/aws-cdk-go/awscdk"
bedrock.FoundationModel_FromFoundationModelId(this, jsii.String("Model"), bedrock.FoundationModelIdentifier_ANTHROPIC_CLAUDE_V2())
To look up a Bedrock provisioned throughput model:
ts
import * as bedrock from 'aws-cdk-lib/aws-bedrock';
bedrock.ProvisionedModel.fromProvisionedModelArn(
this,
'Model',
'arn:aws:bedrock:us-east-2:123456789012:provisioned-model/abc-123',
);
python
import aws_cdk.aws_bedrock as bedrock
bedrock.ProvisionedModel.from_provisioned_model_arn(self, "Model", "arn:aws:bedrock:us-east-2:123456789012:provisioned-model/abc-123")
java
import software.amazon.awscdk.services.bedrock.*;
ProvisionedModel.fromProvisionedModelArn(this, "Model", "arn:aws:bedrock:us-east-2:123456789012:provisioned-model/abc-123");
csharp
using Amazon.CDK.AWS.Bedrock;
ProvisionedModel.FromProvisionedModelArn(this, "Model", "arn:aws:bedrock:us-east-2:123456789012:provisioned-model/abc-123");
go
import bedrock "github.com/aws/aws-cdk-go/awscdk"
bedrock.ProvisionedModel_FromProvisionedModelArn(this, jsii.String("Model"), jsii.String("arn:aws:bedrock:us-east-2:123456789012:provisioned-model/abc-123"))
L2 constructs for this service are available in the @aws-cdk/aws-bedrock-alpha package.
You can also use the automatically generated L1 constructs, in the same way you would use the CloudFormation AWS::Bedrock resources directly.
Types
Constructs (L1)
CfnAgentConstruct (L1)
Specifies an agent as a resource in a top-level template. Minimally, you must specify the following properties:.CfnAgentAliasConstruct (L1)
Specifies an agent alias as a resource in a top-level template. Minimally, you must specify the following properties:.CfnApplicationInferenceProfileConstruct (L1)
Specifies an inference profile as a resource in a top-level template.CfnAutomatedReasoningPolicyConstruct (L1)
Creates an Automated Reasoning policy for Amazon Bedrock Guardrails.CfnConstruct (L1)Automated Reasoning Policy Version
Creates a new version of an existing Automated Reasoning policy.CfnBlueprintConstruct (L1)
Details about a data automation blueprint.CfnDataAutomationLibraryConstruct (L1)
Resource Type definition for AWS::Bedrock::DataAutomationLibrary.CfnDataAutomationProjectConstruct (L1)
A data automation project.CfnDataSourceConstruct (L1)
> Properties with__Update requires: Replacement__can result in the creation of a new data source and deletion of the old one.CfnConstruct (L1)Enforced Guardrail Configuration
Definition of AWS::Bedrock::EnforcedGuardrailConfiguration Resource Type.CfnFlowConstruct (L1)
Creates a prompt flow that you can use to send an input through various steps to yield an output.CfnFlowAliasConstruct (L1)
Creates an alias of a flow for deployment.CfnFlowVersionConstruct (L1)
Creates a version of the flow that you can deploy.CfnGuardrailConstruct (L1)
Creates a guardrail to detect and filter harmful content in your generative AI application.CfnGuardrailVersionConstruct (L1)
Creates a version of the guardrail.CfnIntelligentPromptRouterConstruct (L1)
Specifies an intelligent prompt router resource for Amazon Bedrock .CfnKnowledgeBaseConstruct (L1)
Specifies a knowledge base as a resource in a top-level template. Minimally, you must specify the following properties:.CfnKnowledgeBasePolicyConstruct (L1)
Definition of AWS::Bedrock::KnowledgeBasePolicy Resource Type.CfnPromptConstruct (L1)
Creates a prompt in your prompt library that you can add to a flow.CfnPromptVersionConstruct (L1)
Creates a static snapshot of your prompt that can be deployed to production.CfnResourcePolicyConstruct (L1)
Definition of AWS::Bedrock::ResourcePolicy Resource Type.CfnRetrievalInstructionConstruct (L1)
Resource Type definition for AWS::Bedrock::RetrievalInstruction.CfnSessionConstruct (L1)
Definition of AWS::Bedrock::Session Resource Type.
Structs
CfnAgent.StructActionGroupExecutorProperty
Contains details about the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user.CfnAgent.StructAgentActionGroupProperty
Contains details of the inline agent's action group.CfnAgent.StructAgentCollaboratorProperty
An agent collaborator.CfnAgent.AgentDescriptorPropertyStruct
An agent descriptor.CfnAgent.StructAgentKnowledgeBaseProperty
Contains details about a knowledge base that is associated with an agent.CfnAgent.APISchemaPropertyStruct
Contains details about the OpenAPI schema for the action group.CfnAgent.StructCustomOrchestrationProperty
Contains details of the custom orchestration configured for the agent.CfnAgent.FunctionPropertyStruct
Defines parameters that the agent needs to invoke from the user to complete the function.CfnAgent.FunctionSchemaPropertyStruct
Contains details about the function schema for the action group or the JSON or YAML-formatted payload defining the schema.CfnAgent.StructGuardrailConfigurationProperty
Configuration information for a guardrail that you use with the Converse operation.CfnAgent.StructInferenceConfigurationProperty
Base inference parameters to pass to a model in a call to Converse or ConverseStream . For more information, see Inference parameters for foundation models .CfnAgent.StructMemoryConfigurationProperty
Details of the memory configuration.CfnAgent.StructOrchestrationExecutorProperty
The structure of the executor invoking the actions in custom orchestration.CfnAgent.ParameterDetailPropertyStruct
Contains details about a parameter in a function for an action group.CfnAgent.StructPromptConfigurationProperty
Contains configurations to override a prompt template in one part of an agent sequence.CfnAgent.StructPrompt Override Configuration Property
Contains configurations to override prompts in different parts of an agent sequence.CfnAgent.S3IdentifierPropertyStruct
The identifier information for an Amazon S3 bucket.CfnAgent.StructSession Summary Configuration Property
Configuration for SESSION_SUMMARY memory type enabled for the agent.CfnAgentAlias.StructAgentAliasHistoryEventProperty
Contains details about the history of the alias.CfnAgentAlias.StructAgent Alias Routing Configuration List Item Property
Contains details about the routing configuration of the alias.CfnAgentAliasPropsStruct
Properties for defining aCfnAgentAlias.CfnAgentPropsStruct
Properties for defining aCfnAgent.CfnApplicationInferenceProfile.StructInferenceProfileModelProperty
Contains information about a model.CfnApplicationInferenceProfile.StructInference Profile Model Source Property
Contains information about the model or system-defined inference profile that is the source for an inference profile..CfnStructApplication Inference Profile Props
Properties for defining aCfnApplicationInferenceProfile.CfnAutomatedReasoningPolicy.StructPolicyDefinitionProperty
The complete policy definition containing rules, variables, and types.CfnAutomatedReasoningPolicy.StructPolicyDefinitionRuleProperty
A rule within the policy definition that defines logical constraints.CfnAutomatedReasoningPolicy.StructPolicyDefinitionTypeProperty
A custom type definition within the policy.CfnAutomatedReasoningPolicy.StructPolicy Definition Type Value Property
A value associated with a custom type in the policy definition.CfnAutomatedReasoningPolicy.StructPolicyDefinitionVariableProperty
A variable defined within the policy that can be used in rules.CfnAutomatedReasoningPolicyPropsStruct
Properties for defining aCfnAutomatedReasoningPolicy.CfnStructAutomated Reasoning Policy Version Props
Properties for defining aCfnAutomatedReasoningPolicyVersion.CfnBlueprintPropsStruct
Properties for defining aCfnBlueprint.CfnDataAutomationLibrary.StructEncryptionConfigurationProperty
KMS Encryption Configuration.CfnDataAutomationLibrary.StructEntityTypeInfoProperty
Information about an entity type in the DataAutomationLibrary.CfnDataAutomationLibraryPropsStruct
Properties for defining aCfnDataAutomationLibrary.CfnDataAutomationProject.StructAudioExtractionCategoryProperty
Settings for generating data from audio.CfnDataAutomationProject.StructAudio Extraction Category Type Configuration Property
Allows configuration of extractions for different types of data, such as transcript and content moderation.CfnDataAutomationProject.StructAudio Language Configuration Property
This allows you to set the input and output language of your audio.CfnDataAutomationProject.StructAudio Override Configuration Property
Sets whether your project will process audio or not.CfnDataAutomationProject.StructAudioStandardExtractionProperty
Settings for generating data from audio.CfnDataAutomationProject.StructAudio Standard Generative Field Property
Settings for generating descriptions of audio.CfnDataAutomationProject.StructAudio Standard Output Configuration Property
Output settings for processing audio.CfnDataAutomationProject.StructBlueprintItemProperty
An abbreviated summary of a blueprint.CfnDataAutomationProject.StructChannel Labeling Configuration Property
Enables or disables channel labeling.CfnDataAutomationProject.StructCustom Output Configuration Property
Blueprints to apply to objects processed by the project.CfnDataAutomationProject.StructDocumentBoundingBoxProperty
Bounding box settings for documents.CfnDataAutomationProject.StructDocument Extraction Granularity Property
Granularity settings for documents.CfnDataAutomationProject.StructDocument Output Additional File Format Property
Output settings for additional file formats.CfnDataAutomationProject.StructDocumentOutputFormatProperty
A document output format.CfnDataAutomationProject.StructDocumentOutputTextFormatProperty
An output text format.CfnDataAutomationProject.StructDocument Override Configuration Property
Additional settings for a project.CfnDataAutomationProject.StructDocument Standard Extraction Property
Settings for generating data from documents.CfnDataAutomationProject.StructDocument Standard Generative Field Property
Settings for generating descriptions of documents.CfnDataAutomationProject.StructDocument Standard Output Configuration Property
Output settings for processing documents.CfnDataAutomationProject.StructImageBoundingBoxProperty
Bounding box settings for a project.CfnDataAutomationProject.StructImageExtractionCategoryProperty
Settings for generating categorical data from images.CfnDataAutomationProject.StructImage Override Configuration Property
Sets whether your project will process images or not.CfnDataAutomationProject.StructImageStandardExtractionProperty
Settings for generating data from images.CfnDataAutomationProject.StructImage Standard Generative Field Property
Settings for generating descriptions of images.CfnDataAutomationProject.StructImage Standard Output Configuration Property
Output settings for processing images.CfnDataAutomationProject.StructModality Processing Configuration Property
This element is used to determine if the modality it is associated with is enabled or disabled.CfnDataAutomationProject.StructModality Routing Configuration Property
This element allows you to set up where JPEG, PNG, MOV, and MP4 files get routed to for processing.CfnDataAutomationProject.StructOverrideConfigurationProperty
Additional settings for a project.CfnDataAutomationProject.StructPIIEntitiesConfigurationProperty
Configuration for detecting and redacting Personally Identifiable Information (PII) entities.CfnDataAutomationProject.StructSensitive Data Configuration Property
Configuration for detecting and redacting sensitive data in content.CfnDataAutomationProject.StructSpeaker Labeling Configuration Property
Enables or disables speaker labeling.CfnDataAutomationProject.StructSplitterConfigurationProperty
Document splitter settings.CfnDataAutomationProject.StructStandard Output Configuration Property
The project's standard output configuration.CfnDataAutomationProject.StructTranscriptConfigurationProperty
Configuration for transcript options.CfnDataAutomationProject.StructVideoBoundingBoxProperty
Bounding box settings for video.CfnDataAutomationProject.StructVideoExtractionCategoryProperty
Settings for generating categorical data from video.CfnDataAutomationProject.StructVideo Override Configuration Property
Sets whether your project will process videos or not.CfnDataAutomationProject.StructVideoStandardExtractionProperty
Settings for generating data from video.CfnDataAutomationProject.StructVideo Standard Generative Field Property
Settings for generating descriptions of video.CfnDataAutomationProject.StructVideo Standard Output Configuration Property
Output settings for processing video.CfnDataAutomationProjectPropsStruct
Properties for defining aCfnDataAutomationProject.CfnDataSource.StructAudio Extraction Configuration Property
Configuration for audio extraction.CfnDataSource.StructBedrock Data Automation Configuration Property
Contains configurations for using Amazon Bedrock Data Automation as the parser for ingesting your data sources.CfnDataSource.StructBedrock Foundation Model Configuration Property
Settings for a foundation model used to parse documents for a data source.CfnDataSource.StructBedrock Foundation Model Context Enrichment Configuration Property
Context enrichment configuration is used to provide additional context to the RAG application using Amazon Bedrock foundation models.CfnDataSource.StructChunkingConfigurationProperty
Details about how to chunk the documents in the data source.CfnDataSource.StructConfluence Crawler Configuration Property
The configuration of the Confluence content.CfnDataSource.StructConfluence Data Source Configuration Property
The configuration information to connect to Confluence as your data source.CfnDataSource.StructConfluence Source Configuration Property
The endpoint information to connect to your Confluence data source.CfnDataSource.StructContext Enrichment Configuration Property
Context enrichment configuration is used to provide additional context to the RAG application.CfnDataSource.StructCrawlFilterConfigurationProperty
The configuration of filtering the data source content.CfnDataSource.StructCustom Transformation Configuration Property
Settings for customizing steps in the data source content ingestion pipeline.CfnDataSource.StructDataSourceConfigurationProperty
The connection configuration for the data source.CfnDataSource.DayOfMonthPropertyStruct
Day of the month on which a monthly refresh runs.CfnDataSource.StructDeletion Protection Configuration Property
Configuration for deletion protection.CfnDataSource.StructEnrichment Strategy Configuration Property
The strategy used for performing context enrichment.CfnDataSource.StructFixed Size Chunking Configuration Property
Configurations for when you choose fixed-size chunking.CfnDataSource.StructHierarchical Chunking Configuration Property
Settings for hierarchical document chunking for a data source.CfnDataSource.StructHierarchical Chunking Level Configuration Property
Token settings for a layer in a hierarchical chunking configuration.CfnDataSource.StructImage Extraction Configuration Property
Configuration for image extraction.CfnDataSource.StructIntermediateStorageProperty
A location for storing content from data sources temporarily as it is processed by custom components in the ingestion pipeline.CfnDataSource.StructManaged Knowledge Base Connector Configuration Property
Configuration for managed knowledge base connector data sources.CfnDataSource.StructMedia Extraction Configuration Property
Configuration for media extraction settings.CfnDataSource.StructMonthlyScheduleProperty
A monthly refresh on a specified day of the month.CfnDataSource.StructParsingConfigurationProperty
Settings for parsing document contents.CfnDataSource.StructParsingPromptProperty
Instructions for interpreting the contents of a document.CfnDataSource.StructPattern Object Filter Configuration Property
The configuration of filtering certain objects or content types of the data source.CfnDataSource.StructPatternObjectFilterProperty
The specific filters applied to your data source content.CfnDataSource.StructS3 Data Source Configuration Property
The configuration information to connect to Amazon S3 as your data source.CfnDataSource.S3LocationPropertyStruct
A storage location in an Amazon S3 bucket.CfnDataSource.StructSalesforce Crawler Configuration Property
The configuration of the Salesforce content.CfnDataSource.StructSalesforce Data Source Configuration Property
The configuration information to connect to Salesforce as your data source.CfnDataSource.StructSalesforce Source Configuration Property
The endpoint information to connect to your Salesforce data source.CfnDataSource.SeedUrlPropertyStruct
The seed or starting point URL.CfnDataSource.StructSemantic Chunking Configuration Property
Settings for semantic document chunking for a data source.CfnDataSource.StructServer Side Encryption Configuration Property
Contains the configuration for server-side encryption.CfnDataSource.StructShare Point Crawler Configuration Property
The configuration of the SharePoint content.CfnDataSource.StructShare Point Data Source Configuration Property
The configuration information to connect to SharePoint as your data source.CfnDataSource.StructShare Point Source Configuration Property
The endpoint information to connect to your SharePoint data source.CfnDataSource.StructSyncScheduleProperty
Recurring schedule on which the connector automatically refreshes ingested content.CfnDataSource.StructTransformationFunctionProperty
A Lambda function that processes documents.CfnDataSource.StructTransformation Lambda Configuration Property
A Lambda function that processes documents.CfnDataSource.StructTransformationProperty
A custom processing step for documents moving through a data source ingestion pipeline.CfnDataSource.StructUrlConfigurationProperty
The configuration of web URLs that you want to crawl.CfnDataSource.StructVector Ingestion Configuration Property
Contains details about how to ingest the documents in a data source.CfnDataSource.StructVideo Extraction Configuration Property
Configuration for video extraction.CfnDataSource.StructWebCrawlerConfigurationProperty
The configuration of web URLs that you want to crawl.CfnDataSource.StructWebCrawlerLimitsProperty
The rate limits for the URLs that you want to crawl.CfnDataSource.StructWeb Data Source Configuration Property
The configuration details for the web data source.CfnDataSource.StructWebSourceConfigurationProperty
The configuration of the URL/URLs for the web content that you want to crawl.CfnDataSource.StructWeeklyScheduleProperty
A weekly refresh on a specified day of the week.CfnDataSourcePropsStruct
Properties for defining aCfnDataSource.CfnStructEnforced Guardrail Configuration. ModelEnforcementProperty
Model-specific information for the enforced guardrail configuration.CfnStructEnforced Guardrail Configuration. SelectiveContentGuardingProperty
Selective content guarding controls for enforced guardrails.CfnStructEnforced Guardrail Configuration Props
Properties for defining aCfnEnforcedGuardrailConfiguration.CfnFlow.StructAgent Flow Node Configuration Property
Defines an agent node in your flow.CfnFlow.StructCondition Flow Node Configuration Property
Defines a condition node in your flow.CfnFlow.StructFieldForRerankingProperty
Specifies a field to be used during the reranking process in a Knowledge Base vector search.CfnFlow.StructFlow Conditional Connection Configuration Property
The configuration of a connection between a condition node and another node.CfnFlow.FlowConditionPropertyStruct
Defines a condition in the condition node.CfnFlow.StructFlow Connection Configuration Property
The configuration of the connection.CfnFlow.FlowConnectionPropertyStruct
Contains information about a connection between two nodes in the flow.CfnFlow.StructFlow Data Connection Configuration Property
The configuration of a connection originating from a node that isn't a Condition node.CfnFlow.FlowDefinitionPropertyStruct
The definition of the nodes and connections between nodes in the flow.CfnFlow.StructFlowNodeConfigurationProperty
Contains configurations for a node in your flow.CfnFlow.FlowNodeInputPropertyStruct
Contains configurations for an input in an Amazon Bedrock Flows node.CfnFlow.FlowNodeOutputPropertyStruct
Contains configurations for an output from a node.CfnFlow.FlowNodePropertyStruct
Contains configurations about a node in the flow.CfnFlow.FlowValidationPropertyStruct
Contains information about validation of the flow.CfnFlow.StructGuardrailConfigurationProperty
Configuration information for a guardrail that you use with the Converse operation.CfnFlow.StructInline Code Flow Node Configuration Property
Contains configurations for an inline code node in your flow.CfnFlow.StructKnowledge Base Flow Node Configuration Property
Contains configurations for a knowledge base node in a flow.CfnFlow.StructKnowledge Base Orchestration Configuration Property
Configures how the knowledge base orchestrates the retrieval and generation process, allowing for customization of prompts, inference parameters, and performance settings.CfnFlow.StructKnowledge Base Prompt Template Property
Defines a custom prompt template for orchestrating the retrieval and generation process.CfnFlow.StructLambda Function Flow Node Configuration Property
Contains configurations for a Lambda function node in the flow.CfnFlow.StructLexFlowNodeConfigurationProperty
Contains configurations for a Lex node in the flow.CfnFlow.StructLoop Controller Flow Node Configuration Property
Contains configurations for the controller node of a DoWhile loop in the flow.CfnFlow.StructLoop Flow Node Configuration Property
Contains configurations for the nodes of a DoWhile loop in your flow.CfnFlow.StructMetadata Configuration For Reranking Property
Configuration for how metadata should be used during the reranking process in Knowledge Base vector searches.CfnFlow.StructPerformanceConfigurationProperty
Performance settings for a model.CfnFlow.StructPrompt Flow Node Configuration Property
Contains configurations for a prompt node in the flow.CfnFlow.StructPrompt Flow Node Inline Configuration Property
Contains configurations for a prompt defined inline in the node.CfnFlow.StructPrompt Flow Node Resource Configuration Property
Contains configurations for a prompt from Prompt management to use in a node.CfnFlow.StructPrompt Flow Node Source Configuration Property
Contains configurations for a prompt and whether it is from Prompt management or defined inline.CfnFlow.StructPrompt Inference Configuration Property
Contains inference configurations for the prompt.CfnFlow.StructPromptInputVariableProperty
Contains information about a variable in the prompt.CfnFlow.StructPrompt Model Inference Configuration Property
Contains inference configurations related to model inference for a prompt.CfnFlow.StructPrompt Template Configuration Property
Contains the message for a prompt.CfnFlow.StructReranking Metadata Selective Mode Configuration Property
Configuration for selectively including or excluding metadata fields during the reranking process.CfnFlow.StructRetrieval Flow Node Configuration Property
Contains configurations for a Retrieval node in a flow.CfnFlow.StructRetrieval Flow Node S3 Configuration Property
Contains configurations for the Amazon S3 location from which to retrieve data to return as the output from the node.CfnFlow.StructRetrieval Flow Node Service Configuration Property
Contains configurations for the service to use for retrieving data to return as the output from the node.CfnFlow.S3LocationPropertyStruct
The S3 location of the flow definition.CfnFlow.StructStorage Flow Node Configuration Property
Contains configurations for a Storage node in a flow.CfnFlow.StructStorage Flow Node S3 Configuration Property
Contains configurations for the Amazon S3 location in which to store the input into the node.CfnFlow.StructStorage Flow Node Service Configuration Property
Contains configurations for the service to use for storing the input into the node.CfnFlow.StructText Prompt Template Configuration Property
Contains configurations for a text prompt template.CfnFlow.StructVector Search Bedrock Reranking Configuration Property
Configuration for using Amazon Bedrock foundation models to rerank Knowledge Base vector search results.CfnFlow.StructVector Search Bedrock Reranking Model Configuration Property
Configuration for the Amazon Bedrock foundation model used for reranking vector search results.CfnFlow.StructVector Search Reranking Configuration Property
Configuration for reranking vector search results to improve relevance.CfnFlowAlias.StructFlow Alias Concurrency Configuration Property
Determines how multiple nodes in a flow can run in parallel.CfnFlowAlias.StructFlow Alias Routing Configuration List Item Property
Contains information about a version that the alias maps to.CfnFlowAliasPropsStruct
Properties for defining aCfnFlowAlias.CfnFlowPropsStruct
Properties for defining aCfnFlow.CfnFlowVersion.StructAgent Flow Node Configuration Property
Defines an agent node in your flow.CfnFlowVersion.StructCondition Flow Node Configuration Property
Defines a condition node in your flow.CfnFlowVersion.StructFieldForRerankingProperty
Specifies a field to be used during the reranking process in a Knowledge Base vector search.CfnFlowVersion.StructFlow Conditional Connection Configuration Property
The configuration of a connection between a condition node and another node.CfnFlowVersion.StructFlowConditionProperty
Defines a condition in the condition node.CfnFlowVersion.StructFlow Connection Configuration Property
The configuration of the connection.CfnFlowVersion.StructFlowConnectionProperty
Contains information about a connection between two nodes in the flow.CfnFlowVersion.StructFlow Data Connection Configuration Property
The configuration of a connection originating from a node that isn't a Condition node.CfnFlowVersion.StructFlowDefinitionProperty
The definition of the nodes and connections between nodes in the flow.CfnFlowVersion.StructFlowNodeConfigurationProperty
Contains configurations for a node in your flow.CfnFlowVersion.StructFlowNodeInputProperty
Contains configurations for an input in an Amazon Bedrock Flows node.CfnFlowVersion.StructFlowNodeOutputProperty
Contains configurations for an output from a node.CfnFlowVersion.FlowNodePropertyStruct
Contains configurations about a node in the flow.CfnFlowVersion.StructGuardrailConfigurationProperty
Configuration information for a guardrail that you use with the Converse operation.CfnFlowVersion.StructInline Code Flow Node Configuration Property
Contains configurations for an inline code node in your flow.CfnFlowVersion.StructKnowledge Base Flow Node Configuration Property
Contains configurations for a knowledge base node in a flow.CfnFlowVersion.StructKnowledge Base Orchestration Configuration Property
Configures how the knowledge base orchestrates the retrieval and generation process, allowing for customization of prompts, inference parameters, and performance settings.CfnFlowVersion.StructKnowledge Base Prompt Template Property
Defines a custom prompt template for orchestrating the retrieval and generation process.CfnFlowVersion.StructLambda Function Flow Node Configuration Property
Contains configurations for a Lambda function node in the flow.CfnFlowVersion.StructLexFlowNodeConfigurationProperty
Contains configurations for a Lex node in the flow.CfnFlowVersion.StructLoop Controller Flow Node Configuration Property
Contains configurations for the controller node of a DoWhile loop in the flow.CfnFlowVersion.StructLoop Flow Node Configuration Property
Contains configurations for the nodes of a DoWhile loop in your flow.CfnFlowVersion.StructMetadata Configuration For Reranking Property
Configuration for how metadata should be used during the reranking process in Knowledge Base vector searches.CfnFlowVersion.StructPerformanceConfigurationProperty
Performance settings for a model.CfnFlowVersion.StructPrompt Flow Node Configuration Property
Contains configurations for a prompt node in the flow.CfnFlowVersion.StructPrompt Flow Node Inline Configuration Property
Contains configurations for a prompt defined inline in the node.CfnFlowVersion.StructPrompt Flow Node Resource Configuration Property
Contains configurations for a prompt from Prompt management to use in a node.CfnFlowVersion.StructPrompt Flow Node Source Configuration Property
Contains configurations for a prompt and whether it is from Prompt management or defined inline.CfnFlowVersion.StructPrompt Inference Configuration Property
Contains inference configurations for the prompt.CfnFlowVersion.StructPromptInputVariableProperty
Contains information about a variable in the prompt.CfnFlowVersion.StructPrompt Model Inference Configuration Property
Contains inference configurations related to model inference for a prompt.CfnFlowVersion.StructPrompt Template Configuration Property
Contains the message for a prompt.CfnFlowVersion.StructReranking Metadata Selective Mode Configuration Property
Configuration for selectively including or excluding metadata fields during the reranking process.CfnFlowVersion.StructRetrieval Flow Node Configuration Property
Contains configurations for a Retrieval node in a flow.CfnFlowVersion.StructRetrieval Flow Node S3 Configuration Property
Contains configurations for the Amazon S3 location from which to retrieve data to return as the output from the node.CfnFlowVersion.StructRetrieval Flow Node Service Configuration Property
Contains configurations for the service to use for retrieving data to return as the output from the node.CfnFlowVersion.StructStorage Flow Node Configuration Property
Contains configurations for a Storage node in a flow.CfnFlowVersion.StructStorage Flow Node S3 Configuration Property
Contains configurations for the Amazon S3 location in which to store the input into the node.CfnFlowVersion.StructStorage Flow Node Service Configuration Property
Contains configurations for the service to use for storing the input into the node.CfnFlowVersion.StructText Prompt Template Configuration Property
Contains configurations for a text prompt template.CfnFlowVersion.StructVector Search Bedrock Reranking Configuration Property
Configuration for using Amazon Bedrock foundation models to rerank Knowledge Base vector search results.CfnFlowVersion.StructVector Search Bedrock Reranking Model Configuration Property
Configuration for the Amazon Bedrock foundation model used for reranking vector search results.CfnFlowVersion.StructVector Search Reranking Configuration Property
Configuration for reranking vector search results to improve relevance.CfnFlowVersionPropsStruct
Properties for defining aCfnFlowVersion.CfnGuardrail.StructAutomated Reasoning Policy Config Property
Configuration settings for integrating Automated Reasoning policies with Amazon Bedrock Guardrails.CfnGuardrail.StructContentFilterConfigProperty
Contains filter strengths for harmful content.CfnGuardrail.StructContentFiltersTierConfigProperty
The tier that your guardrail uses for content filters.CfnGuardrail.StructContentPolicyConfigProperty
Contains details about how to handle harmful content.CfnGuardrail.StructContextual Grounding Filter Config Property
The filter configuration details for the guardrails contextual grounding filter.CfnGuardrail.StructContextual Grounding Policy Config Property
The policy configuration details for the guardrails contextual grounding policy.CfnGuardrail.StructGuardrail Cross Region Config Property
The system-defined guardrail profile that you're using with your guardrail.CfnGuardrail.StructManagedWordsConfigProperty
The managed word list to configure for the guardrail.CfnGuardrail.StructPiiEntityConfigProperty
The PII entity to configure for the guardrail.CfnGuardrail.RegexConfigPropertyStruct
The regular expression to configure for the guardrail.CfnGuardrail.StructSensitive Information Policy Config Property
Contains details about PII entities and regular expressions to configure for the guardrail.CfnGuardrail.TopicConfigPropertyStruct
Details about topics for the guardrail to identify and deny.CfnGuardrail.StructTopicPolicyConfigProperty
Contains details about topics that the guardrail should identify and deny.CfnGuardrail.StructTopicsTierConfigProperty
The tier that your guardrail uses for denied topic filters.CfnGuardrail.WordConfigPropertyStruct
A word to configure for the guardrail.CfnGuardrail.StructWordPolicyConfigProperty
Contains details about the word policy to configured for the guardrail.CfnGuardrailPropsStruct
Properties for defining aCfnGuardrail.CfnGuardrailVersionPropsStruct
Properties for defining aCfnGuardrailVersion.CfnIntelligentPromptRouter.StructPromptRouterTargetModelProperty
The target model for a prompt router.CfnIntelligentPromptRouter.StructRoutingCriteriaProperty
Routing criteria for a prompt router.CfnIntelligentPromptRouterPropsStruct
Properties for defining aCfnIntelligentPromptRouter.CfnKnowledgeBase.StructAudioConfigurationProperty
Configuration settings for processing audio content in multimodal knowledge bases.CfnKnowledgeBase.StructAudio Segmentation Configuration Property
Configuration for segmenting audio content during multimodal knowledge base ingestion.CfnKnowledgeBase.StructBedrock Embedding Model Configuration Property
The vector configuration details for the Bedrock embeddings model.CfnKnowledgeBase.StructCuratedQueryProperty
Contains configurations for a query, each of which defines information about example queries to help the query engine generate appropriate SQL queries.CfnKnowledgeBase.StructEmbedding Model Configuration Property
The configuration details for the embeddings model.CfnKnowledgeBase.StructKendra Knowledge Base Configuration Property
Settings for an Amazon Kendra knowledge base.CfnKnowledgeBase.StructKnowledge Base Configuration Property
Configurations to apply to a knowledge base attached to the agent during query.CfnKnowledgeBase.StructManaged Knowledge Base Configuration Property
Contains details about the model used to create vector embeddings for a managed knowledge base.CfnKnowledgeBase.StructManaged Knowledge Base Server Side Encryption Configuration Property
Contains details about the server-side encryption for the managed knowledge base.CfnKnowledgeBase.StructMongo Db Atlas Configuration Property
Contains details about the storage configuration of the knowledge base in MongoDB Atlas.CfnKnowledgeBase.StructMongoDbAtlasFieldMappingProperty
Contains the names of the fields to which to map information about the vector store.CfnKnowledgeBase.StructNeptune Analytics Configuration Property
Contains details about the storage configuration of the knowledge base in Amazon Neptune Analytics.CfnKnowledgeBase.StructNeptune Analytics Field Mapping Property
Contains the names of the fields to which to map information about the vector store.CfnKnowledgeBase.StructOpen Search Managed Cluster Configuration Property
Contains details about the Managed Cluster configuration of the knowledge base in Amazon OpenSearch Service.CfnKnowledgeBase.StructOpen Search Managed Cluster Field Mapping Property
Contains the names of the fields to which to map information about the vector store.CfnKnowledgeBase.StructOpen Search Serverless Configuration Property
Contains details about the storage configuration of the knowledge base in Amazon OpenSearch Service.CfnKnowledgeBase.StructOpen Search Serverless Field Mapping Property
Contains the names of the fields to which to map information about the vector store.CfnKnowledgeBase.StructPineconeConfigurationProperty
Contains details about the storage configuration of the knowledge base in Pinecone.CfnKnowledgeBase.StructPineconeFieldMappingProperty
Contains the names of the fields to which to map information about the vector store.CfnKnowledgeBase.StructQueryGenerationColumnProperty
Contains information about a column in the current table for the query engine to consider.CfnKnowledgeBase.StructQuery Generation Configuration Property
Contains configurations for query generation.CfnKnowledgeBase.StructQueryGenerationContextProperty
>Contains configurations for context to use during query generation.CfnKnowledgeBase.StructQueryGenerationTableProperty
Contains information about a table for the query engine to consider.CfnKnowledgeBase.StructRdsConfigurationProperty
Contains details about the storage configuration of the knowledge base in Amazon RDS.CfnKnowledgeBase.StructRdsFieldMappingProperty
Contains the names of the fields to which to map information about the vector store.CfnKnowledgeBase.StructRedshiftConfigurationProperty
Contains configurations for an Amazon Redshift database.CfnKnowledgeBase.StructRedshift Provisioned Auth Configuration Property
Contains configurations for authentication to an Amazon Redshift provisioned data warehouse.CfnKnowledgeBase.StructRedshift Provisioned Configuration Property
Contains configurations for a provisioned Amazon Redshift query engine.CfnKnowledgeBase.StructRedshift Query Engine Aws Data Catalog Storage Configuration Property
Contains configurations for storage in AWS Glue Data Catalog.CfnKnowledgeBase.StructRedshift Query Engine Configuration Property
Contains configurations for an Amazon Redshift query engine.CfnKnowledgeBase.StructRedshift Query Engine Redshift Storage Configuration Property
Contains configurations for storage in Amazon Redshift.CfnKnowledgeBase.StructRedshift Query Engine Storage Configuration Property
Contains configurations for Amazon Redshift data storage.CfnKnowledgeBase.StructRedshift Serverless Auth Configuration Property
Specifies configurations for authentication to a Redshift Serverless.CfnKnowledgeBase.StructRedshift Serverless Configuration Property
Contains configurations for authentication to Amazon Redshift Serverless.CfnKnowledgeBase.StructS3LocationProperty
A storage location in an Amazon S3 bucket.CfnKnowledgeBase.StructS3VectorsConfigurationProperty
Contains the storage configuration of the knowledge base for S3 vectors.CfnKnowledgeBase.StructSql Knowledge Base Configuration Property
Contains configurations for a knowledge base connected to an SQL database.CfnKnowledgeBase.StructStorageConfigurationProperty
Contains the storage configuration of the knowledge base.CfnKnowledgeBase.StructSupplemental Data Storage Configuration Property
Specifies configurations for the storage location of multimedia content (images, audio, and video) extracted from multimodal documents in your data source.CfnKnowledgeBase.StructSupplemental Data Storage Location Property
Contains information about a storage location for multimedia content (images, audio, and video) extracted from multimodal documents in your data source.CfnKnowledgeBase.StructVector Knowledge Base Configuration Property
Contains details about the model used to create vector embeddings for the knowledge base.CfnKnowledgeBase.StructVideoConfigurationProperty
Configuration settings for processing video content in multimodal knowledge bases.CfnKnowledgeBase.StructVideo Segmentation Configuration Property
Configuration for segmenting video content during multimodal knowledge base ingestion.CfnKnowledgeBasePolicyPropsStruct
Properties for defining aCfnKnowledgeBasePolicy.CfnKnowledgeBasePropsStruct
Properties for defining aCfnKnowledgeBase.CfnPrompt.StructCachePointBlockProperty
Defines a section of content to be cached for reuse in subsequent API calls.CfnPrompt.StructChat Prompt Template Configuration Property
Contains configurations to use a prompt in a conversational format.CfnPrompt.ContentBlockPropertyStruct
A block of content for a message that you pass to, or receive from, a model with the Converse or ConverseStream API operations.CfnPrompt.MessagePropertyStruct
A message input, or returned from, a call to Converse or ConverseStream .CfnPrompt.StructPromptAgentResourceProperty
Contains specifications for an Amazon Bedrock agent with which to use the prompt.CfnPrompt.StructPromptGenAiResourceProperty
Contains specifications for a generative AI resource with which to use the prompt.CfnPrompt.StructPrompt Inference Configuration Property
Contains inference configurations for the prompt.CfnPrompt.StructPromptInputVariableProperty
Contains information about a variable in the prompt.CfnPrompt.StructPromptMetadataEntryProperty
Contains a key-value pair that defines a metadata tag and value to attach to a prompt variant.CfnPrompt.StructPrompt Model Inference Configuration Property
Contains inference configurations related to model inference for a prompt.CfnPrompt.StructPrompt Template Configuration Property
Contains the message for a prompt.CfnPrompt.PromptVariantPropertyStruct
Contains details about a variant of the prompt.CfnPrompt.StructSpecificToolChoiceProperty
The model must request a specific tool.CfnPrompt.StructSystemContentBlockProperty
Contains configurations for instructions to provide the model for how to handle input.CfnPrompt.StructText Prompt Template Configuration Property
Contains configurations for a text prompt template.CfnPrompt.TextS3LocationPropertyStruct
The Amazon S3 location of the prompt text.CfnPrompt.ToolChoicePropertyStruct
Determines which tools the model should request in a call toConverseorConverseStream.CfnPrompt.StructToolConfigurationProperty
Configuration information for the tools that you pass to a model.CfnPrompt.StructToolInputSchemaProperty
The schema for the tool.CfnPrompt.ToolPropertyStruct
Information about a tool that you can use with the Converse API.CfnPrompt.StructToolSpecificationProperty
The specification for the tool.CfnPromptPropsStruct
Properties for defining aCfnPrompt.CfnPromptVersion.StructCachePointBlockProperty
Defines a section of content to be cached for reuse in subsequent API calls.CfnPromptVersion.StructChat Prompt Template Configuration Property
Contains configurations to use a prompt in a conversational format.CfnPromptVersion.StructContentBlockProperty
A block of content for a message that you pass to, or receive from, a model with the Converse or ConverseStream API operations.CfnPromptVersion.MessagePropertyStruct
A message input, or returned from, a call to Converse or ConverseStream .CfnPromptVersion.StructPromptAgentResourceProperty
Contains specifications for an Amazon Bedrock agent with which to use the prompt.CfnPromptVersion.StructPromptGenAiResourceProperty
Contains specifications for a generative AI resource with which to use the prompt.CfnPromptVersion.StructPrompt Inference Configuration Property
Contains inference configurations for the prompt.CfnPromptVersion.StructPromptInputVariableProperty
Contains information about a variable in the prompt.CfnPromptVersion.StructPromptMetadataEntryProperty
Contains a key-value pair that defines a metadata tag and value to attach to a prompt variant.CfnPromptVersion.StructPrompt Model Inference Configuration Property
Contains inference configurations related to model inference for a prompt.CfnPromptVersion.StructPrompt Template Configuration Property
Contains the message for a prompt.CfnPromptVersion.StructPromptVariantProperty
Contains details about a variant of the prompt.CfnPromptVersion.StructSpecificToolChoiceProperty
The model must request a specific tool.CfnPromptVersion.StructSystemContentBlockProperty
Contains configurations for instructions to provide the model for how to handle input.CfnPromptVersion.StructText Prompt Template Configuration Property
Contains configurations for a text prompt template.CfnPromptVersion.StructToolChoiceProperty
Determines which tools the model should request in a call toConverseorConverseStream.CfnPromptVersion.StructToolConfigurationProperty
Configuration information for the tools that you pass to a model.CfnPromptVersion.StructToolInputSchemaProperty
The schema for the tool.CfnPromptVersion.ToolPropertyStruct
Information about a tool that you can use with the Converse API.CfnPromptVersion.StructToolSpecificationProperty
The specification for the tool.CfnPromptVersionPropsStruct
Properties for defining aCfnPromptVersion.CfnResourcePolicyPropsStruct
Properties for defining aCfnResourcePolicy.CfnRetrievalInstruction.StructInstructionProperty
The reviewed content this instruction serves — what AgenticRetrieveStream resolves while status is ACTIVE.CfnRetrievalInstructionPropsStruct
Properties for defining aCfnRetrievalInstruction.CfnSessionPropsStruct
Properties for defining aCfnSession.
Classes
FoundationModelClass
A Bedrock base foundation model.FoundationModelIdentifierClass
The model identifiers for the Bedrock base foundation models.ProvisionedModelClass
A Bedrock provisioned model.
Interfaces
IModelInterface
Represents a Bedrock model.