1. Registry
  2. Packages
  3. AWS
  4. API Docs
  5. bedrock
  6. AgentFlow
Viewing docs for AWS v7.48.0
published on Tuesday, Sep 22, 2026 by Pulumi
aws logo aws logo
Viewing docs for AWS v7.48.0
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:

    ExecutionRoleArn string
    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.
    CustomerEncryptionKeyArn string
    ARN of the KMS key to encrypt the flow.
    Definition AgentFlowDefinition
    Nodes and connections between nodes in the flow. See definition Block 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.
    Tags Dictionary<string, string>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    Timeouts AgentFlowTimeouts
    ExecutionRoleArn string
    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.
    CustomerEncryptionKeyArn string
    ARN of the KMS key to encrypt the flow.
    Definition AgentFlowDefinitionArgs
    Nodes and connections between nodes in the flow. See definition Block 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.
    Tags map[string]string
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    Timeouts AgentFlowTimeoutsArgs
    execution_role_arn string
    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_key_arn string
    ARN of the KMS key to encrypt the flow.
    definition object
    Nodes and connections between nodes in the flow. See definition Block 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.
    tags map(string)
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts object
    executionRoleArn String
    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.
    customerEncryptionKeyArn String
    ARN of the KMS key to encrypt the flow.
    definition AgentFlowDefinition
    Nodes and connections between nodes in the flow. See definition Block 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.
    tags Map<String,String>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts AgentFlowTimeouts
    executionRoleArn string
    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.
    customerEncryptionKeyArn string
    ARN of the KMS key to encrypt the flow.
    definition AgentFlowDefinition
    Nodes and connections between nodes in the flow. See definition Block 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.
    tags {[key: string]: string}
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts AgentFlowTimeouts
    execution_role_arn str
    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_key_arn str
    ARN of the KMS key to encrypt the flow.
    definition AgentFlowDefinitionArgs
    Nodes and connections between nodes in the flow. See definition Block 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.
    tags Mapping[str, str]
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts AgentFlowTimeoutsArgs
    executionRoleArn String
    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.
    customerEncryptionKeyArn String
    ARN of the KMS key to encrypt the flow.
    definition Property Map
    Nodes and connections between nodes in the flow. See definition Block 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.
    tags Map<String>
    Key-value map of resource tags. If configured with a provider defaultTags configuration 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.
    CreatedAt 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.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    UpdatedAt string
    Time at which the flow was last updated.
    Version string
    Version of the flow.
    Arn string
    ARN of the flow.
    CreatedAt 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.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    UpdatedAt 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.
    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    updated_at string
    Time at which the flow was last updated.
    version string
    Version of the flow.
    arn String
    ARN of the flow.
    createdAt 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.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    updatedAt String
    Time at which the flow was last updated.
    version String
    Version of the flow.
    arn string
    ARN of the flow.
    createdAt 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.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    updatedAt 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.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    updated_at str
    Time at which the flow was last updated.
    version str
    Version of the flow.
    arn String
    ARN of the flow.
    createdAt 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.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    updatedAt 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) -> AgentFlow
    func 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.
    The following state arguments are supported:
    Arn string
    ARN of the flow.
    CreatedAt string
    Time at which the flow was created.
    CustomerEncryptionKeyArn string
    ARN of the KMS key to encrypt the flow.
    Definition AgentFlowDefinition
    Nodes and connections between nodes in the flow. See definition Block for details.
    Description string
    Description for the flow.
    ExecutionRoleArn string
    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.
    Tags Dictionary<string, string>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Timeouts AgentFlowTimeouts
    UpdatedAt string
    Time at which the flow was last updated.
    Version string
    Version of the flow.
    Arn string
    ARN of the flow.
    CreatedAt string
    Time at which the flow was created.
    CustomerEncryptionKeyArn string
    ARN of the KMS key to encrypt the flow.
    Definition AgentFlowDefinitionArgs
    Nodes and connections between nodes in the flow. See definition Block for details.
    Description string
    Description for the flow.
    ExecutionRoleArn string
    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.
    Tags map[string]string
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Timeouts AgentFlowTimeoutsArgs
    UpdatedAt 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_key_arn string
    ARN of the KMS key to encrypt the flow.
    definition object
    Nodes and connections between nodes in the flow. See definition Block for details.
    description string
    Description for the flow.
    execution_role_arn string
    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.
    tags map(string)
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration 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.
    createdAt String
    Time at which the flow was created.
    customerEncryptionKeyArn String
    ARN of the KMS key to encrypt the flow.
    definition AgentFlowDefinition
    Nodes and connections between nodes in the flow. See definition Block for details.
    description String
    Description for the flow.
    executionRoleArn String
    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.
    tags Map<String,String>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    timeouts AgentFlowTimeouts
    updatedAt String
    Time at which the flow was last updated.
    version String
    Version of the flow.
    arn string
    ARN of the flow.
    createdAt string
    Time at which the flow was created.
    customerEncryptionKeyArn string
    ARN of the KMS key to encrypt the flow.
    definition AgentFlowDefinition
    Nodes and connections between nodes in the flow. See definition Block for details.
    description string
    Description for the flow.
    executionRoleArn string
    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.
    tags {[key: string]: string}
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    timeouts AgentFlowTimeouts
    updatedAt 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_key_arn str
    ARN of the KMS key to encrypt the flow.
    definition AgentFlowDefinitionArgs
    Nodes and connections between nodes in the flow. See definition Block for details.
    description str
    Description for the flow.
    execution_role_arn str
    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.
    tags Mapping[str, str]
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    timeouts AgentFlowTimeoutsArgs
    updated_at str
    Time at which the flow was last updated.
    version str
    Version of the flow.
    arn String
    ARN of the flow.
    createdAt String
    Time at which the flow was created.
    customerEncryptionKeyArn String
    ARN of the KMS key to encrypt the flow.
    definition Property Map
    Nodes and connections between nodes in the flow. See definition Block for details.
    description String
    Description for the flow.
    executionRoleArn String
    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.
    tags Map<String>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    timeouts Property Map
    updatedAt String
    Time at which the flow was last updated.
    version String
    Version of the flow.

    Supporting Types

    AgentFlowDefinition, AgentFlowDefinitionArgs

    Connections List<AgentFlowDefinitionConnection>
    List of connection definitions in the flow. See definition.connection Block for details.
    Nodes List<AgentFlowDefinitionNode>
    List of node definitions in the flow. See definition.node Block for details.
    Connections []AgentFlowDefinitionConnection
    List of connection definitions in the flow. See definition.connection Block for details.
    Nodes []AgentFlowDefinitionNode
    List of node definitions in the flow. See definition.node Block for details.
    connections list(object)
    List of connection definitions in the flow. See definition.connection Block for details.
    nodes list(object)
    List of node definitions in the flow. See definition.node Block for details.
    connections List<AgentFlowDefinitionConnection>
    List of connection definitions in the flow. See definition.connection Block for details.
    nodes List<AgentFlowDefinitionNode>
    List of node definitions in the flow. See definition.node Block for details.
    connections AgentFlowDefinitionConnection[]
    List of connection definitions in the flow. See definition.connection Block for details.
    nodes AgentFlowDefinitionNode[]
    List of node definitions in the flow. See definition.node Block for details.
    connections Sequence[AgentFlowDefinitionConnection]
    List of connection definitions in the flow. See definition.connection Block for details.
    nodes Sequence[AgentFlowDefinitionNode]
    List of node definitions in the flow. See definition.node Block for details.
    connections List<Property Map>
    List of connection definitions in the flow. See definition.connection Block for details.
    nodes List<Property Map>
    List of node definitions in the flow. See definition.node Block 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 AgentFlowDefinitionConnectionConfiguration
    Configurations for the node. See definition.node.configuration Block 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 AgentFlowDefinitionConnectionConfiguration
    Configurations for the node. See definition.node.configuration Block 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.configuration Block 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 AgentFlowDefinitionConnectionConfiguration
    Configurations for the node. See definition.node.configuration Block 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 AgentFlowDefinitionConnectionConfiguration
    Configurations for the node. See definition.node.configuration Block 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 AgentFlowDefinitionConnectionConfiguration
    Configurations for the node. See definition.node.configuration Block 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.configuration Block for details.

    AgentFlowDefinitionConnectionConfiguration, AgentFlowDefinitionConnectionConfigurationArgs

    Conditional AgentFlowDefinitionConnectionConfigurationConditional
    Configuration of a connection originating from a Condition node. See definition.connection.configuration.conditional Block for details.
    Data AgentFlowDefinitionConnectionConfigurationData
    Configuration of a connection originating from a node that isn't a Condition node. See definition.connection.configuration.data Block for details.
    Conditional AgentFlowDefinitionConnectionConfigurationConditional
    Configuration of a connection originating from a Condition node. See definition.connection.configuration.conditional Block for details.
    Data AgentFlowDefinitionConnectionConfigurationData
    Configuration of a connection originating from a node that isn't a Condition node. See definition.connection.configuration.data Block for details.
    conditional object
    Configuration of a connection originating from a Condition node. See definition.connection.configuration.conditional Block for details.
    data object
    Configuration of a connection originating from a node that isn't a Condition node. See definition.connection.configuration.data Block for details.
    conditional AgentFlowDefinitionConnectionConfigurationConditional
    Configuration of a connection originating from a Condition node. See definition.connection.configuration.conditional Block for details.
    data AgentFlowDefinitionConnectionConfigurationData
    Configuration of a connection originating from a node that isn't a Condition node. See definition.connection.configuration.data Block for details.
    conditional AgentFlowDefinitionConnectionConfigurationConditional
    Configuration of a connection originating from a Condition node. See definition.connection.configuration.conditional Block for details.
    data AgentFlowDefinitionConnectionConfigurationData
    Configuration of a connection originating from a node that isn't a Condition node. See definition.connection.configuration.data Block for details.
    conditional AgentFlowDefinitionConnectionConfigurationConditional
    Configuration of a connection originating from a Condition node. See definition.connection.configuration.conditional Block for details.
    data AgentFlowDefinitionConnectionConfigurationData
    Configuration of a connection originating from a node that isn't a Condition node. See definition.connection.configuration.data Block for details.
    conditional Property Map
    Configuration of a connection originating from a Condition node. See definition.connection.configuration.conditional Block for details.
    data Property Map
    Configuration of a connection originating from a node that isn't a Condition node. See definition.connection.configuration.data Block for details.

    AgentFlowDefinitionConnectionConfigurationConditional, AgentFlowDefinitionConnectionConfigurationConditionalArgs

    Condition string
    List of conditions. See definition.node.configuration.condition.condition Block for details.
    Condition string
    List of conditions. See definition.node.configuration.condition.condition Block for details.
    condition string
    List of conditions. See definition.node.configuration.condition.condition Block for details.
    condition String
    List of conditions. See definition.node.configuration.condition.condition Block for details.
    condition string
    List of conditions. See definition.node.configuration.condition.condition Block for details.
    condition str
    List of conditions. See definition.node.configuration.condition.condition Block for details.
    condition String
    List of conditions. See definition.node.configuration.condition.condition Block for details.

    AgentFlowDefinitionConnectionConfigurationData, AgentFlowDefinitionConnectionConfigurationDataArgs

    SourceOutput string
    Name of the output in the source node that the connection begins from.
    TargetInput string
    Name of the input in the target node that the connection ends at.
    SourceOutput string
    Name of the output in the source node that the connection begins from.
    TargetInput 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.
    sourceOutput String
    Name of the output in the source node that the connection begins from.
    targetInput String
    Name of the input in the target node that the connection ends at.
    sourceOutput string
    Name of the output in the source node that the connection begins from.
    targetInput 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.
    sourceOutput String
    Name of the output in the source node that the connection begins from.
    targetInput 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 AgentFlowDefinitionNodeConfiguration
    Configurations for the node. See definition.node.configuration Block for details.
    Inputs List<AgentFlowDefinitionNodeInput>
    Configurations for an input flow node in your flow. The node inputs can't be specified for this node. This block has no arguments.
    Outputs List<AgentFlowDefinitionNodeOutput>
    Configurations for an output flow node in your flow. The node outputs can'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 AgentFlowDefinitionNodeConfiguration
    Configurations for the node. See definition.node.configuration Block for details.
    Inputs []AgentFlowDefinitionNodeInputType
    Configurations for an input flow node in your flow. The node inputs can't be specified for this node. This block has no arguments.
    Outputs []AgentFlowDefinitionNodeOutputType
    Configurations for an output flow node in your flow. The node outputs can'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.configuration Block for details.
    inputs list(object)
    Configurations for an input flow node in your flow. The node inputs can'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 outputs can'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 AgentFlowDefinitionNodeConfiguration
    Configurations for the node. See definition.node.configuration Block for details.
    inputs List<AgentFlowDefinitionNodeInput>
    Configurations for an input flow node in your flow. The node inputs can't be specified for this node. This block has no arguments.
    outputs List<AgentFlowDefinitionNodeOutput>
    Configurations for an output flow node in your flow. The node outputs can'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 AgentFlowDefinitionNodeConfiguration
    Configurations for the node. See definition.node.configuration Block for details.
    inputs AgentFlowDefinitionNodeInput[]
    Configurations for an input flow node in your flow. The node inputs can't be specified for this node. This block has no arguments.
    outputs AgentFlowDefinitionNodeOutput[]
    Configurations for an output flow node in your flow. The node outputs can'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 AgentFlowDefinitionNodeConfiguration
    Configurations for the node. See definition.node.configuration Block for details.
    inputs Sequence[AgentFlowDefinitionNodeInput]
    Configurations for an input flow node in your flow. The node inputs can't be specified for this node. This block has no arguments.
    outputs Sequence[AgentFlowDefinitionNodeOutput]
    Configurations for an output flow node in your flow. The node outputs can'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.configuration Block for details.
    inputs List<Property Map>
    Configurations for an input flow node in your flow. The node inputs can'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 outputs can't be specified for this node. This block has no arguments.

    AgentFlowDefinitionNodeConfiguration, AgentFlowDefinitionNodeConfigurationArgs

    Agent AgentFlowDefinitionNodeConfigurationAgent
    Configurations for an agent node in your flow. Invokes an alias of an agent and returns the response. See definition.node.configuration.agent Block for details.
    Collector AgentFlowDefinitionNodeConfigurationCollector
    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 AgentFlowDefinitionNodeConfigurationCondition
    List of conditions. See definition.node.configuration.condition.condition Block for details.
    InlineCode AgentFlowDefinitionNodeConfigurationInlineCode
    Configurations for an inline code node in your flow. See definition.node.configuration.inline_code Block for details.
    Input AgentFlowDefinitionNodeConfigurationInput
    Configurations for an input flow node in your flow. The node inputs can't be specified for this node. This block has no arguments.
    Iterator AgentFlowDefinitionNodeConfigurationIterator
    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.
    KnowledgeBase AgentFlowDefinitionNodeConfigurationKnowledgeBase
    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_base Block for details.
    LambdaFunction AgentFlowDefinitionNodeConfigurationLambdaFunction
    Configurations for a Lambda function node in your flow. Invokes a Lambda function. See definition.node.configuration.lambda_function Block for details.
    Lex AgentFlowDefinitionNodeConfigurationLex
    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.lex Block for details.
    Output AgentFlowDefinitionNodeConfigurationOutput
    Configurations for an output flow node in your flow. The node outputs can't be specified for this node. This block has no arguments.
    Prompt AgentFlowDefinitionNodeConfigurationPrompt
    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.prompt Block for details.
    Retrieval AgentFlowDefinitionNodeConfigurationRetrieval
    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.retrieval Block for details.
    Storage AgentFlowDefinitionNodeConfigurationStorage
    Configurations for a Storage node in your flow. Stores an input in an Amazon S3 location. See definition.node.configuration.storage Block for details.
    Agent AgentFlowDefinitionNodeConfigurationAgent
    Configurations for an agent node in your flow. Invokes an alias of an agent and returns the response. See definition.node.configuration.agent Block for details.
    Collector AgentFlowDefinitionNodeConfigurationCollector
    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 AgentFlowDefinitionNodeConfigurationCondition
    List of conditions. See definition.node.configuration.condition.condition Block for details.
    InlineCode AgentFlowDefinitionNodeConfigurationInlineCode
    Configurations for an inline code node in your flow. See definition.node.configuration.inline_code Block for details.
    Input AgentFlowDefinitionNodeConfigurationInputType
    Configurations for an input flow node in your flow. The node inputs can't be specified for this node. This block has no arguments.
    Iterator AgentFlowDefinitionNodeConfigurationIterator
    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.
    KnowledgeBase AgentFlowDefinitionNodeConfigurationKnowledgeBase
    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_base Block for details.
    LambdaFunction AgentFlowDefinitionNodeConfigurationLambdaFunction
    Configurations for a Lambda function node in your flow. Invokes a Lambda function. See definition.node.configuration.lambda_function Block for details.
    Lex AgentFlowDefinitionNodeConfigurationLex
    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.lex Block for details.
    Output AgentFlowDefinitionNodeConfigurationOutputType
    Configurations for an output flow node in your flow. The node outputs can't be specified for this node. This block has no arguments.
    Prompt AgentFlowDefinitionNodeConfigurationPrompt
    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.prompt Block for details.
    Retrieval AgentFlowDefinitionNodeConfigurationRetrieval
    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.retrieval Block for details.
    Storage AgentFlowDefinitionNodeConfigurationStorage
    Configurations for a Storage node in your flow. Stores an input in an Amazon S3 location. See definition.node.configuration.storage Block 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.agent Block 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.condition Block for details.
    inline_code object
    Configurations for an inline code node in your flow. See definition.node.configuration.inline_code Block for details.
    input object
    Configurations for an input flow node in your flow. The node inputs can'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_base Block for details.
    lambda_function object
    Configurations for a Lambda function node in your flow. Invokes a Lambda function. See definition.node.configuration.lambda_function Block 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.lex Block for details.
    output object
    Configurations for an output flow node in your flow. The node outputs can'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.prompt Block 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.retrieval Block for details.
    storage object
    Configurations for a Storage node in your flow. Stores an input in an Amazon S3 location. See definition.node.configuration.storage Block for details.
    agent AgentFlowDefinitionNodeConfigurationAgent
    Configurations for an agent node in your flow. Invokes an alias of an agent and returns the response. See definition.node.configuration.agent Block for details.
    collector AgentFlowDefinitionNodeConfigurationCollector
    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 AgentFlowDefinitionNodeConfigurationCondition
    List of conditions. See definition.node.configuration.condition.condition Block for details.
    inlineCode AgentFlowDefinitionNodeConfigurationInlineCode
    Configurations for an inline code node in your flow. See definition.node.configuration.inline_code Block for details.
    input AgentFlowDefinitionNodeConfigurationInput
    Configurations for an input flow node in your flow. The node inputs can't be specified for this node. This block has no arguments.
    iterator AgentFlowDefinitionNodeConfigurationIterator
    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.
    knowledgeBase AgentFlowDefinitionNodeConfigurationKnowledgeBase
    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_base Block for details.
    lambdaFunction AgentFlowDefinitionNodeConfigurationLambdaFunction
    Configurations for a Lambda function node in your flow. Invokes a Lambda function. See definition.node.configuration.lambda_function Block for details.
    lex AgentFlowDefinitionNodeConfigurationLex
    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.lex Block for details.
    output AgentFlowDefinitionNodeConfigurationOutput
    Configurations for an output flow node in your flow. The node outputs can't be specified for this node. This block has no arguments.
    prompt AgentFlowDefinitionNodeConfigurationPrompt
    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.prompt Block for details.
    retrieval AgentFlowDefinitionNodeConfigurationRetrieval
    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.retrieval Block for details.
    storage AgentFlowDefinitionNodeConfigurationStorage
    Configurations for a Storage node in your flow. Stores an input in an Amazon S3 location. See definition.node.configuration.storage Block for details.
    agent AgentFlowDefinitionNodeConfigurationAgent
    Configurations for an agent node in your flow. Invokes an alias of an agent and returns the response. See definition.node.configuration.agent Block for details.
    collector AgentFlowDefinitionNodeConfigurationCollector
    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 AgentFlowDefinitionNodeConfigurationCondition
    List of conditions. See definition.node.configuration.condition.condition Block for details.
    inlineCode AgentFlowDefinitionNodeConfigurationInlineCode
    Configurations for an inline code node in your flow. See definition.node.configuration.inline_code Block for details.
    input AgentFlowDefinitionNodeConfigurationInput
    Configurations for an input flow node in your flow. The node inputs can't be specified for this node. This block has no arguments.
    iterator AgentFlowDefinitionNodeConfigurationIterator
    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.
    knowledgeBase AgentFlowDefinitionNodeConfigurationKnowledgeBase
    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_base Block for details.
    lambdaFunction AgentFlowDefinitionNodeConfigurationLambdaFunction
    Configurations for a Lambda function node in your flow. Invokes a Lambda function. See definition.node.configuration.lambda_function Block for details.
    lex AgentFlowDefinitionNodeConfigurationLex
    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.lex Block for details.
    output AgentFlowDefinitionNodeConfigurationOutput
    Configurations for an output flow node in your flow. The node outputs can't be specified for this node. This block has no arguments.
    prompt AgentFlowDefinitionNodeConfigurationPrompt
    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.prompt Block for details.
    retrieval AgentFlowDefinitionNodeConfigurationRetrieval
    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.retrieval Block for details.
    storage AgentFlowDefinitionNodeConfigurationStorage
    Configurations for a Storage node in your flow. Stores an input in an Amazon S3 location. See definition.node.configuration.storage Block for details.
    agent AgentFlowDefinitionNodeConfigurationAgent
    Configurations for an agent node in your flow. Invokes an alias of an agent and returns the response. See definition.node.configuration.agent Block for details.
    collector AgentFlowDefinitionNodeConfigurationCollector
    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 AgentFlowDefinitionNodeConfigurationCondition
    List of conditions. See definition.node.configuration.condition.condition Block for details.
    inline_code AgentFlowDefinitionNodeConfigurationInlineCode
    Configurations for an inline code node in your flow. See definition.node.configuration.inline_code Block for details.
    input AgentFlowDefinitionNodeConfigurationInput
    Configurations for an input flow node in your flow. The node inputs can't be specified for this node. This block has no arguments.
    iterator AgentFlowDefinitionNodeConfigurationIterator
    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 AgentFlowDefinitionNodeConfigurationKnowledgeBase
    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_base Block for details.
    lambda_function AgentFlowDefinitionNodeConfigurationLambdaFunction
    Configurations for a Lambda function node in your flow. Invokes a Lambda function. See definition.node.configuration.lambda_function Block for details.
    lex AgentFlowDefinitionNodeConfigurationLex
    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.lex Block for details.
    output AgentFlowDefinitionNodeConfigurationOutput
    Configurations for an output flow node in your flow. The node outputs can't be specified for this node. This block has no arguments.
    prompt AgentFlowDefinitionNodeConfigurationPrompt
    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.prompt Block for details.
    retrieval AgentFlowDefinitionNodeConfigurationRetrieval
    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.retrieval Block for details.
    storage AgentFlowDefinitionNodeConfigurationStorage
    Configurations for a Storage node in your flow. Stores an input in an Amazon S3 location. See definition.node.configuration.storage Block 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.agent Block 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.condition Block for details.
    inlineCode Property Map
    Configurations for an inline code node in your flow. See definition.node.configuration.inline_code Block for details.
    input Property Map
    Configurations for an input flow node in your flow. The node inputs can'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.
    knowledgeBase 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_base Block for details.
    lambdaFunction Property Map
    Configurations for a Lambda function node in your flow. Invokes a Lambda function. See definition.node.configuration.lambda_function Block 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.lex Block for details.
    output Property Map
    Configurations for an output flow node in your flow. The node outputs can'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.prompt Block 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.retrieval Block 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.storage Block for details.

    AgentFlowDefinitionNodeConfigurationAgent, AgentFlowDefinitionNodeConfigurationAgentArgs

    AgentAliasArn string
    ARN of the alias of the agent to invoke.
    AgentAliasArn string
    ARN of the alias of the agent to invoke.
    agent_alias_arn string
    ARN of the alias of the agent to invoke.
    agentAliasArn String
    ARN of the alias of the agent to invoke.
    agentAliasArn string
    ARN of the alias of the agent to invoke.
    agent_alias_arn str
    ARN of the alias of the agent to invoke.
    agentAliasArn String
    ARN of the alias of the agent to invoke.

    AgentFlowDefinitionNodeConfigurationCondition, AgentFlowDefinitionNodeConfigurationConditionArgs

    Conditions List<AgentFlowDefinitionNodeConfigurationConditionCondition>
    List of conditions. See definition.node.configuration.condition.condition Block for details.
    Conditions []AgentFlowDefinitionNodeConfigurationConditionCondition
    List of conditions. See definition.node.configuration.condition.condition Block for details.
    conditions list(object)
    List of conditions. See definition.node.configuration.condition.condition Block for details.
    conditions List<AgentFlowDefinitionNodeConfigurationConditionCondition>
    List of conditions. See definition.node.configuration.condition.condition Block for details.
    conditions AgentFlowDefinitionNodeConfigurationConditionCondition[]
    List of conditions. See definition.node.configuration.condition.condition Block for details.
    conditions Sequence[AgentFlowDefinitionNodeConfigurationConditionCondition]
    List of conditions. See definition.node.configuration.condition.condition Block for details.
    conditions List<Property Map>
    List of conditions. See definition.node.configuration.condition.condition Block 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

    Code string
    Code that's executed in your inline code node.
    Language string
    Programming language used by your inline code node.
    Code string
    Code that's executed in your inline code node.
    Language string
    Programming language used by your inline code node.
    code string
    Code that's executed in your inline code node.
    language string
    Programming language used by your inline code node.
    code String
    Code that's executed in your inline code node.
    language String
    Programming language used by your inline code node.
    code string
    Code that's executed in your inline code node.
    language string
    Programming language used by your inline code node.
    code str
    Code that's executed in your inline code node.
    language str
    Programming language used by your inline code node.
    code String
    Code that's executed in your inline code node.
    language String
    Programming language used by your inline code node.

    AgentFlowDefinitionNodeConfigurationKnowledgeBase, AgentFlowDefinitionNodeConfigurationKnowledgeBaseArgs

    KnowledgeBaseId string
    Unique identifier of the knowledge base to query.
    ModelId string
    Unique identifier of the model or inference profile to run inference with.
    GuardrailConfiguration AgentFlowDefinitionNodeConfigurationKnowledgeBaseGuardrailConfiguration
    Configuration of a guardrail for prompt generation. See definition.node.configuration.prompt.guardrail_configuration Block for details.
    InferenceConfiguration AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfiguration
    Inference configurations for the prompt. See definition.node.configuration.prompt.source_configuration.inline.inference_configuration Block for details.
    NumberOfResults int
    Maximum number of results to retrieve from the knowledge base. Valid values are between 1 and 100.
    KnowledgeBaseId string
    Unique identifier of the knowledge base to query.
    ModelId string
    Unique identifier of the model or inference profile to run inference with.
    GuardrailConfiguration AgentFlowDefinitionNodeConfigurationKnowledgeBaseGuardrailConfiguration
    Configuration of a guardrail for prompt generation. See definition.node.configuration.prompt.guardrail_configuration Block for details.
    InferenceConfiguration AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfiguration
    Inference configurations for the prompt. See definition.node.configuration.prompt.source_configuration.inline.inference_configuration Block for details.
    NumberOfResults int
    Maximum number of results to retrieve from the knowledge base. Valid values are between 1 and 100.
    knowledge_base_id string
    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_configuration Block for details.
    inference_configuration object
    Inference configurations for the prompt. See definition.node.configuration.prompt.source_configuration.inline.inference_configuration Block for details.
    number_of_results number
    Maximum number of results to retrieve from the knowledge base. Valid values are between 1 and 100.
    knowledgeBaseId String
    Unique identifier of the knowledge base to query.
    modelId String
    Unique identifier of the model or inference profile to run inference with.
    guardrailConfiguration AgentFlowDefinitionNodeConfigurationKnowledgeBaseGuardrailConfiguration
    Configuration of a guardrail for prompt generation. See definition.node.configuration.prompt.guardrail_configuration Block for details.
    inferenceConfiguration AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfiguration
    Inference configurations for the prompt. See definition.node.configuration.prompt.source_configuration.inline.inference_configuration Block for details.
    numberOfResults Integer
    Maximum number of results to retrieve from the knowledge base. Valid values are between 1 and 100.
    knowledgeBaseId string
    Unique identifier of the knowledge base to query.
    modelId string
    Unique identifier of the model or inference profile to run inference with.
    guardrailConfiguration AgentFlowDefinitionNodeConfigurationKnowledgeBaseGuardrailConfiguration
    Configuration of a guardrail for prompt generation. See definition.node.configuration.prompt.guardrail_configuration Block for details.
    inferenceConfiguration AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfiguration
    Inference configurations for the prompt. See definition.node.configuration.prompt.source_configuration.inline.inference_configuration Block for details.
    numberOfResults number
    Maximum number of results to retrieve from the knowledge base. Valid values are between 1 and 100.
    knowledge_base_id str
    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 AgentFlowDefinitionNodeConfigurationKnowledgeBaseGuardrailConfiguration
    Configuration of a guardrail for prompt generation. See definition.node.configuration.prompt.guardrail_configuration Block for details.
    inference_configuration AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfiguration
    Inference configurations for the prompt. See definition.node.configuration.prompt.source_configuration.inline.inference_configuration Block for details.
    number_of_results int
    Maximum number of results to retrieve from the knowledge base. Valid values are between 1 and 100.
    knowledgeBaseId String
    Unique identifier of the knowledge base to query.
    modelId String
    Unique identifier of the model or inference profile to run inference with.
    guardrailConfiguration Property Map
    Configuration of a guardrail for prompt generation. See definition.node.configuration.prompt.guardrail_configuration Block for details.
    inferenceConfiguration Property Map
    Inference configurations for the prompt. See definition.node.configuration.prompt.source_configuration.inline.inference_configuration Block for details.
    numberOfResults Number
    Maximum number of results to retrieve from the knowledge base. Valid values are between 1 and 100.

    AgentFlowDefinitionNodeConfigurationKnowledgeBaseGuardrailConfiguration, AgentFlowDefinitionNodeConfigurationKnowledgeBaseGuardrailConfigurationArgs

    GuardrailIdentifier string
    Unique identifier of the guardrail.
    GuardrailVersion string
    Version of the guardrail.
    GuardrailIdentifier string
    Unique identifier of the guardrail.
    GuardrailVersion string
    Version of the guardrail.
    guardrail_identifier string
    Unique identifier of the guardrail.
    guardrail_version string
    Version of the guardrail.
    guardrailIdentifier String
    Unique identifier of the guardrail.
    guardrailVersion String
    Version of the guardrail.
    guardrailIdentifier string
    Unique identifier of the guardrail.
    guardrailVersion string
    Version of the guardrail.
    guardrail_identifier str
    Unique identifier of the guardrail.
    guardrail_version str
    Version of the guardrail.
    guardrailIdentifier String
    Unique identifier of the guardrail.
    guardrailVersion String
    Version of the guardrail.

    AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfiguration, AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationArgs

    text object
    Message for the prompt.
    text Property Map
    Message for the prompt.

    AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationText, AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationTextArgs

    MaxTokens int
    Maximum number of tokens to return in the response.
    StopSequences 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.
    TopP double
    Percentage of most-likely candidates that the model considers for the next token.
    MaxTokens int
    Maximum number of tokens to return in the response.
    StopSequences []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.
    TopP 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.
    maxTokens Integer
    Maximum number of tokens to return in the response.
    stopSequences 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.
    topP Double
    Percentage of most-likely candidates that the model considers for the next token.
    maxTokens number
    Maximum number of tokens to return in the response.
    stopSequences 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.
    topP 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.
    maxTokens Number
    Maximum number of tokens to return in the response.
    stopSequences 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.
    topP Number
    Percentage of most-likely candidates that the model considers for the next token.

    AgentFlowDefinitionNodeConfigurationLambdaFunction, AgentFlowDefinitionNodeConfigurationLambdaFunctionArgs

    LambdaArn string
    ARN of the Lambda function to invoke.
    LambdaArn string
    ARN of the Lambda function to invoke.
    lambda_arn string
    ARN of the Lambda function to invoke.
    lambdaArn String
    ARN of the Lambda function to invoke.
    lambdaArn string
    ARN of the Lambda function to invoke.
    lambda_arn str
    ARN of the Lambda function to invoke.
    lambdaArn String
    ARN of the Lambda function to invoke.

    AgentFlowDefinitionNodeConfigurationLex, AgentFlowDefinitionNodeConfigurationLexArgs

    BotAliasArn string
    ARN of the Amazon Lex bot alias to invoke.
    LocaleId string
    Region to invoke the Amazon Lex bot in.
    BotAliasArn string
    ARN of the Amazon Lex bot alias to invoke.
    LocaleId string
    Region to invoke the Amazon Lex bot in.
    bot_alias_arn string
    ARN of the Amazon Lex bot alias to invoke.
    locale_id string
    Region to invoke the Amazon Lex bot in.
    botAliasArn String
    ARN of the Amazon Lex bot alias to invoke.
    localeId String
    Region to invoke the Amazon Lex bot in.
    botAliasArn string
    ARN of the Amazon Lex bot alias to invoke.
    localeId string
    Region to invoke the Amazon Lex bot in.
    bot_alias_arn str
    ARN of the Amazon Lex bot alias to invoke.
    locale_id str
    Region to invoke the Amazon Lex bot in.
    botAliasArn String
    ARN of the Amazon Lex bot alias to invoke.
    localeId String
    Region to invoke the Amazon Lex bot in.

    AgentFlowDefinitionNodeConfigurationPrompt, AgentFlowDefinitionNodeConfigurationPromptArgs

    GuardrailConfiguration AgentFlowDefinitionNodeConfigurationPromptGuardrailConfiguration
    Configuration of a guardrail for prompt generation. See definition.node.configuration.prompt.guardrail_configuration Block for details.
    SourceConfiguration AgentFlowDefinitionNodeConfigurationPromptSourceConfiguration
    Configuration of the prompt source, either inline or from Prompt management. See definition.node.configuration.prompt.source_configuration Block for details.
    GuardrailConfiguration AgentFlowDefinitionNodeConfigurationPromptGuardrailConfiguration
    Configuration of a guardrail for prompt generation. See definition.node.configuration.prompt.guardrail_configuration Block for details.
    SourceConfiguration AgentFlowDefinitionNodeConfigurationPromptSourceConfiguration
    Configuration of the prompt source, either inline or from Prompt management. See definition.node.configuration.prompt.source_configuration Block for details.
    guardrail_configuration object
    Configuration of a guardrail for prompt generation. See definition.node.configuration.prompt.guardrail_configuration Block for details.
    source_configuration object
    Configuration of the prompt source, either inline or from Prompt management. See definition.node.configuration.prompt.source_configuration Block for details.
    guardrailConfiguration AgentFlowDefinitionNodeConfigurationPromptGuardrailConfiguration
    Configuration of a guardrail for prompt generation. See definition.node.configuration.prompt.guardrail_configuration Block for details.
    sourceConfiguration AgentFlowDefinitionNodeConfigurationPromptSourceConfiguration
    Configuration of the prompt source, either inline or from Prompt management. See definition.node.configuration.prompt.source_configuration Block for details.
    guardrailConfiguration AgentFlowDefinitionNodeConfigurationPromptGuardrailConfiguration
    Configuration of a guardrail for prompt generation. See definition.node.configuration.prompt.guardrail_configuration Block for details.
    sourceConfiguration AgentFlowDefinitionNodeConfigurationPromptSourceConfiguration
    Configuration of the prompt source, either inline or from Prompt management. See definition.node.configuration.prompt.source_configuration Block for details.
    guardrail_configuration AgentFlowDefinitionNodeConfigurationPromptGuardrailConfiguration
    Configuration of a guardrail for prompt generation. See definition.node.configuration.prompt.guardrail_configuration Block for details.
    source_configuration AgentFlowDefinitionNodeConfigurationPromptSourceConfiguration
    Configuration of the prompt source, either inline or from Prompt management. See definition.node.configuration.prompt.source_configuration Block for details.
    guardrailConfiguration Property Map
    Configuration of a guardrail for prompt generation. See definition.node.configuration.prompt.guardrail_configuration Block for details.
    sourceConfiguration Property Map
    Configuration of the prompt source, either inline or from Prompt management. See definition.node.configuration.prompt.source_configuration Block for details.

    AgentFlowDefinitionNodeConfigurationPromptGuardrailConfiguration, AgentFlowDefinitionNodeConfigurationPromptGuardrailConfigurationArgs

    GuardrailIdentifier string
    Unique identifier of the guardrail.
    GuardrailVersion string
    Version of the guardrail.
    GuardrailIdentifier string
    Unique identifier of the guardrail.
    GuardrailVersion string
    Version of the guardrail.
    guardrail_identifier string
    Unique identifier of the guardrail.
    guardrail_version string
    Version of the guardrail.
    guardrailIdentifier String
    Unique identifier of the guardrail.
    guardrailVersion String
    Version of the guardrail.
    guardrailIdentifier string
    Unique identifier of the guardrail.
    guardrailVersion string
    Version of the guardrail.
    guardrail_identifier str
    Unique identifier of the guardrail.
    guardrail_version str
    Version of the guardrail.
    guardrailIdentifier String
    Unique identifier of the guardrail.
    guardrailVersion String
    Version of the guardrail.

    AgentFlowDefinitionNodeConfigurationPromptSourceConfiguration, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationArgs

    Inline AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInline
    Configurations for a prompt that is defined inline. See definition.node.configuration.prompt.source_configuration.inline Block for details.
    Resource AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationResource
    Configurations for a prompt from Prompt management. See definition.node.configuration.prompt.source_configuration.resource Block for details.
    Inline AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInline
    Configurations for a prompt that is defined inline. See definition.node.configuration.prompt.source_configuration.inline Block for details.
    Resource AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationResource
    Configurations for a prompt from Prompt management. See definition.node.configuration.prompt.source_configuration.resource Block for details.
    inline object
    Configurations for a prompt that is defined inline. See definition.node.configuration.prompt.source_configuration.inline Block for details.
    resource object
    Configurations for a prompt from Prompt management. See definition.node.configuration.prompt.source_configuration.resource Block for details.
    inline AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInline
    Configurations for a prompt that is defined inline. See definition.node.configuration.prompt.source_configuration.inline Block for details.
    resource AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationResource
    Configurations for a prompt from Prompt management. See definition.node.configuration.prompt.source_configuration.resource Block for details.
    inline AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInline
    Configurations for a prompt that is defined inline. See definition.node.configuration.prompt.source_configuration.inline Block for details.
    resource AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationResource
    Configurations for a prompt from Prompt management. See definition.node.configuration.prompt.source_configuration.resource Block for details.
    inline AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInline
    Configurations for a prompt that is defined inline. See definition.node.configuration.prompt.source_configuration.inline Block for details.
    resource AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationResource
    Configurations for a prompt from Prompt management. See definition.node.configuration.prompt.source_configuration.resource Block for details.
    inline Property Map
    Configurations for a prompt that is defined inline. See definition.node.configuration.prompt.source_configuration.inline Block for details.
    resource Property Map
    Configurations for a prompt from Prompt management. See definition.node.configuration.prompt.source_configuration.resource Block for details.

    AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInline, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineArgs

    ModelId string
    Unique identifier of the model or inference profile to run inference with.
    TemplateType string
    Type of prompt template. Valid values: TEXT, CHAT.
    AdditionalModelRequestFields string
    Additional fields to be included in the model request for the Prompt node.
    InferenceConfiguration AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfiguration
    Inference configurations for the prompt. See definition.node.configuration.prompt.source_configuration.inline.inference_configuration Block for details.
    TemplateConfiguration AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfiguration
    Prompt and variables in the prompt that can be replaced with values at runtime. See definition.node.configuration.prompt.source_configuration.inline.template_configuration Block for details.
    ModelId string
    Unique identifier of the model or inference profile to run inference with.
    TemplateType string
    Type of prompt template. Valid values: TEXT, CHAT.
    AdditionalModelRequestFields string
    Additional fields to be included in the model request for the Prompt node.
    InferenceConfiguration AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfiguration
    Inference configurations for the prompt. See definition.node.configuration.prompt.source_configuration.inline.inference_configuration Block for details.
    TemplateConfiguration AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfiguration
    Prompt and variables in the prompt that can be replaced with values at runtime. See definition.node.configuration.prompt.source_configuration.inline.template_configuration Block 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_request_fields string
    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_configuration Block 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_configuration Block for details.
    modelId String
    Unique identifier of the model or inference profile to run inference with.
    templateType String
    Type of prompt template. Valid values: TEXT, CHAT.
    additionalModelRequestFields String
    Additional fields to be included in the model request for the Prompt node.
    inferenceConfiguration AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfiguration
    Inference configurations for the prompt. See definition.node.configuration.prompt.source_configuration.inline.inference_configuration Block for details.
    templateConfiguration AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfiguration
    Prompt and variables in the prompt that can be replaced with values at runtime. See definition.node.configuration.prompt.source_configuration.inline.template_configuration Block for details.
    modelId string
    Unique identifier of the model or inference profile to run inference with.
    templateType string
    Type of prompt template. Valid values: TEXT, CHAT.
    additionalModelRequestFields string
    Additional fields to be included in the model request for the Prompt node.
    inferenceConfiguration AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfiguration
    Inference configurations for the prompt. See definition.node.configuration.prompt.source_configuration.inline.inference_configuration Block for details.
    templateConfiguration AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfiguration
    Prompt and variables in the prompt that can be replaced with values at runtime. See definition.node.configuration.prompt.source_configuration.inline.template_configuration Block 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_request_fields str
    Additional fields to be included in the model request for the Prompt node.
    inference_configuration AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfiguration
    Inference configurations for the prompt. See definition.node.configuration.prompt.source_configuration.inline.inference_configuration Block for details.
    template_configuration AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfiguration
    Prompt and variables in the prompt that can be replaced with values at runtime. See definition.node.configuration.prompt.source_configuration.inline.template_configuration Block for details.
    modelId String
    Unique identifier of the model or inference profile to run inference with.
    templateType String
    Type of prompt template. Valid values: TEXT, CHAT.
    additionalModelRequestFields String
    Additional fields to be included in the model request for the Prompt node.
    inferenceConfiguration Property Map
    Inference configurations for the prompt. See definition.node.configuration.prompt.source_configuration.inline.inference_configuration Block for details.
    templateConfiguration 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_configuration Block for details.

    AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfiguration, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfigurationArgs

    text object
    Message for the prompt.
    text Property Map
    Message for the prompt.

    AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfigurationText, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfigurationTextArgs

    MaxTokens int
    Maximum number of tokens to return in the response.
    StopSequences 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.
    TopP double
    Percentage of most-likely candidates that the model considers for the next token.
    MaxTokens int
    Maximum number of tokens to return in the response.
    StopSequences []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.
    TopP 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.
    maxTokens Integer
    Maximum number of tokens to return in the response.
    stopSequences 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.
    topP Double
    Percentage of most-likely candidates that the model considers for the next token.
    maxTokens number
    Maximum number of tokens to return in the response.
    stopSequences 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.
    topP 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.
    maxTokens Number
    Maximum number of tokens to return in the response.
    stopSequences 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.
    topP Number
    Percentage of most-likely candidates that the model considers for the next token.

    AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfiguration, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationArgs

    Chat AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChat
    Configurations to use the prompt in a conversational format. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat Block for details.
    Text AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationText
    Message for the prompt.
    Chat AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChat
    Configurations to use the prompt in a conversational format. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat Block for details.
    Text AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationText
    Message for the prompt.
    chat object
    Configurations to use the prompt in a conversational format. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat Block for details.
    text object
    Message for the prompt.
    chat AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChat
    Configurations to use the prompt in a conversational format. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat Block for details.
    text AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationText
    Message for the prompt.
    chat AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChat
    Configurations to use the prompt in a conversational format. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat Block for details.
    text AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationText
    Message for the prompt.
    chat AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChat
    Configurations to use the prompt in a conversational format. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat Block for details.
    text AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationText
    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.chat Block for details.
    text Property Map
    Message for the prompt.

    AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChat, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatArgs

    Messages List<AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessage>
    Messages in the chat for the prompt. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.message Block for details.
    InputVariables List<AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatInputVariable>
    Variables in the prompt template. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variable Block for details.
    Systems List<AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatSystem>
    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.system Block for details.
    ToolConfiguration AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfiguration
    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_configuration Block for details.
    Messages []AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessage
    Messages in the chat for the prompt. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.message Block for details.
    InputVariables []AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatInputVariable
    Variables in the prompt template. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variable Block for details.
    Systems []AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatSystem
    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.system Block for details.
    ToolConfiguration AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfiguration
    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_configuration Block for details.
    messages list(object)
    Messages in the chat for the prompt. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.message Block for details.
    input_variables list(object)
    Variables in the prompt template. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variable Block 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.system Block 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_configuration Block for details.
    messages List<AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessage>
    Messages in the chat for the prompt. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.message Block for details.
    inputVariables List<AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatInputVariable>
    Variables in the prompt template. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variable Block for details.
    systems List<AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatSystem>
    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.system Block for details.
    toolConfiguration AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfiguration
    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_configuration Block for details.
    messages AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessage[]
    Messages in the chat for the prompt. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.message Block for details.
    inputVariables AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatInputVariable[]
    Variables in the prompt template. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variable Block for details.
    systems AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatSystem[]
    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.system Block for details.
    toolConfiguration AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfiguration
    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_configuration Block for details.
    messages Sequence[AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessage]
    Messages in the chat for the prompt. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.message Block for details.
    input_variables Sequence[AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatInputVariable]
    Variables in the prompt template. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variable Block for details.
    systems Sequence[AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatSystem]
    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.system Block for details.
    tool_configuration AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfiguration
    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_configuration Block for details.
    messages List<Property Map>
    Messages in the chat for the prompt. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.message Block for details.
    inputVariables List<Property Map>
    Variables in the prompt template. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variable Block 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.system Block for details.
    toolConfiguration 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_configuration Block 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 AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContent
    Content for the message you pass to, or receive from, a model. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.message.content Block for details.
    Role string
    Role that the message belongs to.
    Content AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContent
    Content for the message you pass to, or receive from, a model. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.message.content Block for details.
    role string
    Role that the message belongs to.
    content object
    Content for the message you pass to, or receive from, a model. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.message.content Block for details.
    role String
    Role that the message belongs to.
    content AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContent
    Content for the message you pass to, or receive from, a model. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.message.content Block for details.
    role string
    Role that the message belongs to.
    content AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContent
    Content for the message you pass to, or receive from, a model. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.message.content Block for details.
    role str
    Role that the message belongs to.
    content AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContent
    Content for the message you pass to, or receive from, a model. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.message.content Block 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.content Block for details.

    AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContent, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContentArgs

    CachePoint AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContentCachePoint
    Cache checkpoint within a template configuration. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_point Block for details.
    Text string
    Message for the prompt.
    CachePoint AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContentCachePoint
    Cache checkpoint within a template configuration. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_point Block 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_point Block for details.
    text string
    Message for the prompt.
    cachePoint AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContentCachePoint
    Cache checkpoint within a template configuration. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_point Block for details.
    text String
    Message for the prompt.
    cachePoint AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContentCachePoint
    Cache checkpoint within a template configuration. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_point Block for details.
    text string
    Message for the prompt.
    cache_point AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContentCachePoint
    Cache checkpoint within a template configuration. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_point Block for details.
    text str
    Message for the prompt.
    cachePoint Property Map
    Cache checkpoint within a template configuration. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_point Block 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

    CachePoint AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatSystemCachePoint
    Cache checkpoint within a template configuration. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_point Block for details.
    Text string
    Message for the prompt.
    CachePoint AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatSystemCachePoint
    Cache checkpoint within a template configuration. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_point Block 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_point Block for details.
    text string
    Message for the prompt.
    cachePoint AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatSystemCachePoint
    Cache checkpoint within a template configuration. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_point Block for details.
    text String
    Message for the prompt.
    cachePoint AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatSystemCachePoint
    Cache checkpoint within a template configuration. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_point Block for details.
    text string
    Message for the prompt.
    cache_point AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatSystemCachePoint
    Cache checkpoint within a template configuration. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_point Block for details.
    text str
    Message for the prompt.
    cachePoint Property Map
    Cache checkpoint within a template configuration. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_point Block 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

    ToolChoice AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoice
    Which tools the model should request when invoked. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice Block for details.
    Tools List<AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationTool>
    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.tool Block for details.
    ToolChoice AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoice
    Which tools the model should request when invoked. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice Block for details.
    Tools []AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationTool
    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.tool Block 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_choice Block 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.tool Block for details.
    toolChoice AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoice
    Which tools the model should request when invoked. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice Block for details.
    tools List<AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationTool>
    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.tool Block for details.
    toolChoice AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoice
    Which tools the model should request when invoked. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice Block for details.
    tools AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationTool[]
    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.tool Block for details.
    tool_choice AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoice
    Which tools the model should request when invoked. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice Block for details.
    tools Sequence[AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationTool]
    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.tool Block for details.
    toolChoice Property Map
    Which tools the model should request when invoked. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice Block 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.tool Block for details.

    AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationTool, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolArgs

    CachePoint AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolCachePoint
    Cache checkpoint within a template configuration. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_point Block for details.
    ToolSpec AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolToolSpec
    Specification for the tool. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_spec Block for details.
    CachePoint AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolCachePoint
    Cache checkpoint within a template configuration. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_point Block for details.
    ToolSpec AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolToolSpec
    Specification for the tool. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_spec Block for details.
    cache_point object
    Cache checkpoint within a template configuration. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_point Block for details.
    tool_spec object
    Specification for the tool. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_spec Block for details.
    cachePoint AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolCachePoint
    Cache checkpoint within a template configuration. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_point Block for details.
    toolSpec AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolToolSpec
    Specification for the tool. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_spec Block for details.
    cachePoint AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolCachePoint
    Cache checkpoint within a template configuration. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_point Block for details.
    toolSpec AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolToolSpec
    Specification for the tool. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_spec Block for details.
    cache_point AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolCachePoint
    Cache checkpoint within a template configuration. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_point Block for details.
    tool_spec AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolToolSpec
    Specification for the tool. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_spec Block for details.
    cachePoint Property Map
    Cache checkpoint within a template configuration. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_point Block for details.
    toolSpec Property Map
    Specification for the tool. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_spec Block 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 AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceAny
    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 AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceAuto
    Tools. The model automatically decides whether to call a tool or to generate text instead. This block has no arguments.
    Tool AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceTool
    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.tool Block for details.
    Any AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceAny
    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 AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceAuto
    Tools. The model automatically decides whether to call a tool or to generate text instead. This block has no arguments.
    Tool AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceTool
    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.tool Block 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.tool Block for details.
    any AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceAny
    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 AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceAuto
    Tools. The model automatically decides whether to call a tool or to generate text instead. This block has no arguments.
    tool AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceTool
    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.tool Block for details.
    any AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceAny
    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 AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceAuto
    Tools. The model automatically decides whether to call a tool or to generate text instead. This block has no arguments.
    tool AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceTool
    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.tool Block for details.
    any AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceAny
    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 AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceAuto
    Tools. The model automatically decides whether to call a tool or to generate text instead. This block has no arguments.
    tool AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceTool
    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.tool Block 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.tool Block 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.
    InputSchema AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolToolSpecInputSchema
    Input schema of the tool. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_spec.input_schema Block for details.
    Name string

    Name for the flow.

    The following arguments are optional:

    Description string
    Description for the flow.
    InputSchema AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolToolSpecInputSchema
    Input schema of the tool. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_spec.input_schema Block 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_schema Block for details.
    name String

    Name for the flow.

    The following arguments are optional:

    description String
    Description for the flow.
    inputSchema AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolToolSpecInputSchema
    Input schema of the tool. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_spec.input_schema Block for details.
    name string

    Name for the flow.

    The following arguments are optional:

    description string
    Description for the flow.
    inputSchema AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolToolSpecInputSchema
    Input schema of the tool. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_spec.input_schema Block for details.
    name str

    Name for the flow.

    The following arguments are optional:

    description str
    Description for the flow.
    input_schema AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolToolSpecInputSchema
    Input schema of the tool. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_spec.input_schema Block for details.
    name String

    Name for the flow.

    The following arguments are optional:

    description String
    Description for the flow.
    inputSchema Property Map
    Input schema of the tool. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool.tool_spec.input_schema Block 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.
    CachePoint AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextCachePoint
    Cache checkpoint within a template configuration. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_point Block for details.
    InputVariables List<AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextInputVariable>
    Variables in the prompt template. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variable Block for details.
    Text string
    Message for the prompt.
    CachePoint AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextCachePoint
    Cache checkpoint within a template configuration. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_point Block for details.
    InputVariables []AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextInputVariable
    Variables in the prompt template. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variable Block 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_point Block for details.
    input_variables list(object)
    Variables in the prompt template. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variable Block for details.
    text String
    Message for the prompt.
    cachePoint AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextCachePoint
    Cache checkpoint within a template configuration. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_point Block for details.
    inputVariables List<AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextInputVariable>
    Variables in the prompt template. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variable Block for details.
    text string
    Message for the prompt.
    cachePoint AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextCachePoint
    Cache checkpoint within a template configuration. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_point Block for details.
    inputVariables AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextInputVariable[]
    Variables in the prompt template. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variable Block for details.
    text str
    Message for the prompt.
    cache_point AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextCachePoint
    Cache checkpoint within a template configuration. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_point Block for details.
    input_variables Sequence[AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextInputVariable]
    Variables in the prompt template. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variable Block for details.
    text String
    Message for the prompt.
    cachePoint Property Map
    Cache checkpoint within a template configuration. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.cache_point Block for details.
    inputVariables List<Property Map>
    Variables in the prompt template. See definition.node.configuration.prompt.source_configuration.inline.template_configuration.text.input_variable Block 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

    PromptArn string
    ARN of the prompt from Prompt management.
    PromptArn string
    ARN of the prompt from Prompt management.
    prompt_arn string
    ARN of the prompt from Prompt management.
    promptArn String
    ARN of the prompt from Prompt management.
    promptArn string
    ARN of the prompt from Prompt management.
    prompt_arn str
    ARN of the prompt from Prompt management.
    promptArn String
    ARN of the prompt from Prompt management.

    AgentFlowDefinitionNodeConfigurationRetrieval, AgentFlowDefinitionNodeConfigurationRetrievalArgs

    ServiceConfiguration AgentFlowDefinitionNodeConfigurationRetrievalServiceConfiguration
    Configurations for the service to use for storing the input into the node. See definition.node.configuration.storage.service_configuration Block for details.
    ServiceConfiguration AgentFlowDefinitionNodeConfigurationRetrievalServiceConfiguration
    Configurations for the service to use for storing the input into the node. See definition.node.configuration.storage.service_configuration Block for details.
    service_configuration object
    Configurations for the service to use for storing the input into the node. See definition.node.configuration.storage.service_configuration Block for details.
    serviceConfiguration AgentFlowDefinitionNodeConfigurationRetrievalServiceConfiguration
    Configurations for the service to use for storing the input into the node. See definition.node.configuration.storage.service_configuration Block for details.
    serviceConfiguration AgentFlowDefinitionNodeConfigurationRetrievalServiceConfiguration
    Configurations for the service to use for storing the input into the node. See definition.node.configuration.storage.service_configuration Block for details.
    service_configuration AgentFlowDefinitionNodeConfigurationRetrievalServiceConfiguration
    Configurations for the service to use for storing the input into the node. See definition.node.configuration.storage.service_configuration Block for details.
    serviceConfiguration Property Map
    Configurations for the service to use for storing the input into the node. See definition.node.configuration.storage.service_configuration Block for details.

    AgentFlowDefinitionNodeConfigurationRetrievalServiceConfiguration, AgentFlowDefinitionNodeConfigurationRetrievalServiceConfigurationArgs

    S3 AgentFlowDefinitionNodeConfigurationRetrievalServiceConfigurationS3
    Configurations for the Amazon S3 location in which to store the input into the node. See definition.node.configuration.storage.service_configuration.s3 Block for details.
    S3 AgentFlowDefinitionNodeConfigurationRetrievalServiceConfigurationS3
    Configurations for the Amazon S3 location in which to store the input into the node. See definition.node.configuration.storage.service_configuration.s3 Block for details.
    s3 object
    Configurations for the Amazon S3 location in which to store the input into the node. See definition.node.configuration.storage.service_configuration.s3 Block for details.
    s3 AgentFlowDefinitionNodeConfigurationRetrievalServiceConfigurationS3
    Configurations for the Amazon S3 location in which to store the input into the node. See definition.node.configuration.storage.service_configuration.s3 Block for details.
    s3 AgentFlowDefinitionNodeConfigurationRetrievalServiceConfigurationS3
    Configurations for the Amazon S3 location in which to store the input into the node. See definition.node.configuration.storage.service_configuration.s3 Block for details.
    s3 AgentFlowDefinitionNodeConfigurationRetrievalServiceConfigurationS3
    Configurations for the Amazon S3 location in which to store the input into the node. See definition.node.configuration.storage.service_configuration.s3 Block 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.s3 Block for details.

    AgentFlowDefinitionNodeConfigurationRetrievalServiceConfigurationS3, AgentFlowDefinitionNodeConfigurationRetrievalServiceConfigurationS3Args

    BucketName string
    Name of the Amazon S3 bucket in which to store the input into the node.
    BucketName 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.
    bucketName String
    Name of the Amazon S3 bucket in which to store the input into the node.
    bucketName 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.
    bucketName String
    Name of the Amazon S3 bucket in which to store the input into the node.

    AgentFlowDefinitionNodeConfigurationStorage, AgentFlowDefinitionNodeConfigurationStorageArgs

    ServiceConfiguration AgentFlowDefinitionNodeConfigurationStorageServiceConfiguration
    Configurations for the service to use for storing the input into the node. See definition.node.configuration.storage.service_configuration Block for details.
    ServiceConfiguration AgentFlowDefinitionNodeConfigurationStorageServiceConfiguration
    Configurations for the service to use for storing the input into the node. See definition.node.configuration.storage.service_configuration Block for details.
    service_configuration object
    Configurations for the service to use for storing the input into the node. See definition.node.configuration.storage.service_configuration Block for details.
    serviceConfiguration AgentFlowDefinitionNodeConfigurationStorageServiceConfiguration
    Configurations for the service to use for storing the input into the node. See definition.node.configuration.storage.service_configuration Block for details.
    serviceConfiguration AgentFlowDefinitionNodeConfigurationStorageServiceConfiguration
    Configurations for the service to use for storing the input into the node. See definition.node.configuration.storage.service_configuration Block for details.
    service_configuration AgentFlowDefinitionNodeConfigurationStorageServiceConfiguration
    Configurations for the service to use for storing the input into the node. See definition.node.configuration.storage.service_configuration Block for details.
    serviceConfiguration Property Map
    Configurations for the service to use for storing the input into the node. See definition.node.configuration.storage.service_configuration Block for details.

    AgentFlowDefinitionNodeConfigurationStorageServiceConfiguration, AgentFlowDefinitionNodeConfigurationStorageServiceConfigurationArgs

    S3 AgentFlowDefinitionNodeConfigurationStorageServiceConfigurationS3
    Configurations for the Amazon S3 location in which to store the input into the node. See definition.node.configuration.storage.service_configuration.s3 Block for details.
    S3 AgentFlowDefinitionNodeConfigurationStorageServiceConfigurationS3
    Configurations for the Amazon S3 location in which to store the input into the node. See definition.node.configuration.storage.service_configuration.s3 Block for details.
    s3 object
    Configurations for the Amazon S3 location in which to store the input into the node. See definition.node.configuration.storage.service_configuration.s3 Block for details.
    s3 AgentFlowDefinitionNodeConfigurationStorageServiceConfigurationS3
    Configurations for the Amazon S3 location in which to store the input into the node. See definition.node.configuration.storage.service_configuration.s3 Block for details.
    s3 AgentFlowDefinitionNodeConfigurationStorageServiceConfigurationS3
    Configurations for the Amazon S3 location in which to store the input into the node. See definition.node.configuration.storage.service_configuration.s3 Block for details.
    s3 AgentFlowDefinitionNodeConfigurationStorageServiceConfigurationS3
    Configurations for the Amazon S3 location in which to store the input into the node. See definition.node.configuration.storage.service_configuration.s3 Block 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.s3 Block for details.

    AgentFlowDefinitionNodeConfigurationStorageServiceConfigurationS3, AgentFlowDefinitionNodeConfigurationStorageServiceConfigurationS3Args

    BucketName string
    Name of the Amazon S3 bucket in which to store the input into the node.
    BucketName 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.
    bucketName String
    Name of the Amazon S3 bucket in which to store the input into the node.
    bucketName 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.
    bucketName 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

    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.
    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.
    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.
    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.
    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.
    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.
    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.

    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 aws Terraform Provider.
    aws logo aws logo
    Viewing docs for AWS v7.48.0
    published on Tuesday, Sep 22, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial