published on Tuesday, Sep 22, 2026 by Pulumi
published on Tuesday, Sep 22, 2026 by Pulumi
Resource for managing an AWS Bedrock Agents Flow.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.bedrock.AgentFlow("example", {
name: "example-flow",
executionRoleArn: exampleAwsIamRole.arn,
});
import pulumi
import pulumi_aws as aws
example = aws.bedrock.AgentFlow("example",
name="example-flow",
execution_role_arn=example_aws_iam_role["arn"])
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := bedrock.NewAgentFlow(ctx, "example", &bedrock.AgentFlowArgs{
Name: pulumi.String("example-flow"),
ExecutionRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Bedrock.AgentFlow("example", new()
{
Name = "example-flow",
ExecutionRoleArn = exampleAwsIamRole.Arn,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.bedrock.AgentFlow;
import com.pulumi.aws.bedrock.AgentFlowArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new AgentFlow("example", AgentFlowArgs.builder()
.name("example-flow")
.executionRoleArn(exampleAwsIamRole.arn())
.build());
}
}
resources:
example:
type: aws:bedrock:AgentFlow
properties:
name: example-flow
executionRoleArn: ${exampleAwsIamRole.arn}
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_bedrock_agentflow" "example" {
name = "example-flow"
execution_role_arn = exampleAwsIamRole.arn
}
Default definition
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.bedrock.AgentFlow("example", {
definition: {
connections: [
{
configuration: {
data: {
sourceOutput: "document",
targetInput: "topic",
},
},
name: "FlowInputNodeFlowInputNode0ToPrompt_1PromptsNode0",
source: "FlowInputNode",
target: "Prompt_1",
type: "Data",
},
{
configuration: {
data: {
sourceOutput: "modelCompletion",
targetInput: "document",
},
},
name: "Prompt_1PromptsNode0ToFlowOutputNodeFlowOutputNode0",
source: "Prompt_1",
target: "FlowOutputNode",
type: "Data",
},
],
nodes: [
{
configuration: {
input: {},
},
outputs: [{
name: "document",
type: "String",
}],
name: "FlowInputNode",
type: "Input",
},
{
configuration: {
prompt: {
sourceConfiguration: {
inline: {
inferenceConfiguration: {
text: {
maxTokens: 2048,
stopSequences: ["User:"],
temperature: 0,
topP: 0.8999999761581421,
},
},
templateConfiguration: {
text: {
inputVariables: [{
name: "topic",
}],
text: "Write a paragraph about {{topic}}.",
},
},
modelId: "amazon.titan-text-express-v1",
templateType: "TEXT",
},
},
},
},
inputs: [{
expression: "$.data",
name: "topic",
type: "String",
}],
outputs: [{
name: "modelCompletion",
type: "String",
}],
name: "Prompt_1",
type: "Prompt",
},
{
configuration: {
output: {},
},
inputs: [{
expression: "$.data",
name: "document",
type: "String",
}],
name: "FlowOutputNode",
type: "Output",
},
],
},
name: "example",
executionRoleArn: exampleAwsIamRole.arn,
});
import pulumi
import pulumi_aws as aws
example = aws.bedrock.AgentFlow("example",
definition={
"connections": [
{
"configuration": {
"data": {
"source_output": "document",
"target_input": "topic",
},
},
"name": "FlowInputNodeFlowInputNode0ToPrompt_1PromptsNode0",
"source": "FlowInputNode",
"target": "Prompt_1",
"type": "Data",
},
{
"configuration": {
"data": {
"source_output": "modelCompletion",
"target_input": "document",
},
},
"name": "Prompt_1PromptsNode0ToFlowOutputNodeFlowOutputNode0",
"source": "Prompt_1",
"target": "FlowOutputNode",
"type": "Data",
},
],
"nodes": [
{
"configuration": {
"input": {},
},
"outputs": [{
"name": "document",
"type": "String",
}],
"name": "FlowInputNode",
"type": "Input",
},
{
"configuration": {
"prompt": {
"source_configuration": {
"inline": {
"inference_configuration": {
"text": {
"max_tokens": 2048,
"stop_sequences": ["User:"],
"temperature": float(0),
"top_p": 0.8999999761581421,
},
},
"template_configuration": {
"text": {
"input_variables": [{
"name": "topic",
}],
"text": "Write a paragraph about {{topic}}.",
},
},
"model_id": "amazon.titan-text-express-v1",
"template_type": "TEXT",
},
},
},
},
"inputs": [{
"expression": "$.data",
"name": "topic",
"type": "String",
}],
"outputs": [{
"name": "modelCompletion",
"type": "String",
}],
"name": "Prompt_1",
"type": "Prompt",
},
{
"configuration": {
"output": {},
},
"inputs": [{
"expression": "$.data",
"name": "document",
"type": "String",
}],
"name": "FlowOutputNode",
"type": "Output",
},
],
},
name="example",
execution_role_arn=example_aws_iam_role["arn"])
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := bedrock.NewAgentFlow(ctx, "example", &bedrock.AgentFlowArgs{
Definition: &bedrock.AgentFlowDefinitionArgs{
Connections: bedrock.AgentFlowDefinitionConnectionArray{
&bedrock.AgentFlowDefinitionConnectionArgs{
Configuration: &bedrock.AgentFlowDefinitionConnectionConfigurationArgs{
Data: &bedrock.AgentFlowDefinitionConnectionConfigurationDataArgs{
SourceOutput: pulumi.String("document"),
TargetInput: pulumi.String("topic"),
},
},
Name: pulumi.String("FlowInputNodeFlowInputNode0ToPrompt_1PromptsNode0"),
Source: pulumi.String("FlowInputNode"),
Target: pulumi.String("Prompt_1"),
Type: pulumi.String("Data"),
},
&bedrock.AgentFlowDefinitionConnectionArgs{
Configuration: &bedrock.AgentFlowDefinitionConnectionConfigurationArgs{
Data: &bedrock.AgentFlowDefinitionConnectionConfigurationDataArgs{
SourceOutput: pulumi.String("modelCompletion"),
TargetInput: pulumi.String("document"),
},
},
Name: pulumi.String("Prompt_1PromptsNode0ToFlowOutputNodeFlowOutputNode0"),
Source: pulumi.String("Prompt_1"),
Target: pulumi.String("FlowOutputNode"),
Type: pulumi.String("Data"),
},
},
Nodes: bedrock.AgentFlowDefinitionNodeArray{
&bedrock.AgentFlowDefinitionNodeArgs{
Configuration: &bedrock.AgentFlowDefinitionNodeConfigurationArgs{
Input: &bedrock.AgentFlowDefinitionNodeConfigurationInputTypeArgs{},
},
Outputs: bedrock.AgentFlowDefinitionNodeOutputTypeArray{
&bedrock.AgentFlowDefinitionNodeOutputTypeArgs{
Name: pulumi.String("document"),
Type: pulumi.String("String"),
},
},
Name: pulumi.String("FlowInputNode"),
Type: pulumi.String("Input"),
},
&bedrock.AgentFlowDefinitionNodeArgs{
Configuration: &bedrock.AgentFlowDefinitionNodeConfigurationArgs{
Prompt: &bedrock.AgentFlowDefinitionNodeConfigurationPromptArgs{
SourceConfiguration: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationArgs{
Inline: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineArgs{
InferenceConfiguration: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfigurationArgs{
Text: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfigurationTextArgs{
MaxTokens: pulumi.Int(2048),
StopSequences: pulumi.StringArray{
pulumi.String("User:"),
},
Temperature: pulumi.Float64(0),
TopP: pulumi.Float64(0.8999999761581421),
},
},
TemplateConfiguration: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationArgs{
Text: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextArgs{
InputVariables: bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextInputVariableArray{
&bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextInputVariableArgs{
Name: pulumi.String("topic"),
},
},
Text: pulumi.String("Write a paragraph about {{topic}}."),
},
},
ModelId: pulumi.String("amazon.titan-text-express-v1"),
TemplateType: pulumi.String("TEXT"),
},
},
},
},
Inputs: bedrock.AgentFlowDefinitionNodeInputTypeArray{
&bedrock.AgentFlowDefinitionNodeInputTypeArgs{
Expression: pulumi.String("$.data"),
Name: pulumi.String("topic"),
Type: pulumi.String("String"),
},
},
Outputs: bedrock.AgentFlowDefinitionNodeOutputTypeArray{
&bedrock.AgentFlowDefinitionNodeOutputTypeArgs{
Name: pulumi.String("modelCompletion"),
Type: pulumi.String("String"),
},
},
Name: pulumi.String("Prompt_1"),
Type: pulumi.String("Prompt"),
},
&bedrock.AgentFlowDefinitionNodeArgs{
Configuration: &bedrock.AgentFlowDefinitionNodeConfigurationArgs{
Output: &bedrock.AgentFlowDefinitionNodeConfigurationOutputTypeArgs{},
},
Inputs: bedrock.AgentFlowDefinitionNodeInputTypeArray{
&bedrock.AgentFlowDefinitionNodeInputTypeArgs{
Expression: pulumi.String("$.data"),
Name: pulumi.String("document"),
Type: pulumi.String("String"),
},
},
Name: pulumi.String("FlowOutputNode"),
Type: pulumi.String("Output"),
},
},
},
Name: pulumi.String("example"),
ExecutionRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Bedrock.AgentFlow("example", new()
{
Definition = new Aws.Bedrock.Inputs.AgentFlowDefinitionArgs
{
Connections = new[]
{
new Aws.Bedrock.Inputs.AgentFlowDefinitionConnectionArgs
{
Configuration = new Aws.Bedrock.Inputs.AgentFlowDefinitionConnectionConfigurationArgs
{
Data = new Aws.Bedrock.Inputs.AgentFlowDefinitionConnectionConfigurationDataArgs
{
SourceOutput = "document",
TargetInput = "topic",
},
},
Name = "FlowInputNodeFlowInputNode0ToPrompt_1PromptsNode0",
Source = "FlowInputNode",
Target = "Prompt_1",
Type = "Data",
},
new Aws.Bedrock.Inputs.AgentFlowDefinitionConnectionArgs
{
Configuration = new Aws.Bedrock.Inputs.AgentFlowDefinitionConnectionConfigurationArgs
{
Data = new Aws.Bedrock.Inputs.AgentFlowDefinitionConnectionConfigurationDataArgs
{
SourceOutput = "modelCompletion",
TargetInput = "document",
},
},
Name = "Prompt_1PromptsNode0ToFlowOutputNodeFlowOutputNode0",
Source = "Prompt_1",
Target = "FlowOutputNode",
Type = "Data",
},
},
Nodes = new[]
{
new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeArgs
{
Configuration = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationArgs
{
Input = null,
},
Outputs = new[]
{
new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeOutputArgs
{
Name = "document",
Type = "String",
},
},
Name = "FlowInputNode",
Type = "Input",
},
new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeArgs
{
Configuration = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationArgs
{
Prompt = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptArgs
{
SourceConfiguration = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationArgs
{
Inline = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineArgs
{
InferenceConfiguration = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfigurationArgs
{
Text = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfigurationTextArgs
{
MaxTokens = 2048,
StopSequences = new[]
{
"User:",
},
Temperature = 0,
TopP = 0.8999999761581421,
},
},
TemplateConfiguration = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationArgs
{
Text = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextArgs
{
InputVariables = new[]
{
new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextInputVariableArgs
{
Name = "topic",
},
},
Text = "Write a paragraph about {{topic}}.",
},
},
ModelId = "amazon.titan-text-express-v1",
TemplateType = "TEXT",
},
},
},
},
Inputs = new[]
{
new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeInputArgs
{
Expression = "$.data",
Name = "topic",
Type = "String",
},
},
Outputs = new[]
{
new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeOutputArgs
{
Name = "modelCompletion",
Type = "String",
},
},
Name = "Prompt_1",
Type = "Prompt",
},
new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeArgs
{
Configuration = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationArgs
{
Output = null,
},
Inputs = new[]
{
new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeInputArgs
{
Expression = "$.data",
Name = "document",
Type = "String",
},
},
Name = "FlowOutputNode",
Type = "Output",
},
},
},
Name = "example",
ExecutionRoleArn = exampleAwsIamRole.Arn,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.bedrock.AgentFlow;
import com.pulumi.aws.bedrock.AgentFlowArgs;
import com.pulumi.aws.bedrock.inputs.AgentFlowDefinitionArgs;
import com.pulumi.aws.bedrock.inputs.AgentFlowDefinitionConnectionArgs;
import com.pulumi.aws.bedrock.inputs.AgentFlowDefinitionConnectionConfigurationArgs;
import com.pulumi.aws.bedrock.inputs.AgentFlowDefinitionConnectionConfigurationDataArgs;
import com.pulumi.aws.bedrock.inputs.AgentFlowDefinitionNodeArgs;
import com.pulumi.aws.bedrock.inputs.AgentFlowDefinitionNodeConfigurationArgs;
import com.pulumi.aws.bedrock.inputs.AgentFlowDefinitionNodeConfigurationInputArgs;
import com.pulumi.aws.bedrock.inputs.AgentFlowDefinitionNodeOutputArgs;
import com.pulumi.aws.bedrock.inputs.AgentFlowDefinitionNodeConfigurationPromptArgs;
import com.pulumi.aws.bedrock.inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationArgs;
import com.pulumi.aws.bedrock.inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineArgs;
import com.pulumi.aws.bedrock.inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfigurationArgs;
import com.pulumi.aws.bedrock.inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfigurationTextArgs;
import com.pulumi.aws.bedrock.inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationArgs;
import com.pulumi.aws.bedrock.inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextArgs;
import com.pulumi.aws.bedrock.inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextInputVariableArgs;
import com.pulumi.aws.bedrock.inputs.AgentFlowDefinitionNodeInputArgs;
import com.pulumi.aws.bedrock.inputs.AgentFlowDefinitionNodeConfigurationOutputArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new AgentFlow("example", AgentFlowArgs.builder()
.definition(AgentFlowDefinitionArgs.builder()
.connections(
AgentFlowDefinitionConnectionArgs.builder()
.configuration(AgentFlowDefinitionConnectionConfigurationArgs.builder()
.data(AgentFlowDefinitionConnectionConfigurationDataArgs.builder()
.sourceOutput("document")
.targetInput("topic")
.build())
.build())
.name("FlowInputNodeFlowInputNode0ToPrompt_1PromptsNode0")
.source("FlowInputNode")
.target("Prompt_1")
.type("Data")
.build(),
AgentFlowDefinitionConnectionArgs.builder()
.configuration(AgentFlowDefinitionConnectionConfigurationArgs.builder()
.data(AgentFlowDefinitionConnectionConfigurationDataArgs.builder()
.sourceOutput("modelCompletion")
.targetInput("document")
.build())
.build())
.name("Prompt_1PromptsNode0ToFlowOutputNodeFlowOutputNode0")
.source("Prompt_1")
.target("FlowOutputNode")
.type("Data")
.build())
.nodes(
AgentFlowDefinitionNodeArgs.builder()
.configuration(AgentFlowDefinitionNodeConfigurationArgs.builder()
.input(AgentFlowDefinitionNodeConfigurationInputArgs.builder()
.build())
.build())
.outputs(AgentFlowDefinitionNodeOutputArgs.builder()
.name("document")
.type("String")
.build())
.name("FlowInputNode")
.type("Input")
.build(),
AgentFlowDefinitionNodeArgs.builder()
.configuration(AgentFlowDefinitionNodeConfigurationArgs.builder()
.prompt(AgentFlowDefinitionNodeConfigurationPromptArgs.builder()
.sourceConfiguration(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationArgs.builder()
.inline(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineArgs.builder()
.inferenceConfiguration(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfigurationArgs.builder()
.text(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfigurationTextArgs.builder()
.maxTokens(2048)
.stopSequences("User:")
.temperature(0.0)
.topP(0.8999999761581421)
.build())
.build())
.templateConfiguration(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationArgs.builder()
.text(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextArgs.builder()
.inputVariables(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextInputVariableArgs.builder()
.name("topic")
.build())
.text("Write a paragraph about {{topic}}.")
.build())
.build())
.modelId("amazon.titan-text-express-v1")
.templateType("TEXT")
.build())
.build())
.build())
.build())
.inputs(AgentFlowDefinitionNodeInputArgs.builder()
.expression("$.data")
.name("topic")
.type("String")
.build())
.outputs(AgentFlowDefinitionNodeOutputArgs.builder()
.name("modelCompletion")
.type("String")
.build())
.name("Prompt_1")
.type("Prompt")
.build(),
AgentFlowDefinitionNodeArgs.builder()
.configuration(AgentFlowDefinitionNodeConfigurationArgs.builder()
.output(AgentFlowDefinitionNodeConfigurationOutputArgs.builder()
.build())
.build())
.inputs(AgentFlowDefinitionNodeInputArgs.builder()
.expression("$.data")
.name("document")
.type("String")
.build())
.name("FlowOutputNode")
.type("Output")
.build())
.build())
.name("example")
.executionRoleArn(exampleAwsIamRole.arn())
.build());
}
}
resources:
example:
type: aws:bedrock:AgentFlow
properties:
definition:
connections:
- configuration:
data:
sourceOutput: document
targetInput: topic
name: FlowInputNodeFlowInputNode0ToPrompt_1PromptsNode0
source: FlowInputNode
target: Prompt_1
type: Data
- configuration:
data:
sourceOutput: modelCompletion
targetInput: document
name: Prompt_1PromptsNode0ToFlowOutputNodeFlowOutputNode0
source: Prompt_1
target: FlowOutputNode
type: Data
nodes:
- configuration:
input: {}
outputs:
- name: document
type: String
name: FlowInputNode
type: Input
- configuration:
prompt:
sourceConfiguration:
inline:
inferenceConfiguration:
text:
maxTokens: 2048
stopSequences:
- 'User:'
temperature: 0
topP: 0.8999999761581421
templateConfiguration:
text:
inputVariables:
- name: topic
text: Write a paragraph about {{topic}}.
modelId: amazon.titan-text-express-v1
templateType: TEXT
inputs:
- expression: $.data
name: topic
type: String
outputs:
- name: modelCompletion
type: String
name: Prompt_1
type: Prompt
- configuration:
output: {}
inputs:
- expression: $.data
name: document
type: String
name: FlowOutputNode
type: Output
name: example
executionRoleArn: ${exampleAwsIamRole.arn}
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_bedrock_agentflow" "example" {
definition = {
connections = [{
"configuration" = {
"data" = {
"sourceOutput" = "document"
"targetInput" = "topic"
}
}
"name" = "FlowInputNodeFlowInputNode0ToPrompt_1PromptsNode0"
"source" = "FlowInputNode"
"target" = "Prompt_1"
"type" = "Data"
}, {
"configuration" = {
"data" = {
"sourceOutput" = "modelCompletion"
"targetInput" = "document"
}
}
"name" = "Prompt_1PromptsNode0ToFlowOutputNodeFlowOutputNode0"
"source" = "Prompt_1"
"target" = "FlowOutputNode"
"type" = "Data"
}]
nodes = [{
"configuration" = {
"input" = {}
}
"outputs" = [{
"name" = "document"
"type" = "String"
}]
"name" = "FlowInputNode"
"type" = "Input"
}, {
"configuration" = {
"prompt" = {
"sourceConfiguration" = {
"inline" = {
"inferenceConfiguration" = {
"text" = {
"maxTokens" = 2048
"stopSequences" = ["User:"]
"temperature" = 0
"topP" = 0.8999999761581421
}
}
"templateConfiguration" = {
"text" = {
"inputVariables" = [{
"name" = "topic"
}]
"text" = "Write a paragraph about {{topic}}."
}
}
"modelId" = "amazon.titan-text-express-v1"
"templateType" = "TEXT"
}
}
}
}
"inputs" = [{
"expression" = "$.data"
"name" = "topic"
"type" = "String"
}]
"outputs" = [{
"name" = "modelCompletion"
"type" = "String"
}]
"name" = "Prompt_1"
"type" = "Prompt"
}, {
"configuration" = {
"output" = {}
}
"inputs" = [{
"expression" = "$.data"
"name" = "document"
"type" = "String"
}]
"name" = "FlowOutputNode"
"type" = "Output"
}]
}
name = "example"
execution_role_arn = exampleAwsIamRole.arn
}
Create AgentFlow Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AgentFlow(name: string, args: AgentFlowArgs, opts?: CustomResourceOptions);@overload
def AgentFlow(resource_name: str,
args: AgentFlowArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AgentFlow(resource_name: str,
opts: Optional[ResourceOptions] = None,
execution_role_arn: Optional[str] = None,
customer_encryption_key_arn: Optional[str] = None,
definition: Optional[AgentFlowDefinitionArgs] = None,
description: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[AgentFlowTimeoutsArgs] = None)func NewAgentFlow(ctx *Context, name string, args AgentFlowArgs, opts ...ResourceOption) (*AgentFlow, error)public AgentFlow(string name, AgentFlowArgs args, CustomResourceOptions? opts = null)
public AgentFlow(String name, AgentFlowArgs args)
public AgentFlow(String name, AgentFlowArgs args, CustomResourceOptions options)
type: aws:bedrock:AgentFlow
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws_bedrock_agent_flow" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AgentFlowArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AgentFlowArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AgentFlowArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AgentFlowArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AgentFlowArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var agentFlowResource = new Aws.Bedrock.AgentFlow("agentFlowResource", new()
{
ExecutionRoleArn = "string",
CustomerEncryptionKeyArn = "string",
Definition = new Aws.Bedrock.Inputs.AgentFlowDefinitionArgs
{
Connections = new[]
{
new Aws.Bedrock.Inputs.AgentFlowDefinitionConnectionArgs
{
Name = "string",
Source = "string",
Target = "string",
Type = "string",
Configuration = new Aws.Bedrock.Inputs.AgentFlowDefinitionConnectionConfigurationArgs
{
Conditional = new Aws.Bedrock.Inputs.AgentFlowDefinitionConnectionConfigurationConditionalArgs
{
Condition = "string",
},
Data = new Aws.Bedrock.Inputs.AgentFlowDefinitionConnectionConfigurationDataArgs
{
SourceOutput = "string",
TargetInput = "string",
},
},
},
},
Nodes = new[]
{
new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeArgs
{
Name = "string",
Type = "string",
Configuration = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationArgs
{
Agent = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationAgentArgs
{
AgentAliasArn = "string",
},
Collector = null,
Condition = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationConditionArgs
{
Conditions = new[]
{
new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationConditionConditionArgs
{
Name = "string",
Expression = "string",
},
},
},
InlineCode = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationInlineCodeArgs
{
Code = "string",
Language = "string",
},
Input = null,
Iterator = null,
KnowledgeBase = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationKnowledgeBaseArgs
{
KnowledgeBaseId = "string",
ModelId = "string",
GuardrailConfiguration = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationKnowledgeBaseGuardrailConfigurationArgs
{
GuardrailIdentifier = "string",
GuardrailVersion = "string",
},
InferenceConfiguration = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationArgs
{
Text = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationTextArgs
{
MaxTokens = 0,
StopSequences = new[]
{
"string",
},
Temperature = 0.0,
TopP = 0.0,
},
},
NumberOfResults = 0,
},
LambdaFunction = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationLambdaFunctionArgs
{
LambdaArn = "string",
},
Lex = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationLexArgs
{
BotAliasArn = "string",
LocaleId = "string",
},
Output = null,
Prompt = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptArgs
{
GuardrailConfiguration = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptGuardrailConfigurationArgs
{
GuardrailIdentifier = "string",
GuardrailVersion = "string",
},
SourceConfiguration = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationArgs
{
Inline = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineArgs
{
ModelId = "string",
TemplateType = "string",
AdditionalModelRequestFields = "string",
InferenceConfiguration = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfigurationArgs
{
Text = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfigurationTextArgs
{
MaxTokens = 0,
StopSequences = new[]
{
"string",
},
Temperature = 0.0,
TopP = 0.0,
},
},
TemplateConfiguration = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationArgs
{
Chat = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatArgs
{
Messages = new[]
{
new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageArgs
{
Role = "string",
Content = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContentArgs
{
CachePoint = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContentCachePointArgs
{
Type = "string",
},
Text = "string",
},
},
},
InputVariables = new[]
{
new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatInputVariableArgs
{
Name = "string",
},
},
Systems = new[]
{
new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatSystemArgs
{
CachePoint = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatSystemCachePointArgs
{
Type = "string",
},
Text = "string",
},
},
ToolConfiguration = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationArgs
{
ToolChoice = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceArgs
{
Any = null,
Auto = null,
Tool = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceToolArgs
{
Name = "string",
},
},
Tools = new[]
{
new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolArgs
{
CachePoint = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolCachePointArgs
{
Type = "string",
},
ToolSpec = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolToolSpecArgs
{
Name = "string",
Description = "string",
InputSchema = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolToolSpecInputSchemaArgs
{
Json = "string",
},
},
},
},
},
},
Text = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextArgs
{
Text = "string",
CachePoint = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextCachePointArgs
{
Type = "string",
},
InputVariables = new[]
{
new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextInputVariableArgs
{
Name = "string",
},
},
},
},
},
Resource = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationResourceArgs
{
PromptArn = "string",
},
},
},
Retrieval = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationRetrievalArgs
{
ServiceConfiguration = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationRetrievalServiceConfigurationArgs
{
S3 = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationRetrievalServiceConfigurationS3Args
{
BucketName = "string",
},
},
},
Storage = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationStorageArgs
{
ServiceConfiguration = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationStorageServiceConfigurationArgs
{
S3 = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationStorageServiceConfigurationS3Args
{
BucketName = "string",
},
},
},
},
Inputs = new[]
{
new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeInputArgs
{
Expression = "string",
Name = "string",
Type = "string",
Category = "string",
},
},
Outputs = new[]
{
new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeOutputArgs
{
Name = "string",
Type = "string",
},
},
},
},
},
Description = "string",
Name = "string",
Region = "string",
Tags =
{
{ "string", "string" },
},
Timeouts = new Aws.Bedrock.Inputs.AgentFlowTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := bedrock.NewAgentFlow(ctx, "agentFlowResource", &bedrock.AgentFlowArgs{
ExecutionRoleArn: pulumi.String("string"),
CustomerEncryptionKeyArn: pulumi.String("string"),
Definition: &bedrock.AgentFlowDefinitionArgs{
Connections: bedrock.AgentFlowDefinitionConnectionArray{
&bedrock.AgentFlowDefinitionConnectionArgs{
Name: pulumi.String("string"),
Source: pulumi.String("string"),
Target: pulumi.String("string"),
Type: pulumi.String("string"),
Configuration: &bedrock.AgentFlowDefinitionConnectionConfigurationArgs{
Conditional: &bedrock.AgentFlowDefinitionConnectionConfigurationConditionalArgs{
Condition: pulumi.String("string"),
},
Data: &bedrock.AgentFlowDefinitionConnectionConfigurationDataArgs{
SourceOutput: pulumi.String("string"),
TargetInput: pulumi.String("string"),
},
},
},
},
Nodes: bedrock.AgentFlowDefinitionNodeArray{
&bedrock.AgentFlowDefinitionNodeArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Configuration: &bedrock.AgentFlowDefinitionNodeConfigurationArgs{
Agent: &bedrock.AgentFlowDefinitionNodeConfigurationAgentArgs{
AgentAliasArn: pulumi.String("string"),
},
Collector: &bedrock.AgentFlowDefinitionNodeConfigurationCollectorArgs{},
Condition: &bedrock.AgentFlowDefinitionNodeConfigurationConditionArgs{
Conditions: bedrock.AgentFlowDefinitionNodeConfigurationConditionConditionArray{
&bedrock.AgentFlowDefinitionNodeConfigurationConditionConditionArgs{
Name: pulumi.String("string"),
Expression: pulumi.String("string"),
},
},
},
InlineCode: &bedrock.AgentFlowDefinitionNodeConfigurationInlineCodeArgs{
Code: pulumi.String("string"),
Language: pulumi.String("string"),
},
Input: &bedrock.AgentFlowDefinitionNodeConfigurationInputTypeArgs{},
Iterator: &bedrock.AgentFlowDefinitionNodeConfigurationIteratorArgs{},
KnowledgeBase: &bedrock.AgentFlowDefinitionNodeConfigurationKnowledgeBaseArgs{
KnowledgeBaseId: pulumi.String("string"),
ModelId: pulumi.String("string"),
GuardrailConfiguration: &bedrock.AgentFlowDefinitionNodeConfigurationKnowledgeBaseGuardrailConfigurationArgs{
GuardrailIdentifier: pulumi.String("string"),
GuardrailVersion: pulumi.String("string"),
},
InferenceConfiguration: &bedrock.AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationArgs{
Text: &bedrock.AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationTextArgs{
MaxTokens: pulumi.Int(0),
StopSequences: pulumi.StringArray{
pulumi.String("string"),
},
Temperature: pulumi.Float64(0),
TopP: pulumi.Float64(0),
},
},
NumberOfResults: pulumi.Int(0),
},
LambdaFunction: &bedrock.AgentFlowDefinitionNodeConfigurationLambdaFunctionArgs{
LambdaArn: pulumi.String("string"),
},
Lex: &bedrock.AgentFlowDefinitionNodeConfigurationLexArgs{
BotAliasArn: pulumi.String("string"),
LocaleId: pulumi.String("string"),
},
Output: &bedrock.AgentFlowDefinitionNodeConfigurationOutputTypeArgs{},
Prompt: &bedrock.AgentFlowDefinitionNodeConfigurationPromptArgs{
GuardrailConfiguration: &bedrock.AgentFlowDefinitionNodeConfigurationPromptGuardrailConfigurationArgs{
GuardrailIdentifier: pulumi.String("string"),
GuardrailVersion: pulumi.String("string"),
},
SourceConfiguration: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationArgs{
Inline: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineArgs{
ModelId: pulumi.String("string"),
TemplateType: pulumi.String("string"),
AdditionalModelRequestFields: pulumi.String("string"),
InferenceConfiguration: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfigurationArgs{
Text: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfigurationTextArgs{
MaxTokens: pulumi.Int(0),
StopSequences: pulumi.StringArray{
pulumi.String("string"),
},
Temperature: pulumi.Float64(0),
TopP: pulumi.Float64(0),
},
},
TemplateConfiguration: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationArgs{
Chat: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatArgs{
Messages: bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageArray{
&bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageArgs{
Role: pulumi.String("string"),
Content: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContentArgs{
CachePoint: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContentCachePointArgs{
Type: pulumi.String("string"),
},
Text: pulumi.String("string"),
},
},
},
InputVariables: bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatInputVariableArray{
&bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatInputVariableArgs{
Name: pulumi.String("string"),
},
},
Systems: bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatSystemArray{
&bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatSystemArgs{
CachePoint: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatSystemCachePointArgs{
Type: pulumi.String("string"),
},
Text: pulumi.String("string"),
},
},
ToolConfiguration: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationArgs{
ToolChoice: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceArgs{
Any: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceAnyArgs{},
Auto: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceAutoArgs{},
Tool: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceToolArgs{
Name: pulumi.String("string"),
},
},
Tools: bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolArray{
&bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolArgs{
CachePoint: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolCachePointArgs{
Type: pulumi.String("string"),
},
ToolSpec: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolToolSpecArgs{
Name: pulumi.String("string"),
Description: pulumi.String("string"),
InputSchema: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolToolSpecInputSchemaArgs{
Json: pulumi.String("string"),
},
},
},
},
},
},
Text: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextArgs{
Text: pulumi.String("string"),
CachePoint: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextCachePointArgs{
Type: pulumi.String("string"),
},
InputVariables: bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextInputVariableArray{
&bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextInputVariableArgs{
Name: pulumi.String("string"),
},
},
},
},
},
Resource: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationResourceArgs{
PromptArn: pulumi.String("string"),
},
},
},
Retrieval: &bedrock.AgentFlowDefinitionNodeConfigurationRetrievalArgs{
ServiceConfiguration: &bedrock.AgentFlowDefinitionNodeConfigurationRetrievalServiceConfigurationArgs{
S3: &bedrock.AgentFlowDefinitionNodeConfigurationRetrievalServiceConfigurationS3Args{
BucketName: pulumi.String("string"),
},
},
},
Storage: &bedrock.AgentFlowDefinitionNodeConfigurationStorageArgs{
ServiceConfiguration: &bedrock.AgentFlowDefinitionNodeConfigurationStorageServiceConfigurationArgs{
S3: &bedrock.AgentFlowDefinitionNodeConfigurationStorageServiceConfigurationS3Args{
BucketName: pulumi.String("string"),
},
},
},
},
Inputs: bedrock.AgentFlowDefinitionNodeInputTypeArray{
&bedrock.AgentFlowDefinitionNodeInputTypeArgs{
Expression: pulumi.String("string"),
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Category: pulumi.String("string"),
},
},
Outputs: bedrock.AgentFlowDefinitionNodeOutputTypeArray{
&bedrock.AgentFlowDefinitionNodeOutputTypeArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
},
},
},
Description: pulumi.String("string"),
Name: pulumi.String("string"),
Region: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &bedrock.AgentFlowTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
resource "aws_bedrock_agent_flow" "agentFlowResource" {
lifecycle {
create_before_destroy = true
}
execution_role_arn = "string"
customer_encryption_key_arn = "string"
definition = {
connections = [{
name = "string"
source = "string"
target = "string"
type = "string"
configuration = {
conditional = {
condition = "string"
}
data = {
source_output = "string"
target_input = "string"
}
}
}]
nodes = [{
name = "string"
type = "string"
configuration = {
agent = {
agent_alias_arn = "string"
}
collector = {}
condition = {
conditions = [{
name = "string"
expression = "string"
}]
}
inline_code = {
code = "string"
language = "string"
}
input = {}
iterator = {}
knowledge_base = {
knowledge_base_id = "string"
model_id = "string"
guardrail_configuration = {
guardrail_identifier = "string"
guardrail_version = "string"
}
inference_configuration = {
text = {
max_tokens = 0
stop_sequences = ["string"]
temperature = 0
top_p = 0
}
}
number_of_results = 0
}
lambda_function = {
lambda_arn = "string"
}
lex = {
bot_alias_arn = "string"
locale_id = "string"
}
output = {}
prompt = {
guardrail_configuration = {
guardrail_identifier = "string"
guardrail_version = "string"
}
source_configuration = {
inline = {
model_id = "string"
template_type = "string"
additional_model_request_fields = "string"
inference_configuration = {
text = {
max_tokens = 0
stop_sequences = ["string"]
temperature = 0
top_p = 0
}
}
template_configuration = {
chat = {
messages = [{
role = "string"
content = {
cache_point = {
type = "string"
}
text = "string"
}
}]
input_variables = [{
name = "string"
}]
systems = [{
cache_point = {
type = "string"
}
text = "string"
}]
tool_configuration = {
tool_choice = {
any = {}
auto = {}
tool = {
name = "string"
}
}
tools = [{
cache_point = {
type = "string"
}
tool_spec = {
name = "string"
description = "string"
input_schema = {
json = "string"
}
}
}]
}
}
text = {
text = "string"
cache_point = {
type = "string"
}
input_variables = [{
name = "string"
}]
}
}
}
resource = {
prompt_arn = "string"
}
}
}
retrieval = {
service_configuration = {
s3 = {
bucket_name = "string"
}
}
}
storage = {
service_configuration = {
s3 = {
bucket_name = "string"
}
}
}
}
inputs = [{
expression = "string"
name = "string"
type = "string"
category = "string"
}]
outputs = [{
name = "string"
type = "string"
}]
}]
}
description = "string"
name = "string"
region = "string"
tags = {
"string" = "string"
}
timeouts = {
create = "string"
delete = "string"
update = "string"
}
}
var agentFlowResource = new AgentFlow("agentFlowResource", AgentFlowArgs.builder()
.executionRoleArn("string")
.customerEncryptionKeyArn("string")
.definition(AgentFlowDefinitionArgs.builder()
.connections(AgentFlowDefinitionConnectionArgs.builder()
.name("string")
.source("string")
.target("string")
.type("string")
.configuration(AgentFlowDefinitionConnectionConfigurationArgs.builder()
.conditional(AgentFlowDefinitionConnectionConfigurationConditionalArgs.builder()
.condition("string")
.build())
.data(AgentFlowDefinitionConnectionConfigurationDataArgs.builder()
.sourceOutput("string")
.targetInput("string")
.build())
.build())
.build())
.nodes(AgentFlowDefinitionNodeArgs.builder()
.name("string")
.type("string")
.configuration(AgentFlowDefinitionNodeConfigurationArgs.builder()
.agent(AgentFlowDefinitionNodeConfigurationAgentArgs.builder()
.agentAliasArn("string")
.build())
.collector(AgentFlowDefinitionNodeConfigurationCollectorArgs.builder()
.build())
.condition(AgentFlowDefinitionNodeConfigurationConditionArgs.builder()
.conditions(AgentFlowDefinitionNodeConfigurationConditionConditionArgs.builder()
.name("string")
.expression("string")
.build())
.build())
.inlineCode(AgentFlowDefinitionNodeConfigurationInlineCodeArgs.builder()
.code("string")
.language("string")
.build())
.input(AgentFlowDefinitionNodeConfigurationInputArgs.builder()
.build())
.iterator(AgentFlowDefinitionNodeConfigurationIteratorArgs.builder()
.build())
.knowledgeBase(AgentFlowDefinitionNodeConfigurationKnowledgeBaseArgs.builder()
.knowledgeBaseId("string")
.modelId("string")
.guardrailConfiguration(AgentFlowDefinitionNodeConfigurationKnowledgeBaseGuardrailConfigurationArgs.builder()
.guardrailIdentifier("string")
.guardrailVersion("string")
.build())
.inferenceConfiguration(AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationArgs.builder()
.text(AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationTextArgs.builder()
.maxTokens(0)
.stopSequences("string")
.temperature(0.0)
.topP(0.0)
.build())
.build())
.numberOfResults(0)
.build())
.lambdaFunction(AgentFlowDefinitionNodeConfigurationLambdaFunctionArgs.builder()
.lambdaArn("string")
.build())
.lex(AgentFlowDefinitionNodeConfigurationLexArgs.builder()
.botAliasArn("string")
.localeId("string")
.build())
.output(AgentFlowDefinitionNodeConfigurationOutputArgs.builder()
.build())
.prompt(AgentFlowDefinitionNodeConfigurationPromptArgs.builder()
.guardrailConfiguration(AgentFlowDefinitionNodeConfigurationPromptGuardrailConfigurationArgs.builder()
.guardrailIdentifier("string")
.guardrailVersion("string")
.build())
.sourceConfiguration(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationArgs.builder()
.inline(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineArgs.builder()
.modelId("string")
.templateType("string")
.additionalModelRequestFields("string")
.inferenceConfiguration(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfigurationArgs.builder()
.text(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfigurationTextArgs.builder()
.maxTokens(0)
.stopSequences("string")
.temperature(0.0)
.topP(0.0)
.build())
.build())
.templateConfiguration(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationArgs.builder()
.chat(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatArgs.builder()
.messages(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageArgs.builder()
.role("string")
.content(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContentArgs.builder()
.cachePoint(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContentCachePointArgs.builder()
.type("string")
.build())
.text("string")
.build())
.build())
.inputVariables(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatInputVariableArgs.builder()
.name("string")
.build())
.systems(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatSystemArgs.builder()
.cachePoint(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatSystemCachePointArgs.builder()
.type("string")
.build())
.text("string")
.build())
.toolConfiguration(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationArgs.builder()
.toolChoice(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceArgs.builder()
.any(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceAnyArgs.builder()
.build())
.auto(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceAutoArgs.builder()
.build())
.tool(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceToolArgs.builder()
.name("string")
.build())
.build())
.tools(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolArgs.builder()
.cachePoint(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolCachePointArgs.builder()
.type("string")
.build())
.toolSpec(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolToolSpecArgs.builder()
.name("string")
.description("string")
.inputSchema(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolToolSpecInputSchemaArgs.builder()
.json("string")
.build())
.build())
.build())
.build())
.build())
.text(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextArgs.builder()
.text("string")
.cachePoint(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextCachePointArgs.builder()
.type("string")
.build())
.inputVariables(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextInputVariableArgs.builder()
.name("string")
.build())
.build())
.build())
.build())
.resource(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationResourceArgs.builder()
.promptArn("string")
.build())
.build())
.build())
.retrieval(AgentFlowDefinitionNodeConfigurationRetrievalArgs.builder()
.serviceConfiguration(AgentFlowDefinitionNodeConfigurationRetrievalServiceConfigurationArgs.builder()
.s3(AgentFlowDefinitionNodeConfigurationRetrievalServiceConfigurationS3Args.builder()
.bucketName("string")
.build())
.build())
.build())
.storage(AgentFlowDefinitionNodeConfigurationStorageArgs.builder()
.serviceConfiguration(AgentFlowDefinitionNodeConfigurationStorageServiceConfigurationArgs.builder()
.s3(AgentFlowDefinitionNodeConfigurationStorageServiceConfigurationS3Args.builder()
.bucketName("string")
.build())
.build())
.build())
.build())
.inputs(AgentFlowDefinitionNodeInputArgs.builder()
.expression("string")
.name("string")
.type("string")
.category("string")
.build())
.outputs(AgentFlowDefinitionNodeOutputArgs.builder()
.name("string")
.type("string")
.build())
.build())
.build())
.description("string")
.name("string")
.region("string")
.tags(Map.of("string", "string"))
.timeouts(AgentFlowTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
agent_flow_resource = aws.bedrock.AgentFlow("agentFlowResource",
execution_role_arn="string",
customer_encryption_key_arn="string",
definition={
"connections": [{
"name": "string",
"source": "string",
"target": "string",
"type": "string",
"configuration": {
"conditional": {
"condition": "string",
},
"data": {
"source_output": "string",
"target_input": "string",
},
},
}],
"nodes": [{
"name": "string",
"type": "string",
"configuration": {
"agent": {
"agent_alias_arn": "string",
},
"collector": {},
"condition": {
"conditions": [{
"name": "string",
"expression": "string",
}],
},
"inline_code": {
"code": "string",
"language": "string",
},
"input": {},
"iterator": {},
"knowledge_base": {
"knowledge_base_id": "string",
"model_id": "string",
"guardrail_configuration": {
"guardrail_identifier": "string",
"guardrail_version": "string",
},
"inference_configuration": {
"text": {
"max_tokens": 0,
"stop_sequences": ["string"],
"temperature": float(0),
"top_p": float(0),
},
},
"number_of_results": 0,
},
"lambda_function": {
"lambda_arn": "string",
},
"lex": {
"bot_alias_arn": "string",
"locale_id": "string",
},
"output": {},
"prompt": {
"guardrail_configuration": {
"guardrail_identifier": "string",
"guardrail_version": "string",
},
"source_configuration": {
"inline": {
"model_id": "string",
"template_type": "string",
"additional_model_request_fields": "string",
"inference_configuration": {
"text": {
"max_tokens": 0,
"stop_sequences": ["string"],
"temperature": float(0),
"top_p": float(0),
},
},
"template_configuration": {
"chat": {
"messages": [{
"role": "string",
"content": {
"cache_point": {
"type": "string",
},
"text": "string",
},
}],
"input_variables": [{
"name": "string",
}],
"systems": [{
"cache_point": {
"type": "string",
},
"text": "string",
}],
"tool_configuration": {
"tool_choice": {
"any": {},
"auto": {},
"tool": {
"name": "string",
},
},
"tools": [{
"cache_point": {
"type": "string",
},
"tool_spec": {
"name": "string",
"description": "string",
"input_schema": {
"json": "string",
},
},
}],
},
},
"text": {
"text": "string",
"cache_point": {
"type": "string",
},
"input_variables": [{
"name": "string",
}],
},
},
},
"resource": {
"prompt_arn": "string",
},
},
},
"retrieval": {
"service_configuration": {
"s3": {
"bucket_name": "string",
},
},
},
"storage": {
"service_configuration": {
"s3": {
"bucket_name": "string",
},
},
},
},
"inputs": [{
"expression": "string",
"name": "string",
"type": "string",
"category": "string",
}],
"outputs": [{
"name": "string",
"type": "string",
}],
}],
},
description="string",
name="string",
region="string",
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const agentFlowResource = new aws.bedrock.AgentFlow("agentFlowResource", {
executionRoleArn: "string",
customerEncryptionKeyArn: "string",
definition: {
connections: [{
name: "string",
source: "string",
target: "string",
type: "string",
configuration: {
conditional: {
condition: "string",
},
data: {
sourceOutput: "string",
targetInput: "string",
},
},
}],
nodes: [{
name: "string",
type: "string",
configuration: {
agent: {
agentAliasArn: "string",
},
collector: {},
condition: {
conditions: [{
name: "string",
expression: "string",
}],
},
inlineCode: {
code: "string",
language: "string",
},
input: {},
iterator: {},
knowledgeBase: {
knowledgeBaseId: "string",
modelId: "string",
guardrailConfiguration: {
guardrailIdentifier: "string",
guardrailVersion: "string",
},
inferenceConfiguration: {
text: {
maxTokens: 0,
stopSequences: ["string"],
temperature: 0,
topP: 0,
},
},
numberOfResults: 0,
},
lambdaFunction: {
lambdaArn: "string",
},
lex: {
botAliasArn: "string",
localeId: "string",
},
output: {},
prompt: {
guardrailConfiguration: {
guardrailIdentifier: "string",
guardrailVersion: "string",
},
sourceConfiguration: {
inline: {
modelId: "string",
templateType: "string",
additionalModelRequestFields: "string",
inferenceConfiguration: {
text: {
maxTokens: 0,
stopSequences: ["string"],
temperature: 0,
topP: 0,
},
},
templateConfiguration: {
chat: {
messages: [{
role: "string",
content: {
cachePoint: {
type: "string",
},
text: "string",
},
}],
inputVariables: [{
name: "string",
}],
systems: [{
cachePoint: {
type: "string",
},
text: "string",
}],
toolConfiguration: {
toolChoice: {
any: {},
auto: {},
tool: {
name: "string",
},
},
tools: [{
cachePoint: {
type: "string",
},
toolSpec: {
name: "string",
description: "string",
inputSchema: {
json: "string",
},
},
}],
},
},
text: {
text: "string",
cachePoint: {
type: "string",
},
inputVariables: [{
name: "string",
}],
},
},
},
resource: {
promptArn: "string",
},
},
},
retrieval: {
serviceConfiguration: {
s3: {
bucketName: "string",
},
},
},
storage: {
serviceConfiguration: {
s3: {
bucketName: "string",
},
},
},
},
inputs: [{
expression: "string",
name: "string",
type: "string",
category: "string",
}],
outputs: [{
name: "string",
type: "string",
}],
}],
},
description: "string",
name: "string",
region: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: aws:bedrock:AgentFlow
properties:
customerEncryptionKeyArn: string
definition:
connections:
- configuration:
conditional:
condition: string
data:
sourceOutput: string
targetInput: string
name: string
source: string
target: string
type: string
nodes:
- configuration:
agent:
agentAliasArn: string
collector: {}
condition:
conditions:
- expression: string
name: string
inlineCode:
code: string
language: string
input: {}
iterator: {}
knowledgeBase:
guardrailConfiguration:
guardrailIdentifier: string
guardrailVersion: string
inferenceConfiguration:
text:
maxTokens: 0
stopSequences:
- string
temperature: 0
topP: 0
knowledgeBaseId: string
modelId: string
numberOfResults: 0
lambdaFunction:
lambdaArn: string
lex:
botAliasArn: string
localeId: string
output: {}
prompt:
guardrailConfiguration:
guardrailIdentifier: string
guardrailVersion: string
sourceConfiguration:
inline:
additionalModelRequestFields: string
inferenceConfiguration:
text:
maxTokens: 0
stopSequences:
- string
temperature: 0
topP: 0
modelId: string
templateConfiguration:
chat:
inputVariables:
- name: string
messages:
- content:
cachePoint:
type: string
text: string
role: string
systems:
- cachePoint:
type: string
text: string
toolConfiguration:
toolChoice:
any: {}
auto: {}
tool:
name: string
tools:
- cachePoint:
type: string
toolSpec:
description: string
inputSchema:
json: string
name: string
text:
cachePoint:
type: string
inputVariables:
- name: string
text: string
templateType: string
resource:
promptArn: string
retrieval:
serviceConfiguration:
s3:
bucketName: string
storage:
serviceConfiguration:
s3:
bucketName: string
inputs:
- category: string
expression: string
name: string
type: string
name: string
outputs:
- name: string
type: string
type: string
description: string
executionRoleArn: string
name: string
region: string
tags:
string: string
timeouts:
create: string
delete: string
update: string
AgentFlow Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AgentFlow resource accepts the following input properties:
- Execution
Role stringArn - ARN of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
- Customer
Encryption stringKey Arn - ARN of the KMS key to encrypt the flow.
- Definition
Agent
Flow Definition - Nodes and connections between nodes in the flow. See
definitionBlock for details. - Description string
- Description for the flow.
- Name string
Name for the flow.
The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Agent
Flow Timeouts
- Execution
Role stringArn - ARN of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
- Customer
Encryption stringKey Arn - ARN of the KMS key to encrypt the flow.
- Definition
Agent
Flow Definition Args - Nodes and connections between nodes in the flow. See
definitionBlock for details. - Description string
- Description for the flow.
- Name string
Name for the flow.
The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map[string]string
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Agent
Flow Timeouts Args
- execution_
role_ stringarn - ARN of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
- customer_
encryption_ stringkey_ arn - ARN of the KMS key to encrypt the flow.
- definition object
- Nodes and connections between nodes in the flow. See
definitionBlock for details. - description string
- Description for the flow.
- name string
Name for the flow.
The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map(string)
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts object
- execution
Role StringArn - ARN of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
- customer
Encryption StringKey Arn - ARN of the KMS key to encrypt the flow.
- definition
Agent
Flow Definition - Nodes and connections between nodes in the flow. See
definitionBlock for details. - description String
- Description for the flow.
- name String
Name for the flow.
The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String,String>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Agent
Flow Timeouts
- execution
Role stringArn - ARN of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
- customer
Encryption stringKey Arn - ARN of the KMS key to encrypt the flow.
- definition
Agent
Flow Definition - Nodes and connections between nodes in the flow. See
definitionBlock for details. - description string
- Description for the flow.
- name string
Name for the flow.
The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- {[key: string]: string}
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Agent
Flow Timeouts
- execution_
role_ strarn - ARN of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
- customer_
encryption_ strkey_ arn - ARN of the KMS key to encrypt the flow.
- definition
Agent
Flow Definition Args - Nodes and connections between nodes in the flow. See
definitionBlock for details. - description str
- Description for the flow.
- name str
Name for the flow.
The following arguments are optional:
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Mapping[str, str]
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Agent
Flow Timeouts Args
- execution
Role StringArn - ARN of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
- customer
Encryption StringKey Arn - ARN of the KMS key to encrypt the flow.
- definition Property Map
- Nodes and connections between nodes in the flow. See
definitionBlock for details. - description String
- Description for the flow.
- name String
Name for the flow.
The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the AgentFlow resource produces the following output properties:
- Arn string
- ARN of the flow.
- Created
At string - Time at which the flow was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Status of the flow.
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Updated
At string - Time at which the flow was last updated.
- Version string
- Version of the flow.
- Arn string
- ARN of the flow.
- Created
At string - Time at which the flow was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Status of the flow.
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Updated
At string - Time at which the flow was last updated.
- Version string
- Version of the flow.
- arn string
- ARN of the flow.
- created_
at string - Time at which the flow was created.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Status of the flow.
- map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - updated_
at string - Time at which the flow was last updated.
- version string
- Version of the flow.
- arn String
- ARN of the flow.
- created
At String - Time at which the flow was created.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Status of the flow.
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - updated
At String - Time at which the flow was last updated.
- version String
- Version of the flow.
- arn string
- ARN of the flow.
- created
At string - Time at which the flow was created.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Status of the flow.
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - updated
At string - Time at which the flow was last updated.
- version string
- Version of the flow.
- arn str
- ARN of the flow.
- created_
at str - Time at which the flow was created.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- Status of the flow.
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - updated_
at str - Time at which the flow was last updated.
- version str
- Version of the flow.
- arn String
- ARN of the flow.
- created
At String - Time at which the flow was created.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Status of the flow.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - updated
At String - Time at which the flow was last updated.
- version String
- Version of the flow.
Look up Existing AgentFlow Resource
Get an existing AgentFlow resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AgentFlowState, opts?: CustomResourceOptions): AgentFlow@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
created_at: Optional[str] = None,
customer_encryption_key_arn: Optional[str] = None,
definition: Optional[AgentFlowDefinitionArgs] = None,
description: Optional[str] = None,
execution_role_arn: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
timeouts: Optional[AgentFlowTimeoutsArgs] = None,
updated_at: Optional[str] = None,
version: Optional[str] = None) -> AgentFlowfunc GetAgentFlow(ctx *Context, name string, id IDInput, state *AgentFlowState, opts ...ResourceOption) (*AgentFlow, error)public static AgentFlow Get(string name, Input<string> id, AgentFlowState? state, CustomResourceOptions? opts = null)public static AgentFlow get(String name, Output<String> id, AgentFlowState state, CustomResourceOptions options)resources: _: type: aws:bedrock:AgentFlow get: id: ${id}import {
to = aws_bedrock_agent_flow.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- ARN of the flow.
- Created
At string - Time at which the flow was created.
- Customer
Encryption stringKey Arn - ARN of the KMS key to encrypt the flow.
- Definition
Agent
Flow Definition - Nodes and connections between nodes in the flow. See
definitionBlock for details. - Description string
- Description for the flow.
- Execution
Role stringArn - ARN of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
- Name string
Name for the flow.
The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Status string
- Status of the flow.
- Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Timeouts
Agent
Flow Timeouts - Updated
At string - Time at which the flow was last updated.
- Version string
- Version of the flow.
- Arn string
- ARN of the flow.
- Created
At string - Time at which the flow was created.
- Customer
Encryption stringKey Arn - ARN of the KMS key to encrypt the flow.
- Definition
Agent
Flow Definition Args - Nodes and connections between nodes in the flow. See
definitionBlock for details. - Description string
- Description for the flow.
- Execution
Role stringArn - ARN of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
- Name string
Name for the flow.
The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Status string
- Status of the flow.
- map[string]string
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Timeouts
Agent
Flow Timeouts Args - Updated
At string - Time at which the flow was last updated.
- Version string
- Version of the flow.
- arn string
- ARN of the flow.
- created_
at string - Time at which the flow was created.
- customer_
encryption_ stringkey_ arn - ARN of the KMS key to encrypt the flow.
- definition object
- Nodes and connections between nodes in the flow. See
definitionBlock for details. - description string
- Description for the flow.
- execution_
role_ stringarn - ARN of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
- name string
Name for the flow.
The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status string
- Status of the flow.
- map(string)
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts object
- updated_
at string - Time at which the flow was last updated.
- version string
- Version of the flow.
- arn String
- ARN of the flow.
- created
At String - Time at which the flow was created.
- customer
Encryption StringKey Arn - ARN of the KMS key to encrypt the flow.
- definition
Agent
Flow Definition - Nodes and connections between nodes in the flow. See
definitionBlock for details. - description String
- Description for the flow.
- execution
Role StringArn - ARN of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
- name String
Name for the flow.
The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status String
- Status of the flow.
- Map<String,String>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts
Agent
Flow Timeouts - updated
At String - Time at which the flow was last updated.
- version String
- Version of the flow.
- arn string
- ARN of the flow.
- created
At string - Time at which the flow was created.
- customer
Encryption stringKey Arn - ARN of the KMS key to encrypt the flow.
- definition
Agent
Flow Definition - Nodes and connections between nodes in the flow. See
definitionBlock for details. - description string
- Description for the flow.
- execution
Role stringArn - ARN of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
- name string
Name for the flow.
The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status string
- Status of the flow.
- {[key: string]: string}
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts
Agent
Flow Timeouts - updated
At string - Time at which the flow was last updated.
- version string
- Version of the flow.
- arn str
- ARN of the flow.
- created_
at str - Time at which the flow was created.
- customer_
encryption_ strkey_ arn - ARN of the KMS key to encrypt the flow.
- definition
Agent
Flow Definition Args - Nodes and connections between nodes in the flow. See
definitionBlock for details. - description str
- Description for the flow.
- execution_
role_ strarn - ARN of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
- name str
Name for the flow.
The following arguments are optional:
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status str
- Status of the flow.
- Mapping[str, str]
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts
Agent
Flow Timeouts Args - updated_
at str - Time at which the flow was last updated.
- version str
- Version of the flow.
- arn String
- ARN of the flow.
- created
At String - Time at which the flow was created.
- customer
Encryption StringKey Arn - ARN of the KMS key to encrypt the flow.
- definition Property Map
- Nodes and connections between nodes in the flow. See
definitionBlock for details. - description String
- Description for the flow.
- execution
Role StringArn - ARN of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
- name String
Name for the flow.
The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status String
- Status of the flow.
- Map<String>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts Property Map
- updated
At String - Time at which the flow was last updated.
- version String
- Version of the flow.
Supporting Types
AgentFlowDefinition, AgentFlowDefinitionArgs
- Connections
List<Agent
Flow Definition Connection> - List of connection definitions in the flow. See
definition.connectionBlock for details. - Nodes
List<Agent
Flow Definition Node> - List of node definitions in the flow. See
definition.nodeBlock for details.
- Connections
[]Agent
Flow Definition Connection - List of connection definitions in the flow. See
definition.connectionBlock for details. - Nodes
[]Agent
Flow Definition Node - List of node definitions in the flow. See
definition.nodeBlock for details.
- connections list(object)
- List of connection definitions in the flow. See
definition.connectionBlock for details. - nodes list(object)
- List of node definitions in the flow. See
definition.nodeBlock for details.
- connections
List<Agent
Flow Definition Connection> - List of connection definitions in the flow. See
definition.connectionBlock for details. - nodes
List<Agent
Flow Definition Node> - List of node definitions in the flow. See
definition.nodeBlock for details.
- connections
Agent
Flow Definition Connection[] - List of connection definitions in the flow. See
definition.connectionBlock for details. - nodes
Agent
Flow Definition Node[] - List of node definitions in the flow. See
definition.nodeBlock for details.
- connections
Sequence[Agent
Flow Definition Connection] - List of connection definitions in the flow. See
definition.connectionBlock for details. - nodes
Sequence[Agent
Flow Definition Node] - List of node definitions in the flow. See
definition.nodeBlock for details.
- connections List<Property Map>
- List of connection definitions in the flow. See
definition.connectionBlock for details. - nodes List<Property Map>
- List of node definitions in the flow. See
definition.nodeBlock for details.
AgentFlowDefinitionConnection, AgentFlowDefinitionConnectionArgs
- Name string
Name for the flow.
The following arguments are optional:
- Source string
- Node that the connection starts at.
- Target string
- Node that the connection ends at.
- Type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- Configuration
Agent
Flow Definition Connection Configuration - Configurations for the node. See
definition.node.configurationBlock for details.
- Name string
Name for the flow.
The following arguments are optional:
- Source string
- Node that the connection starts at.
- Target string
- Node that the connection ends at.
- Type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- Configuration
Agent
Flow Definition Connection Configuration - Configurations for the node. See
definition.node.configurationBlock for details.
- name string
Name for the flow.
The following arguments are optional:
- source string
- Node that the connection starts at.
- target string
- Node that the connection ends at.
- type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- configuration object
- Configurations for the node. See
definition.node.configurationBlock for details.
- name String
Name for the flow.
The following arguments are optional:
- source String
- Node that the connection starts at.
- target String
- Node that the connection ends at.
- type String
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- configuration
Agent
Flow Definition Connection Configuration - Configurations for the node. See
definition.node.configurationBlock for details.
- name string
Name for the flow.
The following arguments are optional:
- source string
- Node that the connection starts at.
- target string
- Node that the connection ends at.
- type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- configuration
Agent
Flow Definition Connection Configuration - Configurations for the node. See
definition.node.configurationBlock for details.
- name str
Name for the flow.
The following arguments are optional:
- source str
- Node that the connection starts at.
- target str
- Node that the connection ends at.
- type str
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- configuration
Agent
Flow Definition Connection Configuration - Configurations for the node. See
definition.node.configurationBlock for details.
- name String
Name for the flow.
The following arguments are optional:
- source String
- Node that the connection starts at.
- target String
- Node that the connection ends at.
- type String
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- configuration Property Map
- Configurations for the node. See
definition.node.configurationBlock for details.
AgentFlowDefinitionConnectionConfiguration, AgentFlowDefinitionConnectionConfigurationArgs
- Conditional
Agent
Flow Definition Connection Configuration Conditional - Configuration of a connection originating from a Condition node. See
definition.connection.configuration.conditionalBlock for details. - Data
Agent
Flow Definition Connection Configuration Data - Configuration of a connection originating from a node that isn't a Condition node. See
definition.connection.configuration.dataBlock for details.
- Conditional
Agent
Flow Definition Connection Configuration Conditional - Configuration of a connection originating from a Condition node. See
definition.connection.configuration.conditionalBlock for details. - Data
Agent
Flow Definition Connection Configuration Data - Configuration of a connection originating from a node that isn't a Condition node. See
definition.connection.configuration.dataBlock for details.
- conditional object
- Configuration of a connection originating from a Condition node. See
definition.connection.configuration.conditionalBlock for details. - data object
- Configuration of a connection originating from a node that isn't a Condition node. See
definition.connection.configuration.dataBlock for details.
- conditional
Agent
Flow Definition Connection Configuration Conditional - Configuration of a connection originating from a Condition node. See
definition.connection.configuration.conditionalBlock for details. - data
Agent
Flow Definition Connection Configuration Data - Configuration of a connection originating from a node that isn't a Condition node. See
definition.connection.configuration.dataBlock for details.
- conditional
Agent
Flow Definition Connection Configuration Conditional - Configuration of a connection originating from a Condition node. See
definition.connection.configuration.conditionalBlock for details. - data
Agent
Flow Definition Connection Configuration Data - Configuration of a connection originating from a node that isn't a Condition node. See
definition.connection.configuration.dataBlock for details.
- conditional
Agent
Flow Definition Connection Configuration Conditional - Configuration of a connection originating from a Condition node. See
definition.connection.configuration.conditionalBlock for details. - data
Agent
Flow Definition Connection Configuration Data - Configuration of a connection originating from a node that isn't a Condition node. See
definition.connection.configuration.dataBlock for details.
- conditional Property Map
- Configuration of a connection originating from a Condition node. See
definition.connection.configuration.conditionalBlock for details. - data Property Map
- Configuration of a connection originating from a node that isn't a Condition node. See
definition.connection.configuration.dataBlock for details.
AgentFlowDefinitionConnectionConfigurationConditional, AgentFlowDefinitionConnectionConfigurationConditionalArgs
- Condition string
- List of conditions. See
definition.node.configuration.condition.conditionBlock for details.
- Condition string
- List of conditions. See
definition.node.configuration.condition.conditionBlock for details.
- condition string
- List of conditions. See
definition.node.configuration.condition.conditionBlock for details.
- condition String
- List of conditions. See
definition.node.configuration.condition.conditionBlock for details.
- condition string
- List of conditions. See
definition.node.configuration.condition.conditionBlock for details.
- condition str
- List of conditions. See
definition.node.configuration.condition.conditionBlock for details.
- condition String
- List of conditions. See
definition.node.configuration.condition.conditionBlock for details.
AgentFlowDefinitionConnectionConfigurationData, AgentFlowDefinitionConnectionConfigurationDataArgs
- Source
Output string - Name of the output in the source node that the connection begins from.
- Target
Input string - Name of the input in the target node that the connection ends at.
- Source
Output string - Name of the output in the source node that the connection begins from.
- Target
Input string - Name of the input in the target node that the connection ends at.
- source_
output string - Name of the output in the source node that the connection begins from.
- target_
input string - Name of the input in the target node that the connection ends at.
- source
Output String - Name of the output in the source node that the connection begins from.
- target
Input String - Name of the input in the target node that the connection ends at.
- source
Output string - Name of the output in the source node that the connection begins from.
- target
Input string - Name of the input in the target node that the connection ends at.
- source_
output str - Name of the output in the source node that the connection begins from.
- target_
input str - Name of the input in the target node that the connection ends at.
- source
Output String - Name of the output in the source node that the connection begins from.
- target
Input String - Name of the input in the target node that the connection ends at.
AgentFlowDefinitionNode, AgentFlowDefinitionNodeArgs
- Name string
Name for the flow.
The following arguments are optional:
- Type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- Configuration
Agent
Flow Definition Node Configuration - Configurations for the node. See
definition.node.configurationBlock for details. - Inputs
List<Agent
Flow Definition Node Input> - Configurations for an input flow node in your flow. The node
inputscan't be specified for this node. This block has no arguments. - Outputs
List<Agent
Flow Definition Node Output> - Configurations for an output flow node in your flow. The node
outputscan't be specified for this node. This block has no arguments.
- Name string
Name for the flow.
The following arguments are optional:
- Type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- Configuration
Agent
Flow Definition Node Configuration - Configurations for the node. See
definition.node.configurationBlock for details. - Inputs
[]Agent
Flow Definition Node Input Type - Configurations for an input flow node in your flow. The node
inputscan't be specified for this node. This block has no arguments. - Outputs
[]Agent
Flow Definition Node Output Type - Configurations for an output flow node in your flow. The node
outputscan't be specified for this node. This block has no arguments.
- name string
Name for the flow.
The following arguments are optional:
- type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- configuration object
- Configurations for the node. See
definition.node.configurationBlock for details. - inputs list(object)
- Configurations for an input flow node in your flow. The node
inputscan't be specified for this node. This block has no arguments. - outputs list(object)
- Configurations for an output flow node in your flow. The node
outputscan't be specified for this node. This block has no arguments.
- name String
Name for the flow.
The following arguments are optional:
- type String
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- configuration
Agent
Flow Definition Node Configuration - Configurations for the node. See
definition.node.configurationBlock for details. - inputs
List<Agent
Flow Definition Node Input> - Configurations for an input flow node in your flow. The node
inputscan't be specified for this node. This block has no arguments. - outputs
List<Agent
Flow Definition Node Output> - Configurations for an output flow node in your flow. The node
outputscan't be specified for this node. This block has no arguments.
- name string
Name for the flow.
The following arguments are optional:
- type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- configuration
Agent
Flow Definition Node Configuration - Configurations for the node. See
definition.node.configurationBlock for details. - inputs
Agent
Flow Definition Node Input[] - Configurations for an input flow node in your flow. The node
inputscan't be specified for this node. This block has no arguments. - outputs
Agent
Flow Definition Node Output[] - Configurations for an output flow node in your flow. The node
outputscan't be specified for this node. This block has no arguments.
- name str
Name for the flow.
The following arguments are optional:
- type str
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- configuration
Agent
Flow Definition Node Configuration - Configurations for the node. See
definition.node.configurationBlock for details. - inputs
Sequence[Agent
Flow Definition Node Input] - Configurations for an input flow node in your flow. The node
inputscan't be specified for this node. This block has no arguments. - outputs
Sequence[Agent
Flow Definition Node Output] - Configurations for an output flow node in your flow. The node
outputscan't be specified for this node. This block has no arguments.
- name String
Name for the flow.
The following arguments are optional:
- type String
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- configuration Property Map
- Configurations for the node. See
definition.node.configurationBlock for details. - inputs List<Property Map>
- Configurations for an input flow node in your flow. The node
inputscan't be specified for this node. This block has no arguments. - outputs List<Property Map>
- Configurations for an output flow node in your flow. The node
outputscan't be specified for this node. This block has no arguments.
AgentFlowDefinitionNodeConfiguration, AgentFlowDefinitionNodeConfigurationArgs
- Agent
Agent
Flow Definition Node Configuration Agent - Configurations for an agent node in your flow. Invokes an alias of an agent and returns the response. See
definition.node.configuration.agentBlock for details. - Collector
Agent
Flow Definition Node Configuration Collector - Configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs. This block has no arguments.
- Condition
Agent
Flow Definition Node Configuration Condition - List of conditions. See
definition.node.configuration.condition.conditionBlock for details. - Inline
Code AgentFlow Definition Node Configuration Inline Code - Configurations for an inline code node in your flow. See
definition.node.configuration.inline_codeBlock for details. - Input
Agent
Flow Definition Node Configuration Input - Configurations for an input flow node in your flow. The node
inputscan't be specified for this node. This block has no arguments. - Iterator
Agent
Flow Definition Node Configuration Iterator - Configurations for an iterator node in your flow. Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output. The output flow node at the end of the flow iteration returns a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node. This block has no arguments.
- Knowledge
Base AgentFlow Definition Node Configuration Knowledge Base - Configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response. See
definition.node.configuration.knowledge_baseBlock for details. - Lambda
Function AgentFlow Definition Node Configuration Lambda Function - Configurations for a Lambda function node in your flow. Invokes a Lambda function. See
definition.node.configuration.lambda_functionBlock for details. - Lex
Agent
Flow Definition Node Configuration Lex - Configurations for a Lex node in your flow. Invokes an Amazon Lex bot to identify the intent of the input and return the intent as the output. See
definition.node.configuration.lexBlock for details. - Output
Agent
Flow Definition Node Configuration Output - Configurations for an output flow node in your flow. The node
outputscan't be specified for this node. This block has no arguments. - Prompt
Agent
Flow Definition Node Configuration Prompt - Configurations for a prompt node in your flow. Runs a prompt and generates the model response as the output. You can use a prompt from Prompt management or you can configure one in this node. See
definition.node.configuration.promptBlock for details. - Retrieval
Agent
Flow Definition Node Configuration Retrieval - Configurations for a Retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output. See
definition.node.configuration.retrievalBlock for details. - Storage
Agent
Flow Definition Node Configuration Storage - Configurations for a Storage node in your flow. Stores an input in an Amazon S3 location. See
definition.node.configuration.storageBlock for details.
- Agent
Agent
Flow Definition Node Configuration Agent - Configurations for an agent node in your flow. Invokes an alias of an agent and returns the response. See
definition.node.configuration.agentBlock for details. - Collector
Agent
Flow Definition Node Configuration Collector - Configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs. This block has no arguments.
- Condition
Agent
Flow Definition Node Configuration Condition - List of conditions. See
definition.node.configuration.condition.conditionBlock for details. - Inline
Code AgentFlow Definition Node Configuration Inline Code - Configurations for an inline code node in your flow. See
definition.node.configuration.inline_codeBlock for details. - Input
Agent
Flow Definition Node Configuration Input Type - Configurations for an input flow node in your flow. The node
inputscan't be specified for this node. This block has no arguments. - Iterator
Agent
Flow Definition Node Configuration Iterator - Configurations for an iterator node in your flow. Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output. The output flow node at the end of the flow iteration returns a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node. This block has no arguments.
- Knowledge
Base AgentFlow Definition Node Configuration Knowledge Base - Configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response. See
definition.node.configuration.knowledge_baseBlock for details. - Lambda
Function AgentFlow Definition Node Configuration Lambda Function - Configurations for a Lambda function node in your flow. Invokes a Lambda function. See
definition.node.configuration.lambda_functionBlock for details. - Lex
Agent
Flow Definition Node Configuration Lex - Configurations for a Lex node in your flow. Invokes an Amazon Lex bot to identify the intent of the input and return the intent as the output. See
definition.node.configuration.lexBlock for details. - Output
Agent
Flow Definition Node Configuration Output Type - Configurations for an output flow node in your flow. The node
outputscan't be specified for this node. This block has no arguments. - Prompt
Agent
Flow Definition Node Configuration Prompt - Configurations for a prompt node in your flow. Runs a prompt and generates the model response as the output. You can use a prompt from Prompt management or you can configure one in this node. See
definition.node.configuration.promptBlock for details. - Retrieval
Agent
Flow Definition Node Configuration Retrieval - Configurations for a Retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output. See
definition.node.configuration.retrievalBlock for details. - Storage
Agent
Flow Definition Node Configuration Storage - Configurations for a Storage node in your flow. Stores an input in an Amazon S3 location. See
definition.node.configuration.storageBlock for details.
- agent object
- Configurations for an agent node in your flow. Invokes an alias of an agent and returns the response. See
definition.node.configuration.agentBlock for details. - collector object
- Configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs. This block has no arguments.
- condition object
- List of conditions. See
definition.node.configuration.condition.conditionBlock for details. - inline_
code object - Configurations for an inline code node in your flow. See
definition.node.configuration.inline_codeBlock for details. - input object
- Configurations for an input flow node in your flow. The node
inputscan't be specified for this node. This block has no arguments. - iterator object
- Configurations for an iterator node in your flow. Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output. The output flow node at the end of the flow iteration returns a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node. This block has no arguments.
- knowledge_
base object - Configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response. See
definition.node.configuration.knowledge_baseBlock for details. - lambda_
function object - Configurations for a Lambda function node in your flow. Invokes a Lambda function. See
definition.node.configuration.lambda_functionBlock for details. - lex object
- Configurations for a Lex node in your flow. Invokes an Amazon Lex bot to identify the intent of the input and return the intent as the output. See
definition.node.configuration.lexBlock for details. - output object
- Configurations for an output flow node in your flow. The node
outputscan't be specified for this node. This block has no arguments. - prompt object
- Configurations for a prompt node in your flow. Runs a prompt and generates the model response as the output. You can use a prompt from Prompt management or you can configure one in this node. See
definition.node.configuration.promptBlock for details. - retrieval object
- Configurations for a Retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output. See
definition.node.configuration.retrievalBlock for details. - storage object
- Configurations for a Storage node in your flow. Stores an input in an Amazon S3 location. See
definition.node.configuration.storageBlock for details.
- agent
Agent
Flow Definition Node Configuration Agent - Configurations for an agent node in your flow. Invokes an alias of an agent and returns the response. See
definition.node.configuration.agentBlock for details. - collector
Agent
Flow Definition Node Configuration Collector - Configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs. This block has no arguments.
- condition
Agent
Flow Definition Node Configuration Condition - List of conditions. See
definition.node.configuration.condition.conditionBlock for details. - inline
Code AgentFlow Definition Node Configuration Inline Code - Configurations for an inline code node in your flow. See
definition.node.configuration.inline_codeBlock for details. - input
Agent
Flow Definition Node Configuration Input - Configurations for an input flow node in your flow. The node
inputscan't be specified for this node. This block has no arguments. - iterator
Agent
Flow Definition Node Configuration Iterator - Configurations for an iterator node in your flow. Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output. The output flow node at the end of the flow iteration returns a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node. This block has no arguments.
- knowledge
Base AgentFlow Definition Node Configuration Knowledge Base - Configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response. See
definition.node.configuration.knowledge_baseBlock for details. - lambda
Function AgentFlow Definition Node Configuration Lambda Function - Configurations for a Lambda function node in your flow. Invokes a Lambda function. See
definition.node.configuration.lambda_functionBlock for details. - lex
Agent
Flow Definition Node Configuration Lex - Configurations for a Lex node in your flow. Invokes an Amazon Lex bot to identify the intent of the input and return the intent as the output. See
definition.node.configuration.lexBlock for details. - output
Agent
Flow Definition Node Configuration Output - Configurations for an output flow node in your flow. The node
outputscan't be specified for this node. This block has no arguments. - prompt
Agent
Flow Definition Node Configuration Prompt - Configurations for a prompt node in your flow. Runs a prompt and generates the model response as the output. You can use a prompt from Prompt management or you can configure one in this node. See
definition.node.configuration.promptBlock for details. - retrieval
Agent
Flow Definition Node Configuration Retrieval - Configurations for a Retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output. See
definition.node.configuration.retrievalBlock for details. - storage
Agent
Flow Definition Node Configuration Storage - Configurations for a Storage node in your flow. Stores an input in an Amazon S3 location. See
definition.node.configuration.storageBlock for details.
- agent
Agent
Flow Definition Node Configuration Agent - Configurations for an agent node in your flow. Invokes an alias of an agent and returns the response. See
definition.node.configuration.agentBlock for details. - collector
Agent
Flow Definition Node Configuration Collector - Configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs. This block has no arguments.
- condition
Agent
Flow Definition Node Configuration Condition - List of conditions. See
definition.node.configuration.condition.conditionBlock for details. - inline
Code AgentFlow Definition Node Configuration Inline Code - Configurations for an inline code node in your flow. See
definition.node.configuration.inline_codeBlock for details. - input
Agent
Flow Definition Node Configuration Input - Configurations for an input flow node in your flow. The node
inputscan't be specified for this node. This block has no arguments. - iterator
Agent
Flow Definition Node Configuration Iterator - Configurations for an iterator node in your flow. Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output. The output flow node at the end of the flow iteration returns a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node. This block has no arguments.
- knowledge
Base AgentFlow Definition Node Configuration Knowledge Base - Configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response. See
definition.node.configuration.knowledge_baseBlock for details. - lambda
Function AgentFlow Definition Node Configuration Lambda Function - Configurations for a Lambda function node in your flow. Invokes a Lambda function. See
definition.node.configuration.lambda_functionBlock for details. - lex
Agent
Flow Definition Node Configuration Lex - Configurations for a Lex node in your flow. Invokes an Amazon Lex bot to identify the intent of the input and return the intent as the output. See
definition.node.configuration.lexBlock for details. - output
Agent
Flow Definition Node Configuration Output - Configurations for an output flow node in your flow. The node
outputscan't be specified for this node. This block has no arguments. - prompt
Agent
Flow Definition Node Configuration Prompt - Configurations for a prompt node in your flow. Runs a prompt and generates the model response as the output. You can use a prompt from Prompt management or you can configure one in this node. See
definition.node.configuration.promptBlock for details. - retrieval
Agent
Flow Definition Node Configuration Retrieval - Configurations for a Retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output. See
definition.node.configuration.retrievalBlock for details. - storage
Agent
Flow Definition Node Configuration Storage - Configurations for a Storage node in your flow. Stores an input in an Amazon S3 location. See
definition.node.configuration.storageBlock for details.
- agent
Agent
Flow Definition Node Configuration Agent - Configurations for an agent node in your flow. Invokes an alias of an agent and returns the response. See
definition.node.configuration.agentBlock for details. - collector
Agent
Flow Definition Node Configuration Collector - Configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs. This block has no arguments.
- condition
Agent
Flow Definition Node Configuration Condition - List of conditions. See
definition.node.configuration.condition.conditionBlock for details. - inline_
code AgentFlow Definition Node Configuration Inline Code - Configurations for an inline code node in your flow. See
definition.node.configuration.inline_codeBlock for details. - input
Agent
Flow Definition Node Configuration Input - Configurations for an input flow node in your flow. The node
inputscan't be specified for this node. This block has no arguments. - iterator
Agent
Flow Definition Node Configuration Iterator - Configurations for an iterator node in your flow. Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output. The output flow node at the end of the flow iteration returns a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node. This block has no arguments.
- knowledge_
base AgentFlow Definition Node Configuration Knowledge Base - Configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response. See
definition.node.configuration.knowledge_baseBlock for details. - lambda_
function AgentFlow Definition Node Configuration Lambda Function - Configurations for a Lambda function node in your flow. Invokes a Lambda function. See
definition.node.configuration.lambda_functionBlock for details. - lex
Agent
Flow Definition Node Configuration Lex - Configurations for a Lex node in your flow. Invokes an Amazon Lex bot to identify the intent of the input and return the intent as the output. See
definition.node.configuration.lexBlock for details. - output
Agent
Flow Definition Node Configuration Output - Configurations for an output flow node in your flow. The node
outputscan't be specified for this node. This block has no arguments. - prompt
Agent
Flow Definition Node Configuration Prompt - Configurations for a prompt node in your flow. Runs a prompt and generates the model response as the output. You can use a prompt from Prompt management or you can configure one in this node. See
definition.node.configuration.promptBlock for details. - retrieval
Agent
Flow Definition Node Configuration Retrieval - Configurations for a Retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output. See
definition.node.configuration.retrievalBlock for details. - storage
Agent
Flow Definition Node Configuration Storage - Configurations for a Storage node in your flow. Stores an input in an Amazon S3 location. See
definition.node.configuration.storageBlock for details.
- agent Property Map
- Configurations for an agent node in your flow. Invokes an alias of an agent and returns the response. See
definition.node.configuration.agentBlock for details. - collector Property Map
- Configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs. This block has no arguments.
- condition Property Map
- List of conditions. See
definition.node.configuration.condition.conditionBlock for details. - inline
Code Property Map - Configurations for an inline code node in your flow. See
definition.node.configuration.inline_codeBlock for details. - input Property Map
- Configurations for an input flow node in your flow. The node
inputscan't be specified for this node. This block has no arguments. - iterator Property Map
- Configurations for an iterator node in your flow. Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output. The output flow node at the end of the flow iteration returns a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node. This block has no arguments.
- knowledge
Base Property Map - Configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response. See
definition.node.configuration.knowledge_baseBlock for details. - lambda
Function Property Map - Configurations for a Lambda function node in your flow. Invokes a Lambda function. See
definition.node.configuration.lambda_functionBlock for details. - lex Property Map
- Configurations for a Lex node in your flow. Invokes an Amazon Lex bot to identify the intent of the input and return the intent as the output. See
definition.node.configuration.lexBlock for details. - output Property Map
- Configurations for an output flow node in your flow. The node
outputscan't be specified for this node. This block has no arguments. - prompt Property Map
- Configurations for a prompt node in your flow. Runs a prompt and generates the model response as the output. You can use a prompt from Prompt management or you can configure one in this node. See
definition.node.configuration.promptBlock for details. - retrieval Property Map
- Configurations for a Retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output. See
definition.node.configuration.retrievalBlock for details. - storage Property Map
- Configurations for a Storage node in your flow. Stores an input in an Amazon S3 location. See
definition.node.configuration.storageBlock for details.
AgentFlowDefinitionNodeConfigurationAgent, AgentFlowDefinitionNodeConfigurationAgentArgs
- Agent
Alias stringArn - ARN of the alias of the agent to invoke.
- Agent
Alias stringArn - ARN of the alias of the agent to invoke.
- agent_
alias_ stringarn - ARN of the alias of the agent to invoke.
- agent
Alias StringArn - ARN of the alias of the agent to invoke.
- agent
Alias stringArn - ARN of the alias of the agent to invoke.
- agent_
alias_ strarn - ARN of the alias of the agent to invoke.
- agent
Alias StringArn - ARN of the alias of the agent to invoke.
AgentFlowDefinitionNodeConfigurationCondition, AgentFlowDefinitionNodeConfigurationConditionArgs
- Conditions
List<Agent
Flow Definition Node Configuration Condition Condition> - List of conditions. See
definition.node.configuration.condition.conditionBlock for details.
- Conditions
[]Agent
Flow Definition Node Configuration Condition Condition - List of conditions. See
definition.node.configuration.condition.conditionBlock for details.
- conditions list(object)
- List of conditions. See
definition.node.configuration.condition.conditionBlock for details.
- conditions
List<Agent
Flow Definition Node Configuration Condition Condition> - List of conditions. See
definition.node.configuration.condition.conditionBlock for details.
- conditions
Agent
Flow Definition Node Configuration Condition Condition[] - List of conditions. See
definition.node.configuration.condition.conditionBlock for details.
- conditions
Sequence[Agent
Flow Definition Node Configuration Condition Condition] - List of conditions. See
definition.node.configuration.condition.conditionBlock for details.
- conditions List<Property Map>
- List of conditions. See
definition.node.configuration.condition.conditionBlock for details.
AgentFlowDefinitionNodeConfigurationConditionCondition, AgentFlowDefinitionNodeConfigurationConditionConditionArgs
- Name string
Name for the flow.
The following arguments are optional:
- Expression string
- Expression that formats the input for the node. For an explanation of how to create expressions, see Expressions in Prompt flows in Amazon Bedrock.
- Name string
Name for the flow.
The following arguments are optional:
- Expression string
- Expression that formats the input for the node. For an explanation of how to create expressions, see Expressions in Prompt flows in Amazon Bedrock.
- name string
Name for the flow.
The following arguments are optional:
- expression string
- Expression that formats the input for the node. For an explanation of how to create expressions, see Expressions in Prompt flows in Amazon Bedrock.
- name String
Name for the flow.
The following arguments are optional:
- expression String
- Expression that formats the input for the node. For an explanation of how to create expressions, see Expressions in Prompt flows in Amazon Bedrock.
- name string
Name for the flow.
The following arguments are optional:
- expression string
- Expression that formats the input for the node. For an explanation of how to create expressions, see Expressions in Prompt flows in Amazon Bedrock.
- name str
Name for the flow.
The following arguments are optional:
- expression str
- Expression that formats the input for the node. For an explanation of how to create expressions, see Expressions in Prompt flows in Amazon Bedrock.
- name String
Name for the flow.
The following arguments are optional:
- expression String
- Expression that formats the input for the node. For an explanation of how to create expressions, see Expressions in Prompt flows in Amazon Bedrock.
AgentFlowDefinitionNodeConfigurationInlineCode, AgentFlowDefinitionNodeConfigurationInlineCodeArgs
AgentFlowDefinitionNodeConfigurationKnowledgeBase, AgentFlowDefinitionNodeConfigurationKnowledgeBaseArgs
- Knowledge
Base stringId - Unique identifier of the knowledge base to query.
- Model
Id string - Unique identifier of the model or inference profile to run inference with.
- Guardrail
Configuration AgentFlow Definition Node Configuration Knowledge Base Guardrail Configuration - Configuration of a guardrail for prompt generation. See
definition.node.configuration.prompt.guardrail_configurationBlock for details. - Inference
Configuration AgentFlow Definition Node Configuration Knowledge Base Inference Configuration - Inference configurations for the prompt. See
definition.node.configuration.prompt.source_configuration.inline.inference_configurationBlock for details. - Number
Of intResults - Maximum number of results to retrieve from the knowledge base. Valid values are between 1 and 100.
- Knowledge
Base stringId - Unique identifier of the knowledge base to query.
- Model
Id string - Unique identifier of the model or inference profile to run inference with.
- Guardrail
Configuration AgentFlow Definition Node Configuration Knowledge Base Guardrail Configuration - Configuration of a guardrail for prompt generation. See
definition.node.configuration.prompt.guardrail_configurationBlock for details. - Inference
Configuration AgentFlow Definition Node Configuration Knowledge Base Inference Configuration - Inference configurations for the prompt. See
definition.node.configuration.prompt.source_configuration.inline.inference_configurationBlock for details. - Number
Of intResults - Maximum number of results to retrieve from the knowledge base. Valid values are between 1 and 100.
- knowledge_
base_ stringid - Unique identifier of the knowledge base to query.
- model_
id string - Unique identifier of the model or inference profile to run inference with.
- guardrail_
configuration object - Configuration of a guardrail for prompt generation. See
definition.node.configuration.prompt.guardrail_configurationBlock for details. - inference_
configuration object - Inference configurations for the prompt. See
definition.node.configuration.prompt.source_configuration.inline.inference_configurationBlock for details. - number_
of_ numberresults - Maximum number of results to retrieve from the knowledge base. Valid values are between 1 and 100.
- knowledge
Base StringId - Unique identifier of the knowledge base to query.
- model
Id String - Unique identifier of the model or inference profile to run inference with.
- guardrail
Configuration AgentFlow Definition Node Configuration Knowledge Base Guardrail Configuration - Configuration of a guardrail for prompt generation. See
definition.node.configuration.prompt.guardrail_configurationBlock for details. - inference
Configuration AgentFlow Definition Node Configuration Knowledge Base Inference Configuration - Inference configurations for the prompt. See
definition.node.configuration.prompt.source_configuration.inline.inference_configurationBlock for details. - number
Of IntegerResults - Maximum number of results to retrieve from the knowledge base. Valid values are between 1 and 100.
- knowledge
Base stringId - Unique identifier of the knowledge base to query.
- model
Id string - Unique identifier of the model or inference profile to run inference with.
- guardrail
Configuration AgentFlow Definition Node Configuration Knowledge Base Guardrail Configuration - Configuration of a guardrail for prompt generation. See
definition.node.configuration.prompt.guardrail_configurationBlock for details. - inference
Configuration AgentFlow Definition Node Configuration Knowledge Base Inference Configuration - Inference configurations for the prompt. See
definition.node.configuration.prompt.source_configuration.inline.inference_configurationBlock for details. - number
Of numberResults - Maximum number of results to retrieve from the knowledge base. Valid values are between 1 and 100.
- knowledge_
base_ strid - Unique identifier of the knowledge base to query.
- model_
id str - Unique identifier of the model or inference profile to run inference with.
- guardrail_
configuration AgentFlow Definition Node Configuration Knowledge Base Guardrail Configuration - Configuration of a guardrail for prompt generation. See
definition.node.configuration.prompt.guardrail_configurationBlock for details. - inference_
configuration AgentFlow Definition Node Configuration Knowledge Base Inference Configuration - Inference configurations for the prompt. See
definition.node.configuration.prompt.source_configuration.inline.inference_configurationBlock for details. - number_
of_ intresults - Maximum number of results to retrieve from the knowledge base. Valid values are between 1 and 100.
- knowledge
Base StringId - Unique identifier of the knowledge base to query.
- model
Id String - Unique identifier of the model or inference profile to run inference with.
- guardrail
Configuration Property Map - Configuration of a guardrail for prompt generation. See
definition.node.configuration.prompt.guardrail_configurationBlock for details. - inference
Configuration Property Map - Inference configurations for the prompt. See
definition.node.configuration.prompt.source_configuration.inline.inference_configurationBlock for details. - number
Of NumberResults - Maximum number of results to retrieve from the knowledge base. Valid values are between 1 and 100.
AgentFlowDefinitionNodeConfigurationKnowledgeBaseGuardrailConfiguration, AgentFlowDefinitionNodeConfigurationKnowledgeBaseGuardrailConfigurationArgs
- Guardrail
Identifier string - Unique identifier of the guardrail.
- Guardrail
Version string - Version of the guardrail.
- Guardrail
Identifier string - Unique identifier of the guardrail.
- Guardrail
Version string - Version of the guardrail.
- guardrail_
identifier string - Unique identifier of the guardrail.
- guardrail_
version string - Version of the guardrail.
- guardrail
Identifier String - Unique identifier of the guardrail.
- guardrail
Version String - Version of the guardrail.
- guardrail
Identifier string - Unique identifier of the guardrail.
- guardrail
Version string - Version of the guardrail.
- guardrail_
identifier str - Unique identifier of the guardrail.
- guardrail_
version str - Version of the guardrail.
- guardrail
Identifier String - Unique identifier of the guardrail.
- guardrail
Version String - Version of the guardrail.
AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfiguration, AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationArgs
- Text
Agent
Flow Definition Node Configuration Knowledge Base Inference Configuration Text - Message for the prompt.
- Text
Agent
Flow Definition Node Configuration Knowledge Base Inference Configuration Text - Message for the prompt.
- text
Agent
Flow Definition Node Configuration Knowledge Base Inference Configuration Text - Message for the prompt.
- text
Agent
Flow Definition Node Configuration Knowledge Base Inference Configuration Text - Message for the prompt.
- text
Agent
Flow Definition Node Configuration Knowledge Base Inference Configuration Text - Message for the prompt.
- text Property Map
- Message for the prompt.
AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationText, AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationTextArgs
- Max
Tokens int - Maximum number of tokens to return in the response.
- Stop
Sequences List<string> - List of strings that define sequences after which the model stops generating.
- Temperature double
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- Top
P double - Percentage of most-likely candidates that the model considers for the next token.
- Max
Tokens int - Maximum number of tokens to return in the response.
- Stop
Sequences []string - List of strings that define sequences after which the model stops generating.
- Temperature float64
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- Top
P float64 - Percentage of most-likely candidates that the model considers for the next token.
- max_
tokens number - Maximum number of tokens to return in the response.
- stop_
sequences list(string) - List of strings that define sequences after which the model stops generating.
- temperature number
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- top_
p number - Percentage of most-likely candidates that the model considers for the next token.
- max
Tokens Integer - Maximum number of tokens to return in the response.
- stop
Sequences List<String> - List of strings that define sequences after which the model stops generating.
- temperature Double
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- top
P Double - Percentage of most-likely candidates that the model considers for the next token.
- max
Tokens number - Maximum number of tokens to return in the response.
- stop
Sequences string[] - List of strings that define sequences after which the model stops generating.
- temperature number
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- top
P number - Percentage of most-likely candidates that the model considers for the next token.
- max_
tokens int - Maximum number of tokens to return in the response.
- stop_
sequences Sequence[str] - List of strings that define sequences after which the model stops generating.
- temperature float
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- top_
p float - Percentage of most-likely candidates that the model considers for the next token.
- max
Tokens Number - Maximum number of tokens to return in the response.
- stop
Sequences List<String> - List of strings that define sequences after which the model stops generating.
- temperature Number
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- top
P Number - Percentage of most-likely candidates that the model considers for the next token.
AgentFlowDefinitionNodeConfigurationLambdaFunction, AgentFlowDefinitionNodeConfigurationLambdaFunctionArgs
- Lambda
Arn string - ARN of the Lambda function to invoke.
- Lambda
Arn string - ARN of the Lambda function to invoke.
- lambda_
arn string - ARN of the Lambda function to invoke.
- lambda
Arn String - ARN of the Lambda function to invoke.
- lambda
Arn string - ARN of the Lambda function to invoke.
- lambda_
arn str - ARN of the Lambda function to invoke.
- lambda
Arn String - ARN of the Lambda function to invoke.
AgentFlowDefinitionNodeConfigurationLex, AgentFlowDefinitionNodeConfigurationLexArgs
- Bot
Alias stringArn - ARN of the Amazon Lex bot alias to invoke.
- Locale
Id string - Region to invoke the Amazon Lex bot in.
- Bot
Alias stringArn - ARN of the Amazon Lex bot alias to invoke.
- Locale
Id string - Region to invoke the Amazon Lex bot in.
- bot_
alias_ stringarn - ARN of the Amazon Lex bot alias to invoke.
- locale_
id string - Region to invoke the Amazon Lex bot in.
- bot
Alias StringArn - ARN of the Amazon Lex bot alias to invoke.
- locale
Id String - Region to invoke the Amazon Lex bot in.
- bot
Alias stringArn - ARN of the Amazon Lex bot alias to invoke.
- locale
Id string - Region to invoke the Amazon Lex bot in.
- bot_
alias_ strarn - ARN of the Amazon Lex bot alias to invoke.
- locale_
id str - Region to invoke the Amazon Lex bot in.
- bot
Alias StringArn - ARN of the Amazon Lex bot alias to invoke.
- locale
Id String - Region to invoke the Amazon Lex bot in.
AgentFlowDefinitionNodeConfigurationPrompt, AgentFlowDefinitionNodeConfigurationPromptArgs
- Guardrail
Configuration AgentFlow Definition Node Configuration Prompt Guardrail Configuration - Configuration of a guardrail for prompt generation. See
definition.node.configuration.prompt.guardrail_configurationBlock for details. - Source
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration - Configuration of the prompt source, either inline or from Prompt management. See
definition.node.configuration.prompt.source_configurationBlock for details.
- Guardrail
Configuration AgentFlow Definition Node Configuration Prompt Guardrail Configuration - Configuration of a guardrail for prompt generation. See
definition.node.configuration.prompt.guardrail_configurationBlock for details. - Source
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration - Configuration of the prompt source, either inline or from Prompt management. See
definition.node.configuration.prompt.source_configurationBlock for details.
- guardrail_
configuration object - Configuration of a guardrail for prompt generation. See
definition.node.configuration.prompt.guardrail_configurationBlock for details. - source_
configuration object - Configuration of the prompt source, either inline or from Prompt management. See
definition.node.configuration.prompt.source_configurationBlock for details.
- guardrail
Configuration AgentFlow Definition Node Configuration Prompt Guardrail Configuration - Configuration of a guardrail for prompt generation. See
definition.node.configuration.prompt.guardrail_configurationBlock for details. - source
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration - Configuration of the prompt source, either inline or from Prompt management. See
definition.node.configuration.prompt.source_configurationBlock for details.
- guardrail
Configuration AgentFlow Definition Node Configuration Prompt Guardrail Configuration - Configuration of a guardrail for prompt generation. See
definition.node.configuration.prompt.guardrail_configurationBlock for details. - source
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration - Configuration of the prompt source, either inline or from Prompt management. See
definition.node.configuration.prompt.source_configurationBlock for details.
- guardrail_
configuration AgentFlow Definition Node Configuration Prompt Guardrail Configuration - Configuration of a guardrail for prompt generation. See
definition.node.configuration.prompt.guardrail_configurationBlock for details. - source_
configuration AgentFlow Definition Node Configuration Prompt Source Configuration - Configuration of the prompt source, either inline or from Prompt management. See
definition.node.configuration.prompt.source_configurationBlock for details.
- guardrail
Configuration Property Map - Configuration of a guardrail for prompt generation. See
definition.node.configuration.prompt.guardrail_configurationBlock for details. - source
Configuration Property Map - Configuration of the prompt source, either inline or from Prompt management. See
definition.node.configuration.prompt.source_configurationBlock for details.
AgentFlowDefinitionNodeConfigurationPromptGuardrailConfiguration, AgentFlowDefinitionNodeConfigurationPromptGuardrailConfigurationArgs
- Guardrail
Identifier string - Unique identifier of the guardrail.
- Guardrail
Version string - Version of the guardrail.
- Guardrail
Identifier string - Unique identifier of the guardrail.
- Guardrail
Version string - Version of the guardrail.
- guardrail_
identifier string - Unique identifier of the guardrail.
- guardrail_
version string - Version of the guardrail.
- guardrail
Identifier String - Unique identifier of the guardrail.
- guardrail
Version String - Version of the guardrail.
- guardrail
Identifier string - Unique identifier of the guardrail.
- guardrail
Version string - Version of the guardrail.
- guardrail_
identifier str - Unique identifier of the guardrail.
- guardrail_
version str - Version of the guardrail.
- guardrail
Identifier String - Unique identifier of the guardrail.
- guardrail
Version String - Version of the guardrail.
AgentFlowDefinitionNodeConfigurationPromptSourceConfiguration, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationArgs
- Inline
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline - Configurations for a prompt that is defined inline. See
definition.node.configuration.prompt.source_configuration.inlineBlock for details. - Resource
Agent
Flow Definition Node Configuration Prompt Source Configuration Resource - Configurations for a prompt from Prompt management. See
definition.node.configuration.prompt.source_configuration.resourceBlock for details.
- Inline
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline - Configurations for a prompt that is defined inline. See
definition.node.configuration.prompt.source_configuration.inlineBlock for details. - Resource
Agent
Flow Definition Node Configuration Prompt Source Configuration Resource - Configurations for a prompt from Prompt management. See
definition.node.configuration.prompt.source_configuration.resourceBlock for details.
- inline object
- Configurations for a prompt that is defined inline. See
definition.node.configuration.prompt.source_configuration.inlineBlock for details. - resource object
- Configurations for a prompt from Prompt management. See
definition.node.configuration.prompt.source_configuration.resourceBlock for details.
- inline
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline - Configurations for a prompt that is defined inline. See
definition.node.configuration.prompt.source_configuration.inlineBlock for details. - resource
Agent
Flow Definition Node Configuration Prompt Source Configuration Resource - Configurations for a prompt from Prompt management. See
definition.node.configuration.prompt.source_configuration.resourceBlock for details.
- inline
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline - Configurations for a prompt that is defined inline. See
definition.node.configuration.prompt.source_configuration.inlineBlock for details. - resource
Agent
Flow Definition Node Configuration Prompt Source Configuration Resource - Configurations for a prompt from Prompt management. See
definition.node.configuration.prompt.source_configuration.resourceBlock for details.
- inline
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline - Configurations for a prompt that is defined inline. See
definition.node.configuration.prompt.source_configuration.inlineBlock for details. - resource
Agent
Flow Definition Node Configuration Prompt Source Configuration Resource - Configurations for a prompt from Prompt management. See
definition.node.configuration.prompt.source_configuration.resourceBlock for details.
- inline Property Map
- Configurations for a prompt that is defined inline. See
definition.node.configuration.prompt.source_configuration.inlineBlock for details. - resource Property Map
- Configurations for a prompt from Prompt management. See
definition.node.configuration.prompt.source_configuration.resourceBlock for details.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInline, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineArgs
- Model
Id string - Unique identifier of the model or inference profile to run inference with.
- Template
Type string - Type of prompt template. Valid values:
TEXT,CHAT. - Additional
Model stringRequest Fields - Additional fields to be included in the model request for the Prompt node.
- Inference
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Inference Configuration - Inference configurations for the prompt. See
definition.node.configuration.prompt.source_configuration.inline.inference_configurationBlock for details. - Template
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration - Prompt and variables in the prompt that can be replaced with values at runtime. See
definition.node.configuration.prompt.source_configuration.inline.template_configurationBlock for details.
- Model
Id string - Unique identifier of the model or inference profile to run inference with.
- Template
Type string - Type of prompt template. Valid values:
TEXT,CHAT. - Additional
Model stringRequest Fields - Additional fields to be included in the model request for the Prompt node.
- Inference
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Inference Configuration - Inference configurations for the prompt. See
definition.node.configuration.prompt.source_configuration.inline.inference_configurationBlock for details. - Template
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration - Prompt and variables in the prompt that can be replaced with values at runtime. See
definition.node.configuration.prompt.source_configuration.inline.template_configurationBlock for details.
- model_
id string - Unique identifier of the model or inference profile to run inference with.
- template_
type string - Type of prompt template. Valid values:
TEXT,CHAT. - additional_
model_ stringrequest_ fields - Additional fields to be included in the model request for the Prompt node.
- inference_
configuration object - Inference configurations for the prompt. See
definition.node.configuration.prompt.source_configuration.inline.inference_configurationBlock for details. - template_
configuration object - Prompt and variables in the prompt that can be replaced with values at runtime. See
definition.node.configuration.prompt.source_configuration.inline.template_configurationBlock for details.
- model
Id String - Unique identifier of the model or inference profile to run inference with.
- template
Type String - Type of prompt template. Valid values:
TEXT,CHAT. - additional
Model StringRequest Fields - Additional fields to be included in the model request for the Prompt node.
- inference
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Inference Configuration - Inference configurations for the prompt. See
definition.node.configuration.prompt.source_configuration.inline.inference_configurationBlock for details. - template
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration - Prompt and variables in the prompt that can be replaced with values at runtime. See
definition.node.configuration.prompt.source_configuration.inline.template_configurationBlock for details.
- model
Id string - Unique identifier of the model or inference profile to run inference with.
- template
Type string - Type of prompt template. Valid values:
TEXT,CHAT. - additional
Model stringRequest Fields - Additional fields to be included in the model request for the Prompt node.
- inference
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Inference Configuration - Inference configurations for the prompt. See
definition.node.configuration.prompt.source_configuration.inline.inference_configurationBlock for details. - template
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration - Prompt and variables in the prompt that can be replaced with values at runtime. See
definition.node.configuration.prompt.source_configuration.inline.template_configurationBlock for details.
- model_
id str - Unique identifier of the model or inference profile to run inference with.
- template_
type str - Type of prompt template. Valid values:
TEXT,CHAT. - additional_
model_ strrequest_ fields - Additional fields to be included in the model request for the Prompt node.
- inference_
configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Inference Configuration - Inference configurations for the prompt. See
definition.node.configuration.prompt.source_configuration.inline.inference_configurationBlock for details. - template_
configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration - Prompt and variables in the prompt that can be replaced with values at runtime. See
definition.node.configuration.prompt.source_configuration.inline.template_configurationBlock for details.
- model
Id String - Unique identifier of the model or inference profile to run inference with.
- template
Type String - Type of prompt template. Valid values:
TEXT,CHAT. - additional
Model StringRequest Fields - Additional fields to be included in the model request for the Prompt node.
- inference
Configuration Property Map - Inference configurations for the prompt. See
definition.node.configuration.prompt.source_configuration.inline.inference_configurationBlock for details. - template
Configuration Property Map - Prompt and variables in the prompt that can be replaced with values at runtime. See
definition.node.configuration.prompt.source_configuration.inline.template_configurationBlock for details.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfiguration, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfigurationArgs
- text Property Map
- Message for the prompt.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfigurationText, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfigurationTextArgs
- Max
Tokens int - Maximum number of tokens to return in the response.
- Stop
Sequences List<string> - List of strings that define sequences after which the model stops generating.
- Temperature double
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- Top
P double - Percentage of most-likely candidates that the model considers for the next token.
- Max
Tokens int - Maximum number of tokens to return in the response.
- Stop
Sequences []string - List of strings that define sequences after which the model stops generating.
- Temperature float64
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- Top
P float64 - Percentage of most-likely candidates that the model considers for the next token.
- max_
tokens number - Maximum number of tokens to return in the response.
- stop_
sequences list(string) - List of strings that define sequences after which the model stops generating.
- temperature number
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- top_
p number - Percentage of most-likely candidates that the model considers for the next token.
- max
Tokens Integer - Maximum number of tokens to return in the response.
- stop
Sequences List<String> - List of strings that define sequences after which the model stops generating.
- temperature Double
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- top
P Double - Percentage of most-likely candidates that the model considers for the next token.
- max
Tokens number - Maximum number of tokens to return in the response.
- stop
Sequences string[] - List of strings that define sequences after which the model stops generating.
- temperature number
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- top
P number - Percentage of most-likely candidates that the model considers for the next token.
- max_
tokens int - Maximum number of tokens to return in the response.
- stop_
sequences Sequence[str] - List of strings that define sequences after which the model stops generating.
- temperature float
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- top_
p float - Percentage of most-likely candidates that the model considers for the next token.
- max
Tokens Number - Maximum number of tokens to return in the response.
- stop
Sequences List<String> - List of strings that define sequences after which the model stops generating.
- temperature Number
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- top
P Number - Percentage of most-likely candidates that the model considers for the next token.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfiguration, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationArgs
- Chat
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat - Configurations to use the prompt in a conversational format. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chatBlock for details. - Text
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Text - Message for the prompt.
- Chat
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat - Configurations to use the prompt in a conversational format. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chatBlock for details. - Text
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Text - Message for the prompt.
- chat
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat - Configurations to use the prompt in a conversational format. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chatBlock for details. - text
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Text - Message for the prompt.
- chat
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat - Configurations to use the prompt in a conversational format. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chatBlock for details. - text
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Text - Message for the prompt.
- chat
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat - Configurations to use the prompt in a conversational format. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chatBlock for details. - text
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Text - Message for the prompt.
- chat Property Map
- Configurations to use the prompt in a conversational format. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chatBlock for details. - text Property Map
- Message for the prompt.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChat, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatArgs
- Messages
List<Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Message> - Messages in the chat for the prompt. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.messageBlock for details. - Input
Variables List<AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Input Variable> - Variables in the prompt template. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variableBlock for details. - Systems
List<Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat System> - System prompts that provide context to the model or describe how it should behave. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.systemBlock for details. - Tool
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration - Configuration information for the tools that the model can use when generating a response. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configurationBlock for details.
- Messages
[]Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Message - Messages in the chat for the prompt. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.messageBlock for details. - Input
Variables []AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Input Variable - Variables in the prompt template. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variableBlock for details. - Systems
[]Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat System - System prompts that provide context to the model or describe how it should behave. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.systemBlock for details. - Tool
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration - Configuration information for the tools that the model can use when generating a response. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configurationBlock for details.
- messages list(object)
- Messages in the chat for the prompt. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.messageBlock for details. - input_
variables list(object) - Variables in the prompt template. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variableBlock for details. - systems list(object)
- System prompts that provide context to the model or describe how it should behave. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.systemBlock for details. - tool_
configuration object - Configuration information for the tools that the model can use when generating a response. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configurationBlock for details.
- messages
List<Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Message> - Messages in the chat for the prompt. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.messageBlock for details. - input
Variables List<AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Input Variable> - Variables in the prompt template. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variableBlock for details. - systems
List<Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat System> - System prompts that provide context to the model or describe how it should behave. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.systemBlock for details. - tool
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration - Configuration information for the tools that the model can use when generating a response. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configurationBlock for details.
- messages
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Message[] - Messages in the chat for the prompt. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.messageBlock for details. - input
Variables AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Input Variable[] - Variables in the prompt template. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variableBlock for details. - systems
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat System[] - System prompts that provide context to the model or describe how it should behave. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.systemBlock for details. - tool
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration - Configuration information for the tools that the model can use when generating a response. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configurationBlock for details.
- messages
Sequence[Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Message] - Messages in the chat for the prompt. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.messageBlock for details. - input_
variables Sequence[AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Input Variable] - Variables in the prompt template. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variableBlock for details. - systems
Sequence[Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat System] - System prompts that provide context to the model or describe how it should behave. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.systemBlock for details. - tool_
configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration - Configuration information for the tools that the model can use when generating a response. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configurationBlock for details.
- messages List<Property Map>
- Messages in the chat for the prompt. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.messageBlock for details. - input
Variables List<Property Map> - Variables in the prompt template. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variableBlock for details. - systems List<Property Map>
- System prompts that provide context to the model or describe how it should behave. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.systemBlock for details. - tool
Configuration Property Map - Configuration information for the tools that the model can use when generating a response. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configurationBlock for details.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatInputVariable, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatInputVariableArgs
- Name string
Name for the flow.
The following arguments are optional:
- Name string
Name for the flow.
The following arguments are optional:
- name string
Name for the flow.
The following arguments are optional:
- name String
Name for the flow.
The following arguments are optional:
- name string
Name for the flow.
The following arguments are optional:
- name str
Name for the flow.
The following arguments are optional:
- name String
Name for the flow.
The following arguments are optional:
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessage, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageArgs
- Role string
- Role that the message belongs to.
- Content
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Message Content - Content for the message you pass to, or receive from, a model. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.message.contentBlock for details.
- Role string
- Role that the message belongs to.
- Content
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Message Content - Content for the message you pass to, or receive from, a model. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.message.contentBlock for details.
- role String
- Role that the message belongs to.
- content
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Message Content - Content for the message you pass to, or receive from, a model. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.message.contentBlock for details.
- role string
- Role that the message belongs to.
- content
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Message Content - Content for the message you pass to, or receive from, a model. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.message.contentBlock for details.
- role str
- Role that the message belongs to.
- content
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Message Content - Content for the message you pass to, or receive from, a model. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.message.contentBlock for details.
- role String
- Role that the message belongs to.
- content Property Map
- Content for the message you pass to, or receive from, a model. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.message.contentBlock for details.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContent, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContentArgs
- Cache
Point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Message Content Cache Point - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - Text string
- Message for the prompt.
- Cache
Point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Message Content Cache Point - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - Text string
- Message for the prompt.
- cache_
point object - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - text string
- Message for the prompt.
- cache
Point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Message Content Cache Point - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - text String
- Message for the prompt.
- cache
Point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Message Content Cache Point - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - text string
- Message for the prompt.
- cache_
point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Message Content Cache Point - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - text str
- Message for the prompt.
- cache
Point Property Map - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - text String
- Message for the prompt.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContentCachePoint, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContentCachePointArgs
- Type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- Type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- type String
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- type str
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- type String
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatSystem, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatSystemArgs
- Cache
Point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat System Cache Point - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - Text string
- Message for the prompt.
- Cache
Point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat System Cache Point - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - Text string
- Message for the prompt.
- cache_
point object - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - text string
- Message for the prompt.
- cache
Point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat System Cache Point - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - text String
- Message for the prompt.
- cache
Point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat System Cache Point - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - text string
- Message for the prompt.
- cache_
point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat System Cache Point - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - text str
- Message for the prompt.
- cache
Point Property Map - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - text String
- Message for the prompt.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatSystemCachePoint, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatSystemCachePointArgs
- Type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- Type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- type String
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- type str
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- type String
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfiguration, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationArgs
- Tool
Choice AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice - Which tools the model should request when invoked. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choiceBlock for details. - Tools
List<Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool> - Specific tool that the model must request. No text is generated but the results of tool use are sent back to the model to help generate a response. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice.toolBlock for details.
- Tool
Choice AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice - Which tools the model should request when invoked. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choiceBlock for details. - Tools
[]Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool - Specific tool that the model must request. No text is generated but the results of tool use are sent back to the model to help generate a response. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice.toolBlock for details.
- tool_
choice object - Which tools the model should request when invoked. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choiceBlock for details. - tools list(object)
- Specific tool that the model must request. No text is generated but the results of tool use are sent back to the model to help generate a response. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice.toolBlock for details.
- tool
Choice AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice - Which tools the model should request when invoked. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choiceBlock for details. - tools
List<Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool> - Specific tool that the model must request. No text is generated but the results of tool use are sent back to the model to help generate a response. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice.toolBlock for details.
- tool
Choice AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice - Which tools the model should request when invoked. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choiceBlock for details. - tools
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool[] - Specific tool that the model must request. No text is generated but the results of tool use are sent back to the model to help generate a response. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice.toolBlock for details.
- tool_
choice AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice - Which tools the model should request when invoked. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choiceBlock for details. - tools
Sequence[Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool] - Specific tool that the model must request. No text is generated but the results of tool use are sent back to the model to help generate a response. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice.toolBlock for details.
- tool
Choice Property Map - Which tools the model should request when invoked. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choiceBlock for details. - tools List<Property Map>
- Specific tool that the model must request. No text is generated but the results of tool use are sent back to the model to help generate a response. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice.toolBlock for details.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationTool, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolArgs
- Cache
Point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Cache Point - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - Tool
Spec AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Tool Spec - Specification for the tool. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_specBlock for details.
- Cache
Point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Cache Point - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - Tool
Spec AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Tool Spec - Specification for the tool. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_specBlock for details.
- cache_
point object - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - tool_
spec object - Specification for the tool. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_specBlock for details.
- cache
Point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Cache Point - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - tool
Spec AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Tool Spec - Specification for the tool. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_specBlock for details.
- cache
Point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Cache Point - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - tool
Spec AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Tool Spec - Specification for the tool. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_specBlock for details.
- cache_
point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Cache Point - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - tool_
spec AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Tool Spec - Specification for the tool. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_specBlock for details.
- cache
Point Property Map - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - tool
Spec Property Map - Specification for the tool. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_specBlock for details.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolCachePoint, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolCachePointArgs
- Type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- Type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- type String
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- type str
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- type String
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoice, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceArgs
- Any
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Any - Tools, at least one of which must be requested by the model. No text is generated but the results of tool use are sent back to the model to help generate a response. This block has no arguments.
- Auto
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Auto - Tools. The model automatically decides whether to call a tool or to generate text instead. This block has no arguments.
- Tool
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Tool - Specific tool that the model must request. No text is generated but the results of tool use are sent back to the model to help generate a response. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice.toolBlock for details.
- Any
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Any - Tools, at least one of which must be requested by the model. No text is generated but the results of tool use are sent back to the model to help generate a response. This block has no arguments.
- Auto
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Auto - Tools. The model automatically decides whether to call a tool or to generate text instead. This block has no arguments.
- Tool
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Tool - Specific tool that the model must request. No text is generated but the results of tool use are sent back to the model to help generate a response. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice.toolBlock for details.
- any object
- Tools, at least one of which must be requested by the model. No text is generated but the results of tool use are sent back to the model to help generate a response. This block has no arguments.
- auto object
- Tools. The model automatically decides whether to call a tool or to generate text instead. This block has no arguments.
- tool object
- Specific tool that the model must request. No text is generated but the results of tool use are sent back to the model to help generate a response. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice.toolBlock for details.
- any
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Any - Tools, at least one of which must be requested by the model. No text is generated but the results of tool use are sent back to the model to help generate a response. This block has no arguments.
- auto
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Auto - Tools. The model automatically decides whether to call a tool or to generate text instead. This block has no arguments.
- tool
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Tool - Specific tool that the model must request. No text is generated but the results of tool use are sent back to the model to help generate a response. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice.toolBlock for details.
- any
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Any - Tools, at least one of which must be requested by the model. No text is generated but the results of tool use are sent back to the model to help generate a response. This block has no arguments.
- auto
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Auto - Tools. The model automatically decides whether to call a tool or to generate text instead. This block has no arguments.
- tool
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Tool - Specific tool that the model must request. No text is generated but the results of tool use are sent back to the model to help generate a response. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice.toolBlock for details.
- any
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Any - Tools, at least one of which must be requested by the model. No text is generated but the results of tool use are sent back to the model to help generate a response. This block has no arguments.
- auto
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Auto - Tools. The model automatically decides whether to call a tool or to generate text instead. This block has no arguments.
- tool
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Tool - Specific tool that the model must request. No text is generated but the results of tool use are sent back to the model to help generate a response. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice.toolBlock for details.
- any Property Map
- Tools, at least one of which must be requested by the model. No text is generated but the results of tool use are sent back to the model to help generate a response. This block has no arguments.
- auto Property Map
- Tools. The model automatically decides whether to call a tool or to generate text instead. This block has no arguments.
- tool Property Map
- Specific tool that the model must request. No text is generated but the results of tool use are sent back to the model to help generate a response. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice.toolBlock for details.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceTool, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceToolArgs
- Name string
Name for the flow.
The following arguments are optional:
- Name string
Name for the flow.
The following arguments are optional:
- name string
Name for the flow.
The following arguments are optional:
- name String
Name for the flow.
The following arguments are optional:
- name string
Name for the flow.
The following arguments are optional:
- name str
Name for the flow.
The following arguments are optional:
- name String
Name for the flow.
The following arguments are optional:
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolToolSpec, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolToolSpecArgs
- Name string
Name for the flow.
The following arguments are optional:
- Description string
- Description for the flow.
- Input
Schema AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Tool Spec Input Schema - Input schema of the tool. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_spec.input_schemaBlock for details.
- Name string
Name for the flow.
The following arguments are optional:
- Description string
- Description for the flow.
- Input
Schema AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Tool Spec Input Schema - Input schema of the tool. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_spec.input_schemaBlock for details.
- name string
Name for the flow.
The following arguments are optional:
- description string
- Description for the flow.
- input_
schema object - Input schema of the tool. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_spec.input_schemaBlock for details.
- name String
Name for the flow.
The following arguments are optional:
- description String
- Description for the flow.
- input
Schema AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Tool Spec Input Schema - Input schema of the tool. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_spec.input_schemaBlock for details.
- name string
Name for the flow.
The following arguments are optional:
- description string
- Description for the flow.
- input
Schema AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Tool Spec Input Schema - Input schema of the tool. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_spec.input_schemaBlock for details.
- name str
Name for the flow.
The following arguments are optional:
- description str
- Description for the flow.
- input_
schema AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Tool Spec Input Schema - Input schema of the tool. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_spec.input_schemaBlock for details.
- name String
Name for the flow.
The following arguments are optional:
- description String
- Description for the flow.
- input
Schema Property Map - Input schema of the tool. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_spec.input_schemaBlock for details.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolToolSpecInputSchema, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolToolSpecInputSchemaArgs
- Json string
- JSON object defining the input schema for the tool.
- Json string
- JSON object defining the input schema for the tool.
- json string
- JSON object defining the input schema for the tool.
- json String
- JSON object defining the input schema for the tool.
- json string
- JSON object defining the input schema for the tool.
- json str
- JSON object defining the input schema for the tool.
- json String
- JSON object defining the input schema for the tool.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationText, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextArgs
- Text string
- Message for the prompt.
- Cache
Point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Text Cache Point - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - Input
Variables List<AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Text Input Variable> - Variables in the prompt template. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variableBlock for details.
- Text string
- Message for the prompt.
- Cache
Point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Text Cache Point - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - Input
Variables []AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Text Input Variable - Variables in the prompt template. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variableBlock for details.
- text string
- Message for the prompt.
- cache_
point object - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - input_
variables list(object) - Variables in the prompt template. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variableBlock for details.
- text String
- Message for the prompt.
- cache
Point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Text Cache Point - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - input
Variables List<AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Text Input Variable> - Variables in the prompt template. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variableBlock for details.
- text string
- Message for the prompt.
- cache
Point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Text Cache Point - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - input
Variables AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Text Input Variable[] - Variables in the prompt template. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variableBlock for details.
- text str
- Message for the prompt.
- cache_
point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Text Cache Point - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - input_
variables Sequence[AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Text Input Variable] - Variables in the prompt template. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variableBlock for details.
- text String
- Message for the prompt.
- cache
Point Property Map - Cache checkpoint within a template configuration. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_pointBlock for details. - input
Variables List<Property Map> - Variables in the prompt template. See
definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variableBlock for details.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextCachePoint, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextCachePointArgs
- Type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- Type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- type String
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- type str
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- type String
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextInputVariable, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextInputVariableArgs
- Name string
Name for the flow.
The following arguments are optional:
- Name string
Name for the flow.
The following arguments are optional:
- name string
Name for the flow.
The following arguments are optional:
- name String
Name for the flow.
The following arguments are optional:
- name string
Name for the flow.
The following arguments are optional:
- name str
Name for the flow.
The following arguments are optional:
- name String
Name for the flow.
The following arguments are optional:
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationResource, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationResourceArgs
- Prompt
Arn string - ARN of the prompt from Prompt management.
- Prompt
Arn string - ARN of the prompt from Prompt management.
- prompt_
arn string - ARN of the prompt from Prompt management.
- prompt
Arn String - ARN of the prompt from Prompt management.
- prompt
Arn string - ARN of the prompt from Prompt management.
- prompt_
arn str - ARN of the prompt from Prompt management.
- prompt
Arn String - ARN of the prompt from Prompt management.
AgentFlowDefinitionNodeConfigurationRetrieval, AgentFlowDefinitionNodeConfigurationRetrievalArgs
- Service
Configuration AgentFlow Definition Node Configuration Retrieval Service Configuration - Configurations for the service to use for storing the input into the node. See
definition.node.configuration.storage.service_configurationBlock for details.
- Service
Configuration AgentFlow Definition Node Configuration Retrieval Service Configuration - Configurations for the service to use for storing the input into the node. See
definition.node.configuration.storage.service_configurationBlock for details.
- service_
configuration object - Configurations for the service to use for storing the input into the node. See
definition.node.configuration.storage.service_configurationBlock for details.
- service
Configuration AgentFlow Definition Node Configuration Retrieval Service Configuration - Configurations for the service to use for storing the input into the node. See
definition.node.configuration.storage.service_configurationBlock for details.
- service
Configuration AgentFlow Definition Node Configuration Retrieval Service Configuration - Configurations for the service to use for storing the input into the node. See
definition.node.configuration.storage.service_configurationBlock for details.
- service_
configuration AgentFlow Definition Node Configuration Retrieval Service Configuration - Configurations for the service to use for storing the input into the node. See
definition.node.configuration.storage.service_configurationBlock for details.
- service
Configuration Property Map - Configurations for the service to use for storing the input into the node. See
definition.node.configuration.storage.service_configurationBlock for details.
AgentFlowDefinitionNodeConfigurationRetrievalServiceConfiguration, AgentFlowDefinitionNodeConfigurationRetrievalServiceConfigurationArgs
- S3
Agent
Flow Definition Node Configuration Retrieval Service Configuration S3 - Configurations for the Amazon S3 location in which to store the input into the node. See
definition.node.configuration.storage.service_configuration.s3Block for details.
- S3
Agent
Flow Definition Node Configuration Retrieval Service Configuration S3 - Configurations for the Amazon S3 location in which to store the input into the node. See
definition.node.configuration.storage.service_configuration.s3Block for details.
- s3
Agent
Flow Definition Node Configuration Retrieval Service Configuration S3 - Configurations for the Amazon S3 location in which to store the input into the node. See
definition.node.configuration.storage.service_configuration.s3Block for details.
- s3
Agent
Flow Definition Node Configuration Retrieval Service Configuration S3 - Configurations for the Amazon S3 location in which to store the input into the node. See
definition.node.configuration.storage.service_configuration.s3Block for details.
- s3
Agent
Flow Definition Node Configuration Retrieval Service Configuration S3 - Configurations for the Amazon S3 location in which to store the input into the node. See
definition.node.configuration.storage.service_configuration.s3Block for details.
- s3 Property Map
- Configurations for the Amazon S3 location in which to store the input into the node. See
definition.node.configuration.storage.service_configuration.s3Block for details.
AgentFlowDefinitionNodeConfigurationRetrievalServiceConfigurationS3, AgentFlowDefinitionNodeConfigurationRetrievalServiceConfigurationS3Args
- Bucket
Name string - Name of the Amazon S3 bucket in which to store the input into the node.
- Bucket
Name string - Name of the Amazon S3 bucket in which to store the input into the node.
- bucket_
name string - Name of the Amazon S3 bucket in which to store the input into the node.
- bucket
Name String - Name of the Amazon S3 bucket in which to store the input into the node.
- bucket
Name string - Name of the Amazon S3 bucket in which to store the input into the node.
- bucket_
name str - Name of the Amazon S3 bucket in which to store the input into the node.
- bucket
Name String - Name of the Amazon S3 bucket in which to store the input into the node.
AgentFlowDefinitionNodeConfigurationStorage, AgentFlowDefinitionNodeConfigurationStorageArgs
- Service
Configuration AgentFlow Definition Node Configuration Storage Service Configuration - Configurations for the service to use for storing the input into the node. See
definition.node.configuration.storage.service_configurationBlock for details.
- Service
Configuration AgentFlow Definition Node Configuration Storage Service Configuration - Configurations for the service to use for storing the input into the node. See
definition.node.configuration.storage.service_configurationBlock for details.
- service_
configuration object - Configurations for the service to use for storing the input into the node. See
definition.node.configuration.storage.service_configurationBlock for details.
- service
Configuration AgentFlow Definition Node Configuration Storage Service Configuration - Configurations for the service to use for storing the input into the node. See
definition.node.configuration.storage.service_configurationBlock for details.
- service
Configuration AgentFlow Definition Node Configuration Storage Service Configuration - Configurations for the service to use for storing the input into the node. See
definition.node.configuration.storage.service_configurationBlock for details.
- service_
configuration AgentFlow Definition Node Configuration Storage Service Configuration - Configurations for the service to use for storing the input into the node. See
definition.node.configuration.storage.service_configurationBlock for details.
- service
Configuration Property Map - Configurations for the service to use for storing the input into the node. See
definition.node.configuration.storage.service_configurationBlock for details.
AgentFlowDefinitionNodeConfigurationStorageServiceConfiguration, AgentFlowDefinitionNodeConfigurationStorageServiceConfigurationArgs
- S3
Agent
Flow Definition Node Configuration Storage Service Configuration S3 - Configurations for the Amazon S3 location in which to store the input into the node. See
definition.node.configuration.storage.service_configuration.s3Block for details.
- S3
Agent
Flow Definition Node Configuration Storage Service Configuration S3 - Configurations for the Amazon S3 location in which to store the input into the node. See
definition.node.configuration.storage.service_configuration.s3Block for details.
- s3
Agent
Flow Definition Node Configuration Storage Service Configuration S3 - Configurations for the Amazon S3 location in which to store the input into the node. See
definition.node.configuration.storage.service_configuration.s3Block for details.
- s3
Agent
Flow Definition Node Configuration Storage Service Configuration S3 - Configurations for the Amazon S3 location in which to store the input into the node. See
definition.node.configuration.storage.service_configuration.s3Block for details.
- s3
Agent
Flow Definition Node Configuration Storage Service Configuration S3 - Configurations for the Amazon S3 location in which to store the input into the node. See
definition.node.configuration.storage.service_configuration.s3Block for details.
- s3 Property Map
- Configurations for the Amazon S3 location in which to store the input into the node. See
definition.node.configuration.storage.service_configuration.s3Block for details.
AgentFlowDefinitionNodeConfigurationStorageServiceConfigurationS3, AgentFlowDefinitionNodeConfigurationStorageServiceConfigurationS3Args
- Bucket
Name string - Name of the Amazon S3 bucket in which to store the input into the node.
- Bucket
Name string - Name of the Amazon S3 bucket in which to store the input into the node.
- bucket_
name string - Name of the Amazon S3 bucket in which to store the input into the node.
- bucket
Name String - Name of the Amazon S3 bucket in which to store the input into the node.
- bucket
Name string - Name of the Amazon S3 bucket in which to store the input into the node.
- bucket_
name str - Name of the Amazon S3 bucket in which to store the input into the node.
- bucket
Name String - Name of the Amazon S3 bucket in which to store the input into the node.
AgentFlowDefinitionNodeInput, AgentFlowDefinitionNodeInputArgs
- Expression string
- Expression that formats the input for the node. For an explanation of how to create expressions, see Expressions in Prompt flows in Amazon Bedrock.
- Name string
Name for the flow.
The following arguments are optional:
- Type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- Category string
- How input data flows between iterations in a DoWhile loop.
- Expression string
- Expression that formats the input for the node. For an explanation of how to create expressions, see Expressions in Prompt flows in Amazon Bedrock.
- Name string
Name for the flow.
The following arguments are optional:
- Type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- Category string
- How input data flows between iterations in a DoWhile loop.
- expression string
- Expression that formats the input for the node. For an explanation of how to create expressions, see Expressions in Prompt flows in Amazon Bedrock.
- name string
Name for the flow.
The following arguments are optional:
- type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- category string
- How input data flows between iterations in a DoWhile loop.
- expression String
- Expression that formats the input for the node. For an explanation of how to create expressions, see Expressions in Prompt flows in Amazon Bedrock.
- name String
Name for the flow.
The following arguments are optional:
- type String
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- category String
- How input data flows between iterations in a DoWhile loop.
- expression string
- Expression that formats the input for the node. For an explanation of how to create expressions, see Expressions in Prompt flows in Amazon Bedrock.
- name string
Name for the flow.
The following arguments are optional:
- type string
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- category string
- How input data flows between iterations in a DoWhile loop.
- expression str
- Expression that formats the input for the node. For an explanation of how to create expressions, see Expressions in Prompt flows in Amazon Bedrock.
- name str
Name for the flow.
The following arguments are optional:
- type str
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- category str
- How input data flows between iterations in a DoWhile loop.
- expression String
- Expression that formats the input for the node. For an explanation of how to create expressions, see Expressions in Prompt flows in Amazon Bedrock.
- name String
Name for the flow.
The following arguments are optional:
- type String
- Data type of the output. If the output doesn't match this type at runtime, a validation error is thrown.
- category String
- How input data flows between iterations in a DoWhile loop.
AgentFlowDefinitionNodeOutput, AgentFlowDefinitionNodeOutputArgs
AgentFlowTimeouts, AgentFlowTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
Using pulumi import, import Bedrock Agents Flow using the id. For example:
$ pulumi import aws:bedrock/agentFlow:AgentFlow example ABCDEFGHIJ
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
published on Tuesday, Sep 22, 2026 by Pulumi