aws.bedrock.AgentFlow
Explore with Pulumi AI
Resource for managing an AWS Bedrock Agents Flow.
Example Usage
The default definition:
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.bedrock.AgentFlow("example", {
name: "example",
executionRoleArn: exampleAwsIamRole.arn,
definition: {
connections: [
{
name: "FlowInputNodeFlowInputNode0ToPrompt_1PromptsNode0",
source: "FlowInputNode",
target: "Prompt_1",
type: "Data",
configuration: {
data: {
sourceOutput: "document",
targetInput: "topic",
},
},
},
{
name: "Prompt_1PromptsNode0ToFlowOutputNodeFlowOutputNode0",
source: "Prompt_1",
target: "FlowOutputNode",
type: "Data",
configuration: {
data: {
sourceOutput: "modelCompletion",
targetInput: "document",
},
},
},
],
nodes: [
{
name: "FlowInputNode",
type: "Input",
configuration: {
input: {},
},
outputs: [{
name: "document",
type: "String",
}],
},
{
name: "Prompt_1",
type: "Prompt",
configuration: {
prompt: {
sourceConfiguration: {
inline: {
modelId: "amazon.titan-text-express-v1",
templateType: "TEXT",
inferenceConfiguration: {
text: {
maxTokens: 2048,
stopSequences: ["User:"],
temperature: 0,
topP: 0.8999999761581421,
},
},
templateConfiguration: {
text: {
text: "Write a paragraph about {{topic}}.",
inputVariables: [{
name: "topic",
}],
},
},
},
},
},
},
inputs: [{
expression: "$.data",
name: "topic",
type: "String",
}],
outputs: [{
name: "modelCompletion",
type: "String",
}],
},
{
name: "FlowOutputNode",
type: "Output",
configuration: {
output: {},
},
inputs: [{
expression: "$.data",
name: "document",
type: "String",
}],
},
],
},
});
import pulumi
import pulumi_aws as aws
example = aws.bedrock.AgentFlow("example",
name="example",
execution_role_arn=example_aws_iam_role["arn"],
definition={
"connections": [
{
"name": "FlowInputNodeFlowInputNode0ToPrompt_1PromptsNode0",
"source": "FlowInputNode",
"target": "Prompt_1",
"type": "Data",
"configuration": {
"data": {
"source_output": "document",
"target_input": "topic",
},
},
},
{
"name": "Prompt_1PromptsNode0ToFlowOutputNodeFlowOutputNode0",
"source": "Prompt_1",
"target": "FlowOutputNode",
"type": "Data",
"configuration": {
"data": {
"source_output": "modelCompletion",
"target_input": "document",
},
},
},
],
"nodes": [
{
"name": "FlowInputNode",
"type": "Input",
"configuration": {
"input": {},
},
"outputs": [{
"name": "document",
"type": "String",
}],
},
{
"name": "Prompt_1",
"type": "Prompt",
"configuration": {
"prompt": {
"source_configuration": {
"inline": {
"model_id": "amazon.titan-text-express-v1",
"template_type": "TEXT",
"inference_configuration": {
"text": {
"max_tokens": 2048,
"stop_sequences": ["User:"],
"temperature": 0,
"top_p": 0.8999999761581421,
},
},
"template_configuration": {
"text": {
"text": "Write a paragraph about {{topic}}.",
"input_variables": [{
"name": "topic",
}],
},
},
},
},
},
},
"inputs": [{
"expression": "$.data",
"name": "topic",
"type": "String",
}],
"outputs": [{
"name": "modelCompletion",
"type": "String",
}],
},
{
"name": "FlowOutputNode",
"type": "Output",
"configuration": {
"output": {},
},
"inputs": [{
"expression": "$.data",
"name": "document",
"type": "String",
}],
},
],
})
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"),
ExecutionRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
Definition: &bedrock.AgentFlowDefinitionArgs{
Connections: bedrock.AgentFlowDefinitionConnectionArray{
&bedrock.AgentFlowDefinitionConnectionArgs{
Name: pulumi.String("FlowInputNodeFlowInputNode0ToPrompt_1PromptsNode0"),
Source: pulumi.String("FlowInputNode"),
Target: pulumi.String("Prompt_1"),
Type: pulumi.String("Data"),
Configuration: &bedrock.AgentFlowDefinitionConnectionConfigurationArgs{
Data: &bedrock.AgentFlowDefinitionConnectionConfigurationDataArgs{
SourceOutput: pulumi.String("document"),
TargetInput: pulumi.String("topic"),
},
},
},
&bedrock.AgentFlowDefinitionConnectionArgs{
Name: pulumi.String("Prompt_1PromptsNode0ToFlowOutputNodeFlowOutputNode0"),
Source: pulumi.String("Prompt_1"),
Target: pulumi.String("FlowOutputNode"),
Type: pulumi.String("Data"),
Configuration: &bedrock.AgentFlowDefinitionConnectionConfigurationArgs{
Data: &bedrock.AgentFlowDefinitionConnectionConfigurationDataArgs{
SourceOutput: pulumi.String("modelCompletion"),
TargetInput: pulumi.String("document"),
},
},
},
},
Nodes: bedrock.AgentFlowDefinitionNodeArray{
&bedrock.AgentFlowDefinitionNodeArgs{
Name: pulumi.String("FlowInputNode"),
Type: pulumi.String("Input"),
Configuration: &bedrock.AgentFlowDefinitionNodeConfigurationArgs{
Input: &bedrock.AgentFlowDefinitionNodeConfigurationInputTypeArgs{},
},
Outputs: bedrock.AgentFlowDefinitionNodeOutputTypeArray{
&bedrock.AgentFlowDefinitionNodeOutputTypeArgs{
Name: pulumi.String("document"),
Type: pulumi.String("String"),
},
},
},
&bedrock.AgentFlowDefinitionNodeArgs{
Name: pulumi.String("Prompt_1"),
Type: pulumi.String("Prompt"),
Configuration: &bedrock.AgentFlowDefinitionNodeConfigurationArgs{
Prompt: &bedrock.AgentFlowDefinitionNodeConfigurationPromptArgs{
SourceConfiguration: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationArgs{
Inline: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineArgs{
ModelId: pulumi.String("amazon.titan-text-express-v1"),
TemplateType: pulumi.String("TEXT"),
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{
Text: pulumi.String("Write a paragraph about {{topic}}."),
InputVariables: bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextInputVariableArray{
&bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextInputVariableArgs{
Name: pulumi.String("topic"),
},
},
},
},
},
},
},
},
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"),
},
},
},
&bedrock.AgentFlowDefinitionNodeArgs{
Name: pulumi.String("FlowOutputNode"),
Type: pulumi.String("Output"),
Configuration: &bedrock.AgentFlowDefinitionNodeConfigurationArgs{
Output: &bedrock.AgentFlowDefinitionNodeConfigurationOutputTypeArgs{},
},
Inputs: bedrock.AgentFlowDefinitionNodeInputTypeArray{
&bedrock.AgentFlowDefinitionNodeInputTypeArgs{
Expression: pulumi.String("$.data"),
Name: pulumi.String("document"),
Type: pulumi.String("String"),
},
},
},
},
},
})
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",
ExecutionRoleArn = exampleAwsIamRole.Arn,
Definition = new Aws.Bedrock.Inputs.AgentFlowDefinitionArgs
{
Connections = new[]
{
new Aws.Bedrock.Inputs.AgentFlowDefinitionConnectionArgs
{
Name = "FlowInputNodeFlowInputNode0ToPrompt_1PromptsNode0",
Source = "FlowInputNode",
Target = "Prompt_1",
Type = "Data",
Configuration = new Aws.Bedrock.Inputs.AgentFlowDefinitionConnectionConfigurationArgs
{
Data = new Aws.Bedrock.Inputs.AgentFlowDefinitionConnectionConfigurationDataArgs
{
SourceOutput = "document",
TargetInput = "topic",
},
},
},
new Aws.Bedrock.Inputs.AgentFlowDefinitionConnectionArgs
{
Name = "Prompt_1PromptsNode0ToFlowOutputNodeFlowOutputNode0",
Source = "Prompt_1",
Target = "FlowOutputNode",
Type = "Data",
Configuration = new Aws.Bedrock.Inputs.AgentFlowDefinitionConnectionConfigurationArgs
{
Data = new Aws.Bedrock.Inputs.AgentFlowDefinitionConnectionConfigurationDataArgs
{
SourceOutput = "modelCompletion",
TargetInput = "document",
},
},
},
},
Nodes = new[]
{
new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeArgs
{
Name = "FlowInputNode",
Type = "Input",
Configuration = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationArgs
{
Input = null,
},
Outputs = new[]
{
new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeOutputArgs
{
Name = "document",
Type = "String",
},
},
},
new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeArgs
{
Name = "Prompt_1",
Type = "Prompt",
Configuration = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationArgs
{
Prompt = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptArgs
{
SourceConfiguration = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationArgs
{
Inline = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineArgs
{
ModelId = "amazon.titan-text-express-v1",
TemplateType = "TEXT",
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
{
Text = "Write a paragraph about {{topic}}.",
InputVariables = new[]
{
new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextInputVariableArgs
{
Name = "topic",
},
},
},
},
},
},
},
},
Inputs = new[]
{
new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeInputArgs
{
Expression = "$.data",
Name = "topic",
Type = "String",
},
},
Outputs = new[]
{
new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeOutputArgs
{
Name = "modelCompletion",
Type = "String",
},
},
},
new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeArgs
{
Name = "FlowOutputNode",
Type = "Output",
Configuration = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationArgs
{
Output = null,
},
Inputs = new[]
{
new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeInputArgs
{
Expression = "$.data",
Name = "document",
Type = "String",
},
},
},
},
},
});
});
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 java.util.List;
import java.util.ArrayList;
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")
.executionRoleArn(exampleAwsIamRole.arn())
.definition(AgentFlowDefinitionArgs.builder()
.connections(
AgentFlowDefinitionConnectionArgs.builder()
.name("FlowInputNodeFlowInputNode0ToPrompt_1PromptsNode0")
.source("FlowInputNode")
.target("Prompt_1")
.type("Data")
.configuration(AgentFlowDefinitionConnectionConfigurationArgs.builder()
.data(AgentFlowDefinitionConnectionConfigurationDataArgs.builder()
.sourceOutput("document")
.targetInput("topic")
.build())
.build())
.build(),
AgentFlowDefinitionConnectionArgs.builder()
.name("Prompt_1PromptsNode0ToFlowOutputNodeFlowOutputNode0")
.source("Prompt_1")
.target("FlowOutputNode")
.type("Data")
.configuration(AgentFlowDefinitionConnectionConfigurationArgs.builder()
.data(AgentFlowDefinitionConnectionConfigurationDataArgs.builder()
.sourceOutput("modelCompletion")
.targetInput("document")
.build())
.build())
.build())
.nodes(
AgentFlowDefinitionNodeArgs.builder()
.name("FlowInputNode")
.type("Input")
.configuration(AgentFlowDefinitionNodeConfigurationArgs.builder()
.input(AgentFlowDefinitionNodeConfigurationInputArgs.builder()
.build())
.build())
.outputs(AgentFlowDefinitionNodeOutputArgs.builder()
.name("document")
.type("String")
.build())
.build(),
AgentFlowDefinitionNodeArgs.builder()
.name("Prompt_1")
.type("Prompt")
.configuration(AgentFlowDefinitionNodeConfigurationArgs.builder()
.prompt(AgentFlowDefinitionNodeConfigurationPromptArgs.builder()
.sourceConfiguration(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationArgs.builder()
.inline(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineArgs.builder()
.modelId("amazon.titan-text-express-v1")
.templateType("TEXT")
.inferenceConfiguration(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfigurationArgs.builder()
.text(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfigurationTextArgs.builder()
.maxTokens(2048)
.stopSequences("User:")
.temperature(0.0)
.topP(0.8999999761581421)
.build())
.build())
.templateConfiguration(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationArgs.builder()
.text(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextArgs.builder()
.text("Write a paragraph about {{topic}}.")
.inputVariables(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextInputVariableArgs.builder()
.name("topic")
.build())
.build())
.build())
.build())
.build())
.build())
.build())
.inputs(AgentFlowDefinitionNodeInputArgs.builder()
.expression("$.data")
.name("topic")
.type("String")
.build())
.outputs(AgentFlowDefinitionNodeOutputArgs.builder()
.name("modelCompletion")
.type("String")
.build())
.build(),
AgentFlowDefinitionNodeArgs.builder()
.name("FlowOutputNode")
.type("Output")
.configuration(AgentFlowDefinitionNodeConfigurationArgs.builder()
.output(AgentFlowDefinitionNodeConfigurationOutputArgs.builder()
.build())
.build())
.inputs(AgentFlowDefinitionNodeInputArgs.builder()
.expression("$.data")
.name("document")
.type("String")
.build())
.build())
.build())
.build());
}
}
resources:
example:
type: aws:bedrock:AgentFlow
properties:
name: example
executionRoleArn: ${exampleAwsIamRole.arn}
definition:
connections:
- name: FlowInputNodeFlowInputNode0ToPrompt_1PromptsNode0
source: FlowInputNode
target: Prompt_1
type: Data
configuration:
data:
sourceOutput: document
targetInput: topic
- name: Prompt_1PromptsNode0ToFlowOutputNodeFlowOutputNode0
source: Prompt_1
target: FlowOutputNode
type: Data
configuration:
data:
sourceOutput: modelCompletion
targetInput: document
nodes:
- name: FlowInputNode
type: Input
configuration:
input: {}
outputs:
- name: document
type: String
- name: Prompt_1
type: Prompt
configuration:
prompt:
sourceConfiguration:
inline:
modelId: amazon.titan-text-express-v1
templateType: TEXT
inferenceConfiguration:
text:
maxTokens: 2048
stopSequences:
- 'User:'
temperature: 0
topP: 0.8999999761581421
templateConfiguration:
text:
text: Write a paragraph about {{topic}}.
inputVariables:
- name: topic
inputs:
- expression: $.data
name: topic
type: String
outputs:
- name: modelCompletion
type: String
- name: FlowOutputNode
type: Output
configuration:
output: {}
inputs:
- expression: $.data
name: document
type: String
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.
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,
TopP = 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,
TopP = 0,
},
},
TemplateConfiguration = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationArgs
{
Chat = new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatArgs
{
InputVariables = new[]
{
new Aws.Bedrock.Inputs.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatInputVariableArgs
{
Name = "string",
},
},
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",
},
},
},
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{
InputVariables: bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatInputVariableArray{
&bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatInputVariableArgs{
Name: pulumi.String("string"),
},
},
Messages: bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageArray{
&bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageArgs{
Role: pulumi.String("string"),
Content: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContentArgs{
CachePoint: &bedrock.AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContentCachePointArgs{
Type: pulumi.String("string"),
},
Text: 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"),
},
})
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()
.inputVariables(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatInputVariableArgs.builder()
.name("string")
.build())
.messages(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageArgs.builder()
.role("string")
.content(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContentArgs.builder()
.cachePoint(AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContentCachePointArgs.builder()
.type("string")
.build())
.text("string")
.build())
.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": 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": {
"input_variables": [{
"name": "string",
}],
"messages": [{
"role": "string",
"content": {
"cache_point": {
"type": "string",
},
"text": "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: {
inputVariables: [{
name: "string",
}],
messages: [{
role: "string",
content: {
cachePoint: {
type: "string",
},
text: "string",
},
}],
systems: [{
cachePoint: {
type: "string",
},
text: "string",
}],
toolConfiguration: {
toolChoice: {
any: {},
auto: {},
tool: {
name: "string",
},
},
tools: [{
cachePoint: {
type: "string",
},
toolSpec: {
name: "string",
description: "string",
inputSchema: {
json: "string",
},
},
}],
},
},
text: {
text: "string",
cachePoint: {
type: "string",
},
inputVariables: [{
name: "string",
}],
},
},
},
resource: {
promptArn: "string",
},
},
},
retrieval: {
serviceConfiguration: {
s3: {
bucketName: "string",
},
},
},
storage: {
serviceConfiguration: {
s3: {
bucketName: "string",
},
},
},
},
inputs: [{
expression: "string",
name: "string",
type: "string",
category: "string",
}],
outputs: [{
name: "string",
type: "string",
}],
}],
},
description: "string",
name: "string",
region: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: aws:bedrock:AgentFlow
properties:
customerEncryptionKeyArn: string
definition:
connections:
- configuration:
conditional:
condition: string
data:
sourceOutput: string
targetInput: string
name: string
source: string
target: string
type: string
nodes:
- configuration:
agent:
agentAliasArn: string
collector: {}
condition:
conditions:
- expression: string
name: string
inlineCode:
code: string
language: string
input: {}
iterator: {}
knowledgeBase:
guardrailConfiguration:
guardrailIdentifier: string
guardrailVersion: string
inferenceConfiguration:
text:
maxTokens: 0
stopSequences:
- string
temperature: 0
topP: 0
knowledgeBaseId: string
modelId: string
numberOfResults: 0
lambdaFunction:
lambdaArn: string
lex:
botAliasArn: string
localeId: string
output: {}
prompt:
guardrailConfiguration:
guardrailIdentifier: string
guardrailVersion: string
sourceConfiguration:
inline:
additionalModelRequestFields: string
inferenceConfiguration:
text:
maxTokens: 0
stopSequences:
- string
temperature: 0
topP: 0
modelId: string
templateConfiguration:
chat:
inputVariables:
- name: string
messages:
- content:
cachePoint:
type: string
text: string
role: string
systems:
- cachePoint:
type: string
text: string
toolConfiguration:
toolChoice:
any: {}
auto: {}
tool:
name: string
tools:
- cachePoint:
type: string
toolSpec:
description: string
inputSchema:
json: string
name: string
text:
cachePoint:
type: string
inputVariables:
- name: string
text: string
templateType: string
resource:
promptArn: string
retrieval:
serviceConfiguration:
s3:
bucketName: string
storage:
serviceConfiguration:
s3:
bucketName: string
inputs:
- category: string
expression: string
name: string
type: string
name: string
outputs:
- name: string
type: string
type: string
description: string
executionRoleArn: string
name: string
region: string
tags:
string: string
timeouts:
create: string
delete: string
update: string
AgentFlow Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AgentFlow resource accepts the following input properties:
- Execution
Role stringArn The Amazon Resource Name (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.
The following arguments are optional:
- Customer
Encryption stringKey Arn - The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.
- Definition
Agent
Flow Definition - A definition of the nodes and connections between nodes in the flow. See Definition for more information.
- Description string
- A description for the flow.
- Name string
- A name for the flow.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Agent
Flow Timeouts
- Execution
Role stringArn The Amazon Resource Name (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.
The following arguments are optional:
- Customer
Encryption stringKey Arn - The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.
- Definition
Agent
Flow Definition Args - A definition of the nodes and connections between nodes in the flow. See Definition for more information.
- Description string
- A description for the flow.
- Name string
- A name for the flow.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map[string]string
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Agent
Flow Timeouts Args
- execution
Role StringArn The Amazon Resource Name (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.
The following arguments are optional:
- customer
Encryption StringKey Arn - The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.
- definition
Agent
Flow Definition - A definition of the nodes and connections between nodes in the flow. See Definition for more information.
- description String
- A description for the flow.
- name String
- A name for the flow.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String,String>
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Agent
Flow Timeouts
- execution
Role stringArn The Amazon Resource Name (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.
The following arguments are optional:
- customer
Encryption stringKey Arn - The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.
- definition
Agent
Flow Definition - A definition of the nodes and connections between nodes in the flow. See Definition for more information.
- description string
- A description for the flow.
- name string
- A name for the flow.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- {[key: string]: string}
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Agent
Flow Timeouts
- execution_
role_ strarn The Amazon Resource Name (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.
The following arguments are optional:
- customer_
encryption_ strkey_ arn - The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.
- definition
Agent
Flow Definition Args - A definition of the nodes and connections between nodes in the flow. See Definition for more information.
- description str
- A description for the flow.
- name str
- A name for the flow.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Mapping[str, str]
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Agent
Flow Timeouts Args
- execution
Role StringArn The Amazon Resource Name (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.
The following arguments are optional:
- customer
Encryption StringKey Arn - The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.
- definition Property Map
- A definition of the nodes and connections between nodes in the flow. See Definition for more information.
- description String
- A description for the flow.
- name String
- A name for the flow.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String>
- Key-value map of resource tags. If configured with a provider
default_tags
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
- The Amazon Resource Name (ARN) of the flow.
- Created
At string - The time at which the flow was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of the flow.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Updated
At string - The time at which the flow was last updated.
- Version string
- The version of the flow.
- Arn string
- The Amazon Resource Name (ARN) of the flow.
- Created
At string - The time at which the flow was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of the flow.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Updated
At string - The time at which the flow was last updated.
- Version string
- The version of the flow.
- arn String
- The Amazon Resource Name (ARN) of the flow.
- created
At String - The time at which the flow was created.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of the flow.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - updated
At String - The time at which the flow was last updated.
- version String
- The version of the flow.
- arn string
- The Amazon Resource Name (ARN) of the flow.
- created
At string - The time at which the flow was created.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- The status of the flow.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - updated
At string - The time at which the flow was last updated.
- version string
- The version of the flow.
- arn str
- The Amazon Resource Name (ARN) of the flow.
- created_
at str - The time at which the flow was created.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- The status of the flow.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - updated_
at str - The time at which the flow was last updated.
- version str
- The version of the flow.
- arn String
- The Amazon Resource Name (ARN) of the flow.
- created
At String - The time at which the flow was created.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of the flow.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - updated
At String - The time at which the flow was last updated.
- version String
- The 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}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- The Amazon Resource Name (ARN) of the flow.
- Created
At string - The time at which the flow was created.
- Customer
Encryption stringKey Arn - The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.
- Definition
Agent
Flow Definition - A definition of the nodes and connections between nodes in the flow. See Definition for more information.
- Description string
- A description for the flow.
- Execution
Role stringArn The Amazon Resource Name (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.
The following arguments are optional:
- Name string
- A name for the flow.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Status string
- The status of the flow.
- Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Timeouts
Agent
Flow Timeouts - Updated
At string - The time at which the flow was last updated.
- Version string
- The version of the flow.
- Arn string
- The Amazon Resource Name (ARN) of the flow.
- Created
At string - The time at which the flow was created.
- Customer
Encryption stringKey Arn - The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.
- Definition
Agent
Flow Definition Args - A definition of the nodes and connections between nodes in the flow. See Definition for more information.
- Description string
- A description for the flow.
- Execution
Role stringArn The Amazon Resource Name (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.
The following arguments are optional:
- Name string
- A name for the flow.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Status string
- The status of the flow.
- map[string]string
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Timeouts
Agent
Flow Timeouts Args - Updated
At string - The time at which the flow was last updated.
- Version string
- The version of the flow.
- arn String
- The Amazon Resource Name (ARN) of the flow.
- created
At String - The time at which the flow was created.
- customer
Encryption StringKey Arn - The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.
- definition
Agent
Flow Definition - A definition of the nodes and connections between nodes in the flow. See Definition for more information.
- description String
- A description for the flow.
- execution
Role StringArn The Amazon Resource Name (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.
The following arguments are optional:
- name String
- A name for the flow.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status String
- The status of the flow.
- Map<String,String>
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Agent
Flow Timeouts - updated
At String - The time at which the flow was last updated.
- version String
- The version of the flow.
- arn string
- The Amazon Resource Name (ARN) of the flow.
- created
At string - The time at which the flow was created.
- customer
Encryption stringKey Arn - The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.
- definition
Agent
Flow Definition - A definition of the nodes and connections between nodes in the flow. See Definition for more information.
- description string
- A description for the flow.
- execution
Role stringArn The Amazon Resource Name (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.
The following arguments are optional:
- name string
- A name for the flow.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status string
- The status of the flow.
- {[key: string]: string}
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Agent
Flow Timeouts - updated
At string - The time at which the flow was last updated.
- version string
- The version of the flow.
- arn str
- The Amazon Resource Name (ARN) of the flow.
- created_
at str - The time at which the flow was created.
- customer_
encryption_ strkey_ arn - The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.
- definition
Agent
Flow Definition Args - A definition of the nodes and connections between nodes in the flow. See Definition for more information.
- description str
- A description for the flow.
- execution_
role_ strarn The Amazon Resource Name (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.
The following arguments are optional:
- name str
- A name for the flow.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status str
- The status of the flow.
- Mapping[str, str]
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Agent
Flow Timeouts Args - updated_
at str - The time at which the flow was last updated.
- version str
- The version of the flow.
- arn String
- The Amazon Resource Name (ARN) of the flow.
- created
At String - The time at which the flow was created.
- customer
Encryption StringKey Arn - The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.
- definition Property Map
- A definition of the nodes and connections between nodes in the flow. See Definition for more information.
- description String
- A description for the flow.
- execution
Role StringArn The Amazon Resource Name (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.
The following arguments are optional:
- name String
- A name for the flow.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status String
- The status of the flow.
- Map<String>
- Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts Property Map
- updated
At String - The time at which the flow was last updated.
- version String
- The version of the flow.
Supporting Types
AgentFlowDefinition, AgentFlowDefinitionArgs
- Connections
List<Agent
Flow Definition Connection> - A list of connection definitions in the flow. See Connection for more information.
- Nodes
List<Agent
Flow Definition Node> - A list of node definitions in the flow. See Node for more information.
- Connections
[]Agent
Flow Definition Connection - A list of connection definitions in the flow. See Connection for more information.
- Nodes
[]Agent
Flow Definition Node - A list of node definitions in the flow. See Node for more information.
- connections
List<Agent
Flow Definition Connection> - A list of connection definitions in the flow. See Connection for more information.
- nodes
List<Agent
Flow Definition Node> - A list of node definitions in the flow. See Node for more information.
- connections
Agent
Flow Definition Connection[] - A list of connection definitions in the flow. See Connection for more information.
- nodes
Agent
Flow Definition Node[] - A list of node definitions in the flow. See Node for more information.
- connections
Sequence[Agent
Flow Definition Connection] - A list of connection definitions in the flow. See Connection for more information.
- nodes
Sequence[Agent
Flow Definition Node] - A list of node definitions in the flow. See Node for more information.
- connections List<Property Map>
- A list of connection definitions in the flow. See Connection for more information.
- nodes List<Property Map>
- A list of node definitions in the flow. See Node for more information.
AgentFlowDefinitionConnection, AgentFlowDefinitionConnectionArgs
- Name string
- A name for the connection that you can reference.
- Source string
- The node that the connection starts at.
- Target string
- The node that the connection ends at.
- Type string
- Whether the source node that the connection begins from is a condition node
Conditional
or notData
. - Configuration
Agent
Flow Definition Connection Configuration - Configuration of the connection. See Connection Configuration for more information.
- Name string
- A name for the connection that you can reference.
- Source string
- The node that the connection starts at.
- Target string
- The node that the connection ends at.
- Type string
- Whether the source node that the connection begins from is a condition node
Conditional
or notData
. - Configuration
Agent
Flow Definition Connection Configuration - Configuration of the connection. See Connection Configuration for more information.
- name String
- A name for the connection that you can reference.
- source String
- The node that the connection starts at.
- target String
- The node that the connection ends at.
- type String
- Whether the source node that the connection begins from is a condition node
Conditional
or notData
. - configuration
Agent
Flow Definition Connection Configuration - Configuration of the connection. See Connection Configuration for more information.
- name string
- A name for the connection that you can reference.
- source string
- The node that the connection starts at.
- target string
- The node that the connection ends at.
- type string
- Whether the source node that the connection begins from is a condition node
Conditional
or notData
. - configuration
Agent
Flow Definition Connection Configuration - Configuration of the connection. See Connection Configuration for more information.
- name str
- A name for the connection that you can reference.
- source str
- The node that the connection starts at.
- target str
- The node that the connection ends at.
- type str
- Whether the source node that the connection begins from is a condition node
Conditional
or notData
. - configuration
Agent
Flow Definition Connection Configuration - Configuration of the connection. See Connection Configuration for more information.
- name String
- A name for the connection that you can reference.
- source String
- The node that the connection starts at.
- target String
- The node that the connection ends at.
- type String
- Whether the source node that the connection begins from is a condition node
Conditional
or notData
. - configuration Property Map
- Configuration of the connection. See Connection Configuration for more information.
AgentFlowDefinitionConnectionConfiguration, AgentFlowDefinitionConnectionConfigurationArgs
- Conditional
Agent
Flow Definition Connection Configuration Conditional - The configuration of a connection originating from a Condition node. See Conditional Connection Configuration for more information.
- Data
Agent
Flow Definition Connection Configuration Data - The configuration of a connection originating from a node that isn’t a Condition node. See Data Connection Configuration for more information.
- Conditional
Agent
Flow Definition Connection Configuration Conditional - The configuration of a connection originating from a Condition node. See Conditional Connection Configuration for more information.
- Data
Agent
Flow Definition Connection Configuration Data - The configuration of a connection originating from a node that isn’t a Condition node. See Data Connection Configuration for more information.
- conditional
Agent
Flow Definition Connection Configuration Conditional - The configuration of a connection originating from a Condition node. See Conditional Connection Configuration for more information.
- data
Agent
Flow Definition Connection Configuration Data - The configuration of a connection originating from a node that isn’t a Condition node. See Data Connection Configuration for more information.
- conditional
Agent
Flow Definition Connection Configuration Conditional - The configuration of a connection originating from a Condition node. See Conditional Connection Configuration for more information.
- data
Agent
Flow Definition Connection Configuration Data - The configuration of a connection originating from a node that isn’t a Condition node. See Data Connection Configuration for more information.
- conditional
Agent
Flow Definition Connection Configuration Conditional - The configuration of a connection originating from a Condition node. See Conditional Connection Configuration for more information.
- data
Agent
Flow Definition Connection Configuration Data - The configuration of a connection originating from a node that isn’t a Condition node. See Data Connection Configuration for more information.
- conditional Property Map
- The configuration of a connection originating from a Condition node. See Conditional Connection Configuration for more information.
- data Property Map
- The configuration of a connection originating from a node that isn’t a Condition node. See Data Connection Configuration for more information.
AgentFlowDefinitionConnectionConfigurationConditional, AgentFlowDefinitionConnectionConfigurationConditionalArgs
- Condition string
- Condition string
- condition String
- condition string
- condition str
- condition String
AgentFlowDefinitionConnectionConfigurationData, AgentFlowDefinitionConnectionConfigurationDataArgs
- Source
Output string - The name of the output in the source node that the connection begins from.
- Target
Input string - The name of the input in the target node that the connection ends at.
- Source
Output string - The name of the output in the source node that the connection begins from.
- Target
Input string - The name of the input in the target node that the connection ends at.
- source
Output String - The name of the output in the source node that the connection begins from.
- target
Input String - The name of the input in the target node that the connection ends at.
- source
Output string - The name of the output in the source node that the connection begins from.
- target
Input string - The name of the input in the target node that the connection ends at.
- source_
output str - The name of the output in the source node that the connection begins from.
- target_
input str - The name of the input in the target node that the connection ends at.
- source
Output String - The name of the output in the source node that the connection begins from.
- target
Input String - The name of the input in the target node that the connection ends at.
AgentFlowDefinitionNode, AgentFlowDefinitionNodeArgs
- Name string
- A name for the node.
- Type string
- The type of node. This value must match the name of the key that you provide in the configuration. Valid values:
Agent
,Collector
,Condition
,Input
,Iterator
,KnowledgeBase
,LambdaFunction
,Lex
,Output
,Prompt
,Retrieval
,Storage
- Configuration
Agent
Flow Definition Node Configuration - Contains configurations for the node. See Node Configuration for more information.
- Inputs
List<Agent
Flow Definition Node Input> - A list of objects containing information about an input into the node. See Node Input for more information.
- Outputs
List<Agent
Flow Definition Node Output> - A list of objects containing information about an output from the node. See Node Output for more information.
- Name string
- A name for the node.
- Type string
- The type of node. This value must match the name of the key that you provide in the configuration. Valid values:
Agent
,Collector
,Condition
,Input
,Iterator
,KnowledgeBase
,LambdaFunction
,Lex
,Output
,Prompt
,Retrieval
,Storage
- Configuration
Agent
Flow Definition Node Configuration - Contains configurations for the node. See Node Configuration for more information.
- Inputs
[]Agent
Flow Definition Node Input Type - A list of objects containing information about an input into the node. See Node Input for more information.
- Outputs
[]Agent
Flow Definition Node Output Type - A list of objects containing information about an output from the node. See Node Output for more information.
- name String
- A name for the node.
- type String
- The type of node. This value must match the name of the key that you provide in the configuration. Valid values:
Agent
,Collector
,Condition
,Input
,Iterator
,KnowledgeBase
,LambdaFunction
,Lex
,Output
,Prompt
,Retrieval
,Storage
- configuration
Agent
Flow Definition Node Configuration - Contains configurations for the node. See Node Configuration for more information.
- inputs
List<Agent
Flow Definition Node Input> - A list of objects containing information about an input into the node. See Node Input for more information.
- outputs
List<Agent
Flow Definition Node Output> - A list of objects containing information about an output from the node. See Node Output for more information.
- name string
- A name for the node.
- type string
- The type of node. This value must match the name of the key that you provide in the configuration. Valid values:
Agent
,Collector
,Condition
,Input
,Iterator
,KnowledgeBase
,LambdaFunction
,Lex
,Output
,Prompt
,Retrieval
,Storage
- configuration
Agent
Flow Definition Node Configuration - Contains configurations for the node. See Node Configuration for more information.
- inputs
Agent
Flow Definition Node Input[] - A list of objects containing information about an input into the node. See Node Input for more information.
- outputs
Agent
Flow Definition Node Output[] - A list of objects containing information about an output from the node. See Node Output for more information.
- name str
- A name for the node.
- type str
- The type of node. This value must match the name of the key that you provide in the configuration. Valid values:
Agent
,Collector
,Condition
,Input
,Iterator
,KnowledgeBase
,LambdaFunction
,Lex
,Output
,Prompt
,Retrieval
,Storage
- configuration
Agent
Flow Definition Node Configuration - Contains configurations for the node. See Node Configuration for more information.
- inputs
Sequence[Agent
Flow Definition Node Input] - A list of objects containing information about an input into the node. See Node Input for more information.
- outputs
Sequence[Agent
Flow Definition Node Output] - A list of objects containing information about an output from the node. See Node Output for more information.
- name String
- A name for the node.
- type String
- The type of node. This value must match the name of the key that you provide in the configuration. Valid values:
Agent
,Collector
,Condition
,Input
,Iterator
,KnowledgeBase
,LambdaFunction
,Lex
,Output
,Prompt
,Retrieval
,Storage
- configuration Property Map
- Contains configurations for the node. See Node Configuration for more information.
- inputs List<Property Map>
- A list of objects containing information about an input into the node. See Node Input for more information.
- outputs List<Property Map>
- A list of objects containing information about an output from the node. See Node Output for more information.
AgentFlowDefinitionNodeConfiguration, AgentFlowDefinitionNodeConfigurationArgs
- Agent
Agent
Flow Definition Node Configuration Agent - Contains configurations for an agent node in your flow. Invokes an alias of an agent and returns the response. See Agent Node Configuration for more information.
- Collector
Agent
Flow Definition Node Configuration Collector - Contains configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs. This object has no fields.
- Condition
Agent
Flow Definition Node Configuration Condition - Inline
Code AgentFlow Definition Node Configuration Inline Code - Contains configurations for an inline code node in your flow. See Inline Code Node Configuration for more information.
- Input
Agent
Flow Definition Node Configuration Input - Iterator
Agent
Flow Definition Node Configuration Iterator - Contains 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 will return 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 object has no fields.
- Knowledge
Base AgentFlow Definition Node Configuration Knowledge Base - Contains configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response. See Knowledge Base Node Configuration for more information.
- Lambda
Function AgentFlow Definition Node Configuration Lambda Function - Contains configurations for a Lambda function node in your flow. Invokes a Lambda function. See Lambda Function Node Configuration for more information.
- Lex
Agent
Flow Definition Node Configuration Lex - Contains 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 Lex Node Configuration for more information.
- Output
Agent
Flow Definition Node Configuration Output - Prompt
Agent
Flow Definition Node Configuration Prompt - Contains 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 Prompt Node Configuration for more information.
- Retrieval
Agent
Flow Definition Node Configuration Retrieval - Contains configurations for a Retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output. See Retrieval Node Configuration for more information.
- Storage
Agent
Flow Definition Node Configuration Storage - Contains configurations for a Storage node in your flow. Stores an input in an Amazon S3 location. See Storage Node Configuration for more information.
- Agent
Agent
Flow Definition Node Configuration Agent - Contains configurations for an agent node in your flow. Invokes an alias of an agent and returns the response. See Agent Node Configuration for more information.
- Collector
Agent
Flow Definition Node Configuration Collector - Contains configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs. This object has no fields.
- Condition
Agent
Flow Definition Node Configuration Condition - Inline
Code AgentFlow Definition Node Configuration Inline Code - Contains configurations for an inline code node in your flow. See Inline Code Node Configuration for more information.
- Input
Agent
Flow Definition Node Configuration Input Type - Iterator
Agent
Flow Definition Node Configuration Iterator - Contains 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 will return 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 object has no fields.
- Knowledge
Base AgentFlow Definition Node Configuration Knowledge Base - Contains configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response. See Knowledge Base Node Configuration for more information.
- Lambda
Function AgentFlow Definition Node Configuration Lambda Function - Contains configurations for a Lambda function node in your flow. Invokes a Lambda function. See Lambda Function Node Configuration for more information.
- Lex
Agent
Flow Definition Node Configuration Lex - Contains 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 Lex Node Configuration for more information.
- Output
Agent
Flow Definition Node Configuration Output Type - Prompt
Agent
Flow Definition Node Configuration Prompt - Contains 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 Prompt Node Configuration for more information.
- Retrieval
Agent
Flow Definition Node Configuration Retrieval - Contains configurations for a Retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output. See Retrieval Node Configuration for more information.
- Storage
Agent
Flow Definition Node Configuration Storage - Contains configurations for a Storage node in your flow. Stores an input in an Amazon S3 location. See Storage Node Configuration for more information.
- agent
Agent
Flow Definition Node Configuration Agent - Contains configurations for an agent node in your flow. Invokes an alias of an agent and returns the response. See Agent Node Configuration for more information.
- collector
Agent
Flow Definition Node Configuration Collector - Contains configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs. This object has no fields.
- condition
Agent
Flow Definition Node Configuration Condition - inline
Code AgentFlow Definition Node Configuration Inline Code - Contains configurations for an inline code node in your flow. See Inline Code Node Configuration for more information.
- input
Agent
Flow Definition Node Configuration Input - iterator
Agent
Flow Definition Node Configuration Iterator - Contains 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 will return 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 object has no fields.
- knowledge
Base AgentFlow Definition Node Configuration Knowledge Base - Contains configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response. See Knowledge Base Node Configuration for more information.
- lambda
Function AgentFlow Definition Node Configuration Lambda Function - Contains configurations for a Lambda function node in your flow. Invokes a Lambda function. See Lambda Function Node Configuration for more information.
- lex
Agent
Flow Definition Node Configuration Lex - Contains 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 Lex Node Configuration for more information.
- output
Agent
Flow Definition Node Configuration Output - prompt
Agent
Flow Definition Node Configuration Prompt - Contains 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 Prompt Node Configuration for more information.
- retrieval
Agent
Flow Definition Node Configuration Retrieval - Contains configurations for a Retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output. See Retrieval Node Configuration for more information.
- storage
Agent
Flow Definition Node Configuration Storage - Contains configurations for a Storage node in your flow. Stores an input in an Amazon S3 location. See Storage Node Configuration for more information.
- agent
Agent
Flow Definition Node Configuration Agent - Contains configurations for an agent node in your flow. Invokes an alias of an agent and returns the response. See Agent Node Configuration for more information.
- collector
Agent
Flow Definition Node Configuration Collector - Contains configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs. This object has no fields.
- condition
Agent
Flow Definition Node Configuration Condition - inline
Code AgentFlow Definition Node Configuration Inline Code - Contains configurations for an inline code node in your flow. See Inline Code Node Configuration for more information.
- input
Agent
Flow Definition Node Configuration Input - iterator
Agent
Flow Definition Node Configuration Iterator - Contains 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 will return 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 object has no fields.
- knowledge
Base AgentFlow Definition Node Configuration Knowledge Base - Contains configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response. See Knowledge Base Node Configuration for more information.
- lambda
Function AgentFlow Definition Node Configuration Lambda Function - Contains configurations for a Lambda function node in your flow. Invokes a Lambda function. See Lambda Function Node Configuration for more information.
- lex
Agent
Flow Definition Node Configuration Lex - Contains 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 Lex Node Configuration for more information.
- output
Agent
Flow Definition Node Configuration Output - prompt
Agent
Flow Definition Node Configuration Prompt - Contains 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 Prompt Node Configuration for more information.
- retrieval
Agent
Flow Definition Node Configuration Retrieval - Contains configurations for a Retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output. See Retrieval Node Configuration for more information.
- storage
Agent
Flow Definition Node Configuration Storage - Contains configurations for a Storage node in your flow. Stores an input in an Amazon S3 location. See Storage Node Configuration for more information.
- agent
Agent
Flow Definition Node Configuration Agent - Contains configurations for an agent node in your flow. Invokes an alias of an agent and returns the response. See Agent Node Configuration for more information.
- collector
Agent
Flow Definition Node Configuration Collector - Contains configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs. This object has no fields.
- condition
Agent
Flow Definition Node Configuration Condition - inline_
code AgentFlow Definition Node Configuration Inline Code - Contains configurations for an inline code node in your flow. See Inline Code Node Configuration for more information.
- input
Agent
Flow Definition Node Configuration Input - iterator
Agent
Flow Definition Node Configuration Iterator - Contains 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 will return 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 object has no fields.
- knowledge_
base AgentFlow Definition Node Configuration Knowledge Base - Contains configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response. See Knowledge Base Node Configuration for more information.
- lambda_
function AgentFlow Definition Node Configuration Lambda Function - Contains configurations for a Lambda function node in your flow. Invokes a Lambda function. See Lambda Function Node Configuration for more information.
- lex
Agent
Flow Definition Node Configuration Lex - Contains 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 Lex Node Configuration for more information.
- output
Agent
Flow Definition Node Configuration Output - prompt
Agent
Flow Definition Node Configuration Prompt - Contains 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 Prompt Node Configuration for more information.
- retrieval
Agent
Flow Definition Node Configuration Retrieval - Contains configurations for a Retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output. See Retrieval Node Configuration for more information.
- storage
Agent
Flow Definition Node Configuration Storage - Contains configurations for a Storage node in your flow. Stores an input in an Amazon S3 location. See Storage Node Configuration for more information.
- agent Property Map
- Contains configurations for an agent node in your flow. Invokes an alias of an agent and returns the response. See Agent Node Configuration for more information.
- collector Property Map
- Contains configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs. This object has no fields.
- condition Property Map
- inline
Code Property Map - Contains configurations for an inline code node in your flow. See Inline Code Node Configuration for more information.
- input Property Map
- iterator Property Map
- Contains 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 will return 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 object has no fields.
- knowledge
Base Property Map - Contains configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response. See Knowledge Base Node Configuration for more information.
- lambda
Function Property Map - Contains configurations for a Lambda function node in your flow. Invokes a Lambda function. See Lambda Function Node Configuration for more information.
- lex Property Map
- Contains 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 Lex Node Configuration for more information.
- output Property Map
- prompt Property Map
- Contains 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 Prompt Node Configuration for more information.
- retrieval Property Map
- Contains configurations for a Retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output. See Retrieval Node Configuration for more information.
- storage Property Map
- Contains configurations for a Storage node in your flow. Stores an input in an Amazon S3 location. See Storage Node Configuration for more information.
AgentFlowDefinitionNodeConfigurationAgent, AgentFlowDefinitionNodeConfigurationAgentArgs
- Agent
Alias stringArn - The Amazon Resource Name (ARN) of the alias of the agent to invoke.
- Agent
Alias stringArn - The Amazon Resource Name (ARN) of the alias of the agent to invoke.
- agent
Alias StringArn - The Amazon Resource Name (ARN) of the alias of the agent to invoke.
- agent
Alias stringArn - The Amazon Resource Name (ARN) of the alias of the agent to invoke.
- agent_
alias_ strarn - The Amazon Resource Name (ARN) of the alias of the agent to invoke.
- agent
Alias StringArn - The Amazon Resource Name (ARN) of the alias of the agent to invoke.
AgentFlowDefinitionNodeConfigurationCondition, AgentFlowDefinitionNodeConfigurationConditionArgs
AgentFlowDefinitionNodeConfigurationConditionCondition, AgentFlowDefinitionNodeConfigurationConditionConditionArgs
- Name string
- A name for the flow.
- Expression string
- Name string
- A name for the flow.
- Expression string
- name String
- A name for the flow.
- expression String
- name string
- A name for the flow.
- expression string
- name str
- A name for the flow.
- expression str
- name String
- A name for the flow.
- expression String
AgentFlowDefinitionNodeConfigurationInlineCode, AgentFlowDefinitionNodeConfigurationInlineCodeArgs
AgentFlowDefinitionNodeConfigurationKnowledgeBase, AgentFlowDefinitionNodeConfigurationKnowledgeBaseArgs
- Knowledge
Base stringId - The unique identifier of the knowledge base to query.
- Model
Id string - Guardrail
Configuration AgentFlow Definition Node Configuration Knowledge Base Guardrail Configuration - Contains configurations for a guardrail to apply during query and response generation for the knowledge base in this configuration. See Guardrail Configuration for more information.
- Inference
Configuration AgentFlow Definition Node Configuration Knowledge Base Inference Configuration - Contains inference configurations for the prompt. See Prompt Inference Configuration for more information.
- Number
Of intResults
- Knowledge
Base stringId - The unique identifier of the knowledge base to query.
- Model
Id string - Guardrail
Configuration AgentFlow Definition Node Configuration Knowledge Base Guardrail Configuration - Contains configurations for a guardrail to apply during query and response generation for the knowledge base in this configuration. See Guardrail Configuration for more information.
- Inference
Configuration AgentFlow Definition Node Configuration Knowledge Base Inference Configuration - Contains inference configurations for the prompt. See Prompt Inference Configuration for more information.
- Number
Of intResults
- knowledge
Base StringId - The unique identifier of the knowledge base to query.
- model
Id String - guardrail
Configuration AgentFlow Definition Node Configuration Knowledge Base Guardrail Configuration - Contains configurations for a guardrail to apply during query and response generation for the knowledge base in this configuration. See Guardrail Configuration for more information.
- inference
Configuration AgentFlow Definition Node Configuration Knowledge Base Inference Configuration - Contains inference configurations for the prompt. See Prompt Inference Configuration for more information.
- number
Of IntegerResults
- knowledge
Base stringId - The unique identifier of the knowledge base to query.
- model
Id string - guardrail
Configuration AgentFlow Definition Node Configuration Knowledge Base Guardrail Configuration - Contains configurations for a guardrail to apply during query and response generation for the knowledge base in this configuration. See Guardrail Configuration for more information.
- inference
Configuration AgentFlow Definition Node Configuration Knowledge Base Inference Configuration - Contains inference configurations for the prompt. See Prompt Inference Configuration for more information.
- number
Of numberResults
- knowledge_
base_ strid - The unique identifier of the knowledge base to query.
- model_
id str - guardrail_
configuration AgentFlow Definition Node Configuration Knowledge Base Guardrail Configuration - Contains configurations for a guardrail to apply during query and response generation for the knowledge base in this configuration. See Guardrail Configuration for more information.
- inference_
configuration AgentFlow Definition Node Configuration Knowledge Base Inference Configuration - Contains inference configurations for the prompt. See Prompt Inference Configuration for more information.
- number_
of_ intresults
- knowledge
Base StringId - The unique identifier of the knowledge base to query.
- model
Id String - guardrail
Configuration Property Map - Contains configurations for a guardrail to apply during query and response generation for the knowledge base in this configuration. See Guardrail Configuration for more information.
- inference
Configuration Property Map - Contains inference configurations for the prompt. See Prompt Inference Configuration for more information.
- number
Of NumberResults
AgentFlowDefinitionNodeConfigurationKnowledgeBaseGuardrailConfiguration, AgentFlowDefinitionNodeConfigurationKnowledgeBaseGuardrailConfigurationArgs
- Guardrail
Identifier string - The unique identifier of the guardrail.
- Guardrail
Version string - The version of the guardrail.
- Guardrail
Identifier string - The unique identifier of the guardrail.
- Guardrail
Version string - The version of the guardrail.
- guardrail
Identifier String - The unique identifier of the guardrail.
- guardrail
Version String - The version of the guardrail.
- guardrail
Identifier string - The unique identifier of the guardrail.
- guardrail
Version string - The version of the guardrail.
- guardrail_
identifier str - The unique identifier of the guardrail.
- guardrail_
version str - The version of the guardrail.
- guardrail
Identifier String - The unique identifier of the guardrail.
- guardrail
Version String - The version of the guardrail.
AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfiguration, AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationArgs
AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationText, AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationTextArgs
- Max
Tokens int - Maximum number of tokens to return in the response.
- Stop
Sequences List<string> - List of strings that define sequences after which the model will stop generating.
- Temperature double
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- Top
P double - Percentage of most-likely candidates that the model considers for the next token.
- Max
Tokens int - Maximum number of tokens to return in the response.
- Stop
Sequences []string - List of strings that define sequences after which the model will stop generating.
- Temperature float64
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- Top
P float64 - Percentage of most-likely candidates that the model considers for the next token.
- max
Tokens Integer - Maximum number of tokens to return in the response.
- stop
Sequences List<String> - List of strings that define sequences after which the model will stop generating.
- temperature Double
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- top
P Double - Percentage of most-likely candidates that the model considers for the next token.
- max
Tokens number - Maximum number of tokens to return in the response.
- stop
Sequences string[] - List of strings that define sequences after which the model will stop generating.
- temperature number
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- top
P number - Percentage of most-likely candidates that the model considers for the next token.
- max_
tokens int - Maximum number of tokens to return in the response.
- stop_
sequences Sequence[str] - List of strings that define sequences after which the model will stop generating.
- temperature float
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- top_
p float - Percentage of most-likely candidates that the model considers for the next token.
- max
Tokens Number - Maximum number of tokens to return in the response.
- stop
Sequences List<String> - List of strings that define sequences after which the model will stop generating.
- temperature Number
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- top
P Number - Percentage of most-likely candidates that the model considers for the next token.
AgentFlowDefinitionNodeConfigurationLambdaFunction, AgentFlowDefinitionNodeConfigurationLambdaFunctionArgs
- Lambda
Arn string - The Amazon Resource Name (ARN) of the Lambda function to invoke.
- Lambda
Arn string - The Amazon Resource Name (ARN) of the Lambda function to invoke.
- lambda
Arn String - The Amazon Resource Name (ARN) of the Lambda function to invoke.
- lambda
Arn string - The Amazon Resource Name (ARN) of the Lambda function to invoke.
- lambda_
arn str - The Amazon Resource Name (ARN) of the Lambda function to invoke.
- lambda
Arn String - The Amazon Resource Name (ARN) of the Lambda function to invoke.
AgentFlowDefinitionNodeConfigurationLex, AgentFlowDefinitionNodeConfigurationLexArgs
- Bot
Alias stringArn - The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.
- Locale
Id string - The Region to invoke the Amazon Lex bot in
- Bot
Alias stringArn - The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.
- Locale
Id string - The Region to invoke the Amazon Lex bot in
- bot
Alias StringArn - The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.
- locale
Id String - The Region to invoke the Amazon Lex bot in
- bot
Alias stringArn - The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.
- locale
Id string - The Region to invoke the Amazon Lex bot in
- bot_
alias_ strarn - The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.
- locale_
id str - The Region to invoke the Amazon Lex bot in
- bot
Alias StringArn - The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.
- locale
Id String - The Region to invoke the Amazon Lex bot in
AgentFlowDefinitionNodeConfigurationPrompt, AgentFlowDefinitionNodeConfigurationPromptArgs
- Guardrail
Configuration AgentFlow Definition Node Configuration Prompt Guardrail Configuration - Contains configurations for a guardrail to apply during query and response generation for the knowledge base in this configuration. See Guardrail Configuration for more information.
- Source
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration
- Guardrail
Configuration AgentFlow Definition Node Configuration Prompt Guardrail Configuration - Contains configurations for a guardrail to apply during query and response generation for the knowledge base in this configuration. See Guardrail Configuration for more information.
- Source
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration
- guardrail
Configuration AgentFlow Definition Node Configuration Prompt Guardrail Configuration - Contains configurations for a guardrail to apply during query and response generation for the knowledge base in this configuration. See Guardrail Configuration for more information.
- source
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration
- guardrail
Configuration AgentFlow Definition Node Configuration Prompt Guardrail Configuration - Contains configurations for a guardrail to apply during query and response generation for the knowledge base in this configuration. See Guardrail Configuration for more information.
- source
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration
- guardrail_
configuration AgentFlow Definition Node Configuration Prompt Guardrail Configuration - Contains configurations for a guardrail to apply during query and response generation for the knowledge base in this configuration. See Guardrail Configuration for more information.
- source_
configuration AgentFlow Definition Node Configuration Prompt Source Configuration
- guardrail
Configuration Property Map - Contains configurations for a guardrail to apply during query and response generation for the knowledge base in this configuration. See Guardrail Configuration for more information.
- source
Configuration Property Map
AgentFlowDefinitionNodeConfigurationPromptGuardrailConfiguration, AgentFlowDefinitionNodeConfigurationPromptGuardrailConfigurationArgs
- Guardrail
Identifier string - The unique identifier of the guardrail.
- Guardrail
Version string - The version of the guardrail.
- Guardrail
Identifier string - The unique identifier of the guardrail.
- Guardrail
Version string - The version of the guardrail.
- guardrail
Identifier String - The unique identifier of the guardrail.
- guardrail
Version String - The version of the guardrail.
- guardrail
Identifier string - The unique identifier of the guardrail.
- guardrail
Version string - The version of the guardrail.
- guardrail_
identifier str - The unique identifier of the guardrail.
- guardrail_
version str - The version of the guardrail.
- guardrail
Identifier String - The unique identifier of the guardrail.
- guardrail
Version String - The version of the guardrail.
AgentFlowDefinitionNodeConfigurationPromptSourceConfiguration, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationArgs
- Inline
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline - Contains configurations for a prompt that is defined inline. See Prompt Inline Configuration for more information.
- Resource
Agent
Flow Definition Node Configuration Prompt Source Configuration Resource - Contains configurations for a prompt from Prompt management. See Prompt Resource Configuration for more information.
- Inline
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline - Contains configurations for a prompt that is defined inline. See Prompt Inline Configuration for more information.
- Resource
Agent
Flow Definition Node Configuration Prompt Source Configuration Resource - Contains configurations for a prompt from Prompt management. See Prompt Resource Configuration for more information.
- inline
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline - Contains configurations for a prompt that is defined inline. See Prompt Inline Configuration for more information.
- resource
Agent
Flow Definition Node Configuration Prompt Source Configuration Resource - Contains configurations for a prompt from Prompt management. See Prompt Resource Configuration for more information.
- inline
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline - Contains configurations for a prompt that is defined inline. See Prompt Inline Configuration for more information.
- resource
Agent
Flow Definition Node Configuration Prompt Source Configuration Resource - Contains configurations for a prompt from Prompt management. See Prompt Resource Configuration for more information.
- inline
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline - Contains configurations for a prompt that is defined inline. See Prompt Inline Configuration for more information.
- resource
Agent
Flow Definition Node Configuration Prompt Source Configuration Resource - Contains configurations for a prompt from Prompt management. See Prompt Resource Configuration for more information.
- inline Property Map
- Contains configurations for a prompt that is defined inline. See Prompt Inline Configuration for more information.
- resource Property Map
- Contains configurations for a prompt from Prompt management. See Prompt Resource Configuration for more information.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInline, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineArgs
- Model
Id string - Template
Type string - The type of prompt template. Valid values:
TEXT
,CHAT
. - Additional
Model stringRequest Fields - Additional fields to be included in the model request for the Prompt node.
- Inference
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Inference Configuration - Contains inference configurations for the prompt. See Prompt Inference Configuration for more information.
- Template
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration - Contains a prompt and variables in the prompt that can be replaced with values at runtime. See Prompt Template Configuration for more information.
- Model
Id string - Template
Type string - The type of prompt template. Valid values:
TEXT
,CHAT
. - Additional
Model stringRequest Fields - Additional fields to be included in the model request for the Prompt node.
- Inference
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Inference Configuration - Contains inference configurations for the prompt. See Prompt Inference Configuration for more information.
- Template
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration - Contains a prompt and variables in the prompt that can be replaced with values at runtime. See Prompt Template Configuration for more information.
- model
Id String - template
Type String - The type of prompt template. Valid values:
TEXT
,CHAT
. - additional
Model StringRequest Fields - Additional fields to be included in the model request for the Prompt node.
- inference
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Inference Configuration - Contains inference configurations for the prompt. See Prompt Inference Configuration for more information.
- template
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration - Contains a prompt and variables in the prompt that can be replaced with values at runtime. See Prompt Template Configuration for more information.
- model
Id string - template
Type string - The type of prompt template. Valid values:
TEXT
,CHAT
. - additional
Model stringRequest Fields - Additional fields to be included in the model request for the Prompt node.
- inference
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Inference Configuration - Contains inference configurations for the prompt. See Prompt Inference Configuration for more information.
- template
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration - Contains a prompt and variables in the prompt that can be replaced with values at runtime. See Prompt Template Configuration for more information.
- model_
id str - template_
type str - The type of prompt template. Valid values:
TEXT
,CHAT
. - additional_
model_ strrequest_ fields - Additional fields to be included in the model request for the Prompt node.
- inference_
configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Inference Configuration - Contains inference configurations for the prompt. See Prompt Inference Configuration for more information.
- template_
configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration - Contains a prompt and variables in the prompt that can be replaced with values at runtime. See Prompt Template Configuration for more information.
- model
Id String - template
Type String - The type of prompt template. Valid values:
TEXT
,CHAT
. - additional
Model StringRequest Fields - Additional fields to be included in the model request for the Prompt node.
- inference
Configuration Property Map - Contains inference configurations for the prompt. See Prompt Inference Configuration for more information.
- template
Configuration Property Map - Contains a prompt and variables in the prompt that can be replaced with values at runtime. See Prompt Template Configuration for more information.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfiguration, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfigurationArgs
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfigurationText, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineInferenceConfigurationTextArgs
- Max
Tokens int - Maximum number of tokens to return in the response.
- Stop
Sequences List<string> - List of strings that define sequences after which the model will stop generating.
- Temperature double
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- Top
P double - Percentage of most-likely candidates that the model considers for the next token.
- Max
Tokens int - Maximum number of tokens to return in the response.
- Stop
Sequences []string - List of strings that define sequences after which the model will stop generating.
- Temperature float64
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- Top
P float64 - Percentage of most-likely candidates that the model considers for the next token.
- max
Tokens Integer - Maximum number of tokens to return in the response.
- stop
Sequences List<String> - List of strings that define sequences after which the model will stop generating.
- temperature Double
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- top
P Double - Percentage of most-likely candidates that the model considers for the next token.
- max
Tokens number - Maximum number of tokens to return in the response.
- stop
Sequences string[] - List of strings that define sequences after which the model will stop generating.
- temperature number
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- top
P number - Percentage of most-likely candidates that the model considers for the next token.
- max_
tokens int - Maximum number of tokens to return in the response.
- stop_
sequences Sequence[str] - List of strings that define sequences after which the model will stop generating.
- temperature float
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- top_
p float - Percentage of most-likely candidates that the model considers for the next token.
- max
Tokens Number - Maximum number of tokens to return in the response.
- stop
Sequences List<String> - List of strings that define sequences after which the model will stop generating.
- temperature Number
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- top
P Number - Percentage of most-likely candidates that the model considers for the next token.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfiguration, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationArgs
- Chat
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat - Contains configurations to use the prompt in a conversational format. See Chat Template Configuration for more information.
- Text
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Text
- Chat
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat - Contains configurations to use the prompt in a conversational format. See Chat Template Configuration for more information.
- Text
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Text
- chat
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat - Contains configurations to use the prompt in a conversational format. See Chat Template Configuration for more information.
- text
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Text
- chat
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat - Contains configurations to use the prompt in a conversational format. See Chat Template Configuration for more information.
- text
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Text
- chat
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat - Contains configurations to use the prompt in a conversational format. See Chat Template Configuration for more information.
- text
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Text
- chat Property Map
- Contains configurations to use the prompt in a conversational format. See Chat Template Configuration for more information.
- text Property Map
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChat, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatArgs
- Input
Variables List<AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Input Variable> - Messages
List<Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Message> - A list of messages in the chat for the prompt. See Message for more information.
- Systems
List<Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat System> - A list of system prompts to provide context to the model or to describe how it should behave. See System for more information.
- Tool
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration - Configuration information for the tools that the model can use when generating a response. See Tool Configuration for more information.
- Input
Variables []AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Input Variable - Messages
[]Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Message - A list of messages in the chat for the prompt. See Message for more information.
- Systems
[]Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat System - A list of system prompts to provide context to the model or to describe how it should behave. See System for more information.
- Tool
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration - Configuration information for the tools that the model can use when generating a response. See Tool Configuration for more information.
- input
Variables List<AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Input Variable> - messages
List<Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Message> - A list of messages in the chat for the prompt. See Message for more information.
- systems
List<Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat System> - A list of system prompts to provide context to the model or to describe how it should behave. See System for more information.
- tool
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration - Configuration information for the tools that the model can use when generating a response. See Tool Configuration for more information.
- input
Variables AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Input Variable[] - messages
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Message[] - A list of messages in the chat for the prompt. See Message for more information.
- systems
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat System[] - A list of system prompts to provide context to the model or to describe how it should behave. See System for more information.
- tool
Configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration - Configuration information for the tools that the model can use when generating a response. See Tool Configuration for more information.
- input_
variables Sequence[AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Input Variable] - messages
Sequence[Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Message] - A list of messages in the chat for the prompt. See Message for more information.
- systems
Sequence[Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat System] - A list of system prompts to provide context to the model or to describe how it should behave. See System for more information.
- tool_
configuration AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration - Configuration information for the tools that the model can use when generating a response. See Tool Configuration for more information.
- input
Variables List<Property Map> - messages List<Property Map>
- A list of messages in the chat for the prompt. See Message for more information.
- systems List<Property Map>
- A list of system prompts to provide context to the model or to describe how it should behave. See System for more information.
- tool
Configuration Property Map - Configuration information for the tools that the model can use when generating a response. See Tool Configuration for more information.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatInputVariable, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatInputVariableArgs
- Name string
- The name of the variable.
- Name string
- The name of the variable.
- name String
- The name of the variable.
- name string
- The name of the variable.
- name str
- The name of the variable.
- name String
- The name of the variable.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessage, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageArgs
- Role string
- The role that the message belongs to.
- Content
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Message Content - Contains the content for the message you pass to, or receive from a model. See [Message Content] for more information.
- Role string
- The role that the message belongs to.
- Content
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Message Content - Contains the content for the message you pass to, or receive from a model. See [Message Content] for more information.
- role String
- The role that the message belongs to.
- content
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Message Content - Contains the content for the message you pass to, or receive from a model. See [Message Content] for more information.
- role string
- The role that the message belongs to.
- content
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Message Content - Contains the content for the message you pass to, or receive from a model. See [Message Content] for more information.
- role str
- The role that the message belongs to.
- content
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Message Content - Contains the content for the message you pass to, or receive from a model. See [Message Content] for more information.
- role String
- The role that the message belongs to.
- content Property Map
- Contains the content for the message you pass to, or receive from a model. See [Message Content] for more information.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContent, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContentArgs
- cache
Point Property Map - text String
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContentCachePoint, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatMessageContentCachePointArgs
- Type string
- Indicates that the CachePointBlock is of the default type. Valid values:
default
.
- Type string
- Indicates that the CachePointBlock is of the default type. Valid values:
default
.
- type String
- Indicates that the CachePointBlock is of the default type. Valid values:
default
.
- type string
- Indicates that the CachePointBlock is of the default type. Valid values:
default
.
- type str
- Indicates that the CachePointBlock is of the default type. Valid values:
default
.
- type String
- Indicates that the CachePointBlock is of the default type. Valid values:
default
.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatSystem, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatSystemArgs
- Cache
Point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat System Cache Point - Creates a cache checkpoint within a tool designation. See Cache Point for more information.
- Text string
- The text in the system prompt.
- Cache
Point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat System Cache Point - Creates a cache checkpoint within a tool designation. See Cache Point for more information.
- Text string
- The text in the system prompt.
- cache
Point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat System Cache Point - Creates a cache checkpoint within a tool designation. See Cache Point for more information.
- text String
- The text in the system prompt.
- cache
Point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat System Cache Point - Creates a cache checkpoint within a tool designation. See Cache Point for more information.
- text string
- The text in the system prompt.
- cache_
point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat System Cache Point - Creates a cache checkpoint within a tool designation. See Cache Point for more information.
- text str
- The text in the system prompt.
- cache
Point Property Map - Creates a cache checkpoint within a tool designation. See Cache Point for more information.
- text String
- The text in the system prompt.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatSystemCachePoint, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatSystemCachePointArgs
- Type string
- Indicates that the CachePointBlock is of the default type. Valid values:
default
.
- Type string
- Indicates that the CachePointBlock is of the default type. Valid values:
default
.
- type String
- Indicates that the CachePointBlock is of the default type. Valid values:
default
.
- type string
- Indicates that the CachePointBlock is of the default type. Valid values:
default
.
- type str
- Indicates that the CachePointBlock is of the default type. Valid values:
default
.
- type String
- Indicates that the CachePointBlock is of the default type. Valid values:
default
.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfiguration, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationArgs
- Tool
Choice AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice - Defines which tools the model should request when invoked. See Tool Choice for more information.
- Tools
List<Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool> - A list of tools to pass to a model. See Tool for more information.
- Tool
Choice AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice - Defines which tools the model should request when invoked. See Tool Choice for more information.
- Tools
[]Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool - A list of tools to pass to a model. See Tool for more information.
- tool
Choice AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice - Defines which tools the model should request when invoked. See Tool Choice for more information.
- tools
List<Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool> - A list of tools to pass to a model. See Tool for more information.
- tool
Choice AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice - Defines which tools the model should request when invoked. See Tool Choice for more information.
- tools
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool[] - A list of tools to pass to a model. See Tool for more information.
- tool_
choice AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice - Defines which tools the model should request when invoked. See Tool Choice for more information.
- tools
Sequence[Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool] - A list of tools to pass to a model. See Tool for more information.
- tool
Choice Property Map - Defines which tools the model should request when invoked. See Tool Choice for more information.
- tools List<Property Map>
- A list of tools to pass to a model. See Tool for more information.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationTool, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolArgs
- Cache
Point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Cache Point - Creates a cache checkpoint within a tool designation. See Cache Point for more information.
- Tool
Spec AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Tool Spec - The specification for the tool. See Tool Specification for more information.
- Cache
Point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Cache Point - Creates a cache checkpoint within a tool designation. See Cache Point for more information.
- Tool
Spec AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Tool Spec - The specification for the tool. See Tool Specification for more information.
- cache
Point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Cache Point - Creates a cache checkpoint within a tool designation. See Cache Point for more information.
- tool
Spec AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Tool Spec - The specification for the tool. See Tool Specification for more information.
- cache
Point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Cache Point - Creates a cache checkpoint within a tool designation. See Cache Point for more information.
- tool
Spec AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Tool Spec - The specification for the tool. See Tool Specification for more information.
- cache_
point AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Cache Point - Creates a cache checkpoint within a tool designation. See Cache Point for more information.
- tool_
spec AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Tool Spec - The specification for the tool. See Tool Specification for more information.
- cache
Point Property Map - Creates a cache checkpoint within a tool designation. See Cache Point for more information.
- tool
Spec Property Map - The specification for the tool. See Tool Specification for more information.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolCachePoint, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolCachePointArgs
- Type string
- Indicates that the CachePointBlock is of the default type. Valid values:
default
.
- Type string
- Indicates that the CachePointBlock is of the default type. Valid values:
default
.
- type String
- Indicates that the CachePointBlock is of the default type. Valid values:
default
.
- type string
- Indicates that the CachePointBlock is of the default type. Valid values:
default
.
- type str
- Indicates that the CachePointBlock is of the default type. Valid values:
default
.
- type String
- Indicates that the CachePointBlock is of the default type. Valid values:
default
.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoice, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceArgs
- Any
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Any - Defines 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 object has no fields.
- Auto
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Auto - Defines tools. The model automatically decides whether to call a tool or to generate text instead. This object has no fields.
- Tool
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Tool - Defines a 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 Named Tool for more information.
- Any
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Any - Defines 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 object has no fields.
- Auto
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Auto - Defines tools. The model automatically decides whether to call a tool or to generate text instead. This object has no fields.
- Tool
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Tool - Defines a 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 Named Tool for more information.
- any
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Any - Defines 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 object has no fields.
- auto
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Auto - Defines tools. The model automatically decides whether to call a tool or to generate text instead. This object has no fields.
- tool
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Tool - Defines a 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 Named Tool for more information.
- any
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Any - Defines 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 object has no fields.
- auto
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Auto - Defines tools. The model automatically decides whether to call a tool or to generate text instead. This object has no fields.
- tool
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Tool - Defines a 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 Named Tool for more information.
- any
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Any - Defines 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 object has no fields.
- auto
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Auto - Defines tools. The model automatically decides whether to call a tool or to generate text instead. This object has no fields.
- tool
Agent
Flow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Choice Tool - Defines a 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 Named Tool for more information.
- any Property Map
- Defines 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 object has no fields.
- auto Property Map
- Defines tools. The model automatically decides whether to call a tool or to generate text instead. This object has no fields.
- tool Property Map
- Defines a 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 Named Tool for more information.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceTool, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolChoiceToolArgs
- Name string
- A name for the flow.
- Name string
- A name for the flow.
- name String
- A name for the flow.
- name string
- A name for the flow.
- name str
- A name for the flow.
- name String
- A name for the flow.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolToolSpec, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolToolSpecArgs
- Name string
- A name for the flow.
- Description string
- A description for the flow.
- Input
Schema AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Tool Spec Input Schema - The input schema of the tool. See Tool Input Schema for more information.
- Name string
- A name for the flow.
- Description string
- A description for the flow.
- Input
Schema AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Tool Spec Input Schema - The input schema of the tool. See Tool Input Schema for more information.
- name String
- A name for the flow.
- description String
- A description for the flow.
- input
Schema AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Tool Spec Input Schema - The input schema of the tool. See Tool Input Schema for more information.
- name string
- A name for the flow.
- description string
- A description for the flow.
- input
Schema AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Tool Spec Input Schema - The input schema of the tool. See Tool Input Schema for more information.
- name str
- A name for the flow.
- description str
- A description for the flow.
- input_
schema AgentFlow Definition Node Configuration Prompt Source Configuration Inline Template Configuration Chat Tool Configuration Tool Tool Spec Input Schema - The input schema of the tool. See Tool Input Schema for more information.
- name String
- A name for the flow.
- description String
- A description for the flow.
- input
Schema Property Map - The input schema of the tool. See Tool Input Schema for more information.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolToolSpecInputSchema, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationChatToolConfigurationToolToolSpecInputSchemaArgs
- Json string
- A JSON object defining the input schema for the tool.
- Json string
- A JSON object defining the input schema for the tool.
- json String
- A JSON object defining the input schema for the tool.
- json string
- A JSON object defining the input schema for the tool.
- json str
- A JSON object defining the input schema for the tool.
- json String
- A JSON object defining the input schema for the tool.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationText, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextArgs
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextCachePoint, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextCachePointArgs
- Type string
- Indicates that the CachePointBlock is of the default type. Valid values:
default
.
- Type string
- Indicates that the CachePointBlock is of the default type. Valid values:
default
.
- type String
- Indicates that the CachePointBlock is of the default type. Valid values:
default
.
- type string
- Indicates that the CachePointBlock is of the default type. Valid values:
default
.
- type str
- Indicates that the CachePointBlock is of the default type. Valid values:
default
.
- type String
- Indicates that the CachePointBlock is of the default type. Valid values:
default
.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextInputVariable, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationInlineTemplateConfigurationTextInputVariableArgs
- Name string
- The name of the variable.
- Name string
- The name of the variable.
- name String
- The name of the variable.
- name string
- The name of the variable.
- name str
- The name of the variable.
- name String
- The name of the variable.
AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationResource, AgentFlowDefinitionNodeConfigurationPromptSourceConfigurationResourceArgs
- Prompt
Arn string - The Amazon Resource Name (ARN) of the prompt from Prompt management.
- Prompt
Arn string - The Amazon Resource Name (ARN) of the prompt from Prompt management.
- prompt
Arn String - The Amazon Resource Name (ARN) of the prompt from Prompt management.
- prompt
Arn string - The Amazon Resource Name (ARN) of the prompt from Prompt management.
- prompt_
arn str - The Amazon Resource Name (ARN) of the prompt from Prompt management.
- prompt
Arn String - The Amazon Resource Name (ARN) of the prompt from Prompt management.
AgentFlowDefinitionNodeConfigurationRetrieval, AgentFlowDefinitionNodeConfigurationRetrievalArgs
AgentFlowDefinitionNodeConfigurationRetrievalServiceConfiguration, AgentFlowDefinitionNodeConfigurationRetrievalServiceConfigurationArgs
AgentFlowDefinitionNodeConfigurationRetrievalServiceConfigurationS3, AgentFlowDefinitionNodeConfigurationRetrievalServiceConfigurationS3Args
- Bucket
Name string
- Bucket
Name string
- bucket
Name String
- bucket
Name string
- bucket_
name str
- bucket
Name String
AgentFlowDefinitionNodeConfigurationStorage, AgentFlowDefinitionNodeConfigurationStorageArgs
AgentFlowDefinitionNodeConfigurationStorageServiceConfiguration, AgentFlowDefinitionNodeConfigurationStorageServiceConfigurationArgs
AgentFlowDefinitionNodeConfigurationStorageServiceConfigurationS3, AgentFlowDefinitionNodeConfigurationStorageServiceConfigurationS3Args
- Bucket
Name string
- Bucket
Name string
- bucket
Name String
- bucket
Name string
- bucket_
name str
- bucket
Name String
AgentFlowDefinitionNodeInput, AgentFlowDefinitionNodeInputArgs
- Expression string
- Name string
- A name for the flow.
- Type string
- Category string
- How input data flows between iterations in a DoWhile loop.
- Expression string
- Name string
- A name for the flow.
- Type string
- Category string
- How input data flows between iterations in a DoWhile loop.
- expression String
- name String
- A name for the flow.
- type String
- category String
- How input data flows between iterations in a DoWhile loop.
- expression string
- name string
- A name for the flow.
- type string
- category string
- How input data flows between iterations in a DoWhile loop.
- expression str
- name str
- A name for the flow.
- type str
- category str
- How input data flows between iterations in a DoWhile loop.
- expression String
- name String
- A name for the flow.
- type String
- category String
- How input data flows between iterations in a DoWhile loop.
AgentFlowDefinitionNodeOutput, AgentFlowDefinitionNodeOutputArgs
AgentFlowTimeouts, AgentFlowTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create 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.