1. Packages
  2. AWS Native
  3. API Docs
  4. bedrock
  5. Flow

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.bedrock.Flow

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

    Definition of AWS::Bedrock::Flow Resource Type

    Create Flow Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Flow(name: string, args: FlowArgs, opts?: CustomResourceOptions);
    @overload
    def Flow(resource_name: str,
             args: FlowArgs,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def Flow(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             execution_role_arn: Optional[str] = None,
             customer_encryption_key_arn: Optional[str] = None,
             definition: Optional[FlowDefinitionArgs] = None,
             definition_s3_location: Optional[FlowS3LocationArgs] = None,
             definition_string: Optional[str] = None,
             definition_substitutions: Optional[Mapping[str, Union[str, int, bool]]] = None,
             description: Optional[str] = None,
             name: Optional[str] = None,
             tags: Optional[Mapping[str, str]] = None,
             test_alias_tags: Optional[Mapping[str, str]] = None)
    func NewFlow(ctx *Context, name string, args FlowArgs, opts ...ResourceOption) (*Flow, error)
    public Flow(string name, FlowArgs args, CustomResourceOptions? opts = null)
    public Flow(String name, FlowArgs args)
    public Flow(String name, FlowArgs args, CustomResourceOptions options)
    
    type: aws-native:bedrock:Flow
    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 FlowArgs
    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 FlowArgs
    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 FlowArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FlowArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FlowArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Flow Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Flow resource accepts the following input properties:

    ExecutionRoleArn string
    ARN of a IAM role
    CustomerEncryptionKeyArn string
    A KMS key ARN
    Definition Pulumi.AwsNative.Bedrock.Inputs.FlowDefinition
    The definition of the nodes and connections between the nodes in the flow.
    DefinitionS3Location Pulumi.AwsNative.Bedrock.Inputs.FlowS3Location
    The Amazon S3 location of the flow definition.
    DefinitionString string
    A JSON string containing a Definition with the same schema as the Definition property of this resource
    DefinitionSubstitutions Dictionary<string, object>

    A map that specifies the mappings for placeholder variables in the prompt flow definition. This enables the customer to inject values obtained at runtime. Variables can be template parameter names, resource logical IDs, resource attributes, or a variable in a key-value map. Only supported with the DefinitionString and DefinitionS3Location fields.

    Substitutions must follow the syntax: ${key_name} or ${variable_1,variable_2,...} .

    Description string
    Description of the flow
    Name string
    Name for the flow
    Tags Dictionary<string, string>
    Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:

    TestAliasTags Dictionary<string, string>
    ExecutionRoleArn string
    ARN of a IAM role
    CustomerEncryptionKeyArn string
    A KMS key ARN
    Definition FlowDefinitionArgs
    The definition of the nodes and connections between the nodes in the flow.
    DefinitionS3Location FlowS3LocationArgs
    The Amazon S3 location of the flow definition.
    DefinitionString string
    A JSON string containing a Definition with the same schema as the Definition property of this resource
    DefinitionSubstitutions map[string]interface{}

    A map that specifies the mappings for placeholder variables in the prompt flow definition. This enables the customer to inject values obtained at runtime. Variables can be template parameter names, resource logical IDs, resource attributes, or a variable in a key-value map. Only supported with the DefinitionString and DefinitionS3Location fields.

    Substitutions must follow the syntax: ${key_name} or ${variable_1,variable_2,...} .

    Description string
    Description of the flow
    Name string
    Name for the flow
    Tags map[string]string
    Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:

    TestAliasTags map[string]string
    executionRoleArn String
    ARN of a IAM role
    customerEncryptionKeyArn String
    A KMS key ARN
    definition FlowDefinition
    The definition of the nodes and connections between the nodes in the flow.
    definitionS3Location FlowS3Location
    The Amazon S3 location of the flow definition.
    definitionString String
    A JSON string containing a Definition with the same schema as the Definition property of this resource
    definitionSubstitutions Map<String,Object>

    A map that specifies the mappings for placeholder variables in the prompt flow definition. This enables the customer to inject values obtained at runtime. Variables can be template parameter names, resource logical IDs, resource attributes, or a variable in a key-value map. Only supported with the DefinitionString and DefinitionS3Location fields.

    Substitutions must follow the syntax: ${key_name} or ${variable_1,variable_2,...} .

    description String
    Description of the flow
    name String
    Name for the flow
    tags Map<String,String>
    Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:

    testAliasTags Map<String,String>
    executionRoleArn string
    ARN of a IAM role
    customerEncryptionKeyArn string
    A KMS key ARN
    definition FlowDefinition
    The definition of the nodes and connections between the nodes in the flow.
    definitionS3Location FlowS3Location
    The Amazon S3 location of the flow definition.
    definitionString string
    A JSON string containing a Definition with the same schema as the Definition property of this resource
    definitionSubstitutions {[key: string]: string | number | boolean}

    A map that specifies the mappings for placeholder variables in the prompt flow definition. This enables the customer to inject values obtained at runtime. Variables can be template parameter names, resource logical IDs, resource attributes, or a variable in a key-value map. Only supported with the DefinitionString and DefinitionS3Location fields.

    Substitutions must follow the syntax: ${key_name} or ${variable_1,variable_2,...} .

    description string
    Description of the flow
    name string
    Name for the flow
    tags {[key: string]: string}
    Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:

    testAliasTags {[key: string]: string}
    execution_role_arn str
    ARN of a IAM role
    customer_encryption_key_arn str
    A KMS key ARN
    definition FlowDefinitionArgs
    The definition of the nodes and connections between the nodes in the flow.
    definition_s3_location FlowS3LocationArgs
    The Amazon S3 location of the flow definition.
    definition_string str
    A JSON string containing a Definition with the same schema as the Definition property of this resource
    definition_substitutions Mapping[str, Union[str, int, bool]]

    A map that specifies the mappings for placeholder variables in the prompt flow definition. This enables the customer to inject values obtained at runtime. Variables can be template parameter names, resource logical IDs, resource attributes, or a variable in a key-value map. Only supported with the DefinitionString and DefinitionS3Location fields.

    Substitutions must follow the syntax: ${key_name} or ${variable_1,variable_2,...} .

    description str
    Description of the flow
    name str
    Name for the flow
    tags Mapping[str, str]
    Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:

    test_alias_tags Mapping[str, str]
    executionRoleArn String
    ARN of a IAM role
    customerEncryptionKeyArn String
    A KMS key ARN
    definition Property Map
    The definition of the nodes and connections between the nodes in the flow.
    definitionS3Location Property Map
    The Amazon S3 location of the flow definition.
    definitionString String
    A JSON string containing a Definition with the same schema as the Definition property of this resource
    definitionSubstitutions Map<String | Number | Boolean>

    A map that specifies the mappings for placeholder variables in the prompt flow definition. This enables the customer to inject values obtained at runtime. Variables can be template parameter names, resource logical IDs, resource attributes, or a variable in a key-value map. Only supported with the DefinitionString and DefinitionS3Location fields.

    Substitutions must follow the syntax: ${key_name} or ${variable_1,variable_2,...} .

    description String
    Description of the flow
    name String
    Name for the flow
    tags Map<String>
    Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:

    testAliasTags Map<String>

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Flow resource produces the following output properties:

    Arn string
    Arn representation of the Flow
    AwsId string
    Identifier for a Flow
    CreatedAt string
    Time Stamp.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status Pulumi.AwsNative.Bedrock.FlowStatus
    The status of the flow. The following statuses are possible:

    • NotPrepared – The flow has been created or updated, but hasn't been prepared. If you just created the flow, you can't test it. If you updated the flow, the DRAFT version won't contain the latest changes for testing. Send a PrepareFlow request to package the latest changes into the DRAFT version.
    • Preparing – The flow is being prepared so that the DRAFT version contains the latest changes for testing.
    • Prepared – The flow is prepared and the DRAFT version contains the latest changes for testing.
    • Failed – The last API operation that you invoked on the flow failed. Send a GetFlow request and check the error message in the validations field.
    UpdatedAt string
    Time Stamp.
    Validations List<Pulumi.AwsNative.Bedrock.Outputs.FlowValidation>
    Version string
    Draft Version.
    Arn string
    Arn representation of the Flow
    AwsId string
    Identifier for a Flow
    CreatedAt string
    Time Stamp.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status FlowStatus
    The status of the flow. The following statuses are possible:

    • NotPrepared – The flow has been created or updated, but hasn't been prepared. If you just created the flow, you can't test it. If you updated the flow, the DRAFT version won't contain the latest changes for testing. Send a PrepareFlow request to package the latest changes into the DRAFT version.
    • Preparing – The flow is being prepared so that the DRAFT version contains the latest changes for testing.
    • Prepared – The flow is prepared and the DRAFT version contains the latest changes for testing.
    • Failed – The last API operation that you invoked on the flow failed. Send a GetFlow request and check the error message in the validations field.
    UpdatedAt string
    Time Stamp.
    Validations []FlowValidation
    Version string
    Draft Version.
    arn String
    Arn representation of the Flow
    awsId String
    Identifier for a Flow
    createdAt String
    Time Stamp.
    id String
    The provider-assigned unique ID for this managed resource.
    status FlowStatus
    The status of the flow. The following statuses are possible:

    • NotPrepared – The flow has been created or updated, but hasn't been prepared. If you just created the flow, you can't test it. If you updated the flow, the DRAFT version won't contain the latest changes for testing. Send a PrepareFlow request to package the latest changes into the DRAFT version.
    • Preparing – The flow is being prepared so that the DRAFT version contains the latest changes for testing.
    • Prepared – The flow is prepared and the DRAFT version contains the latest changes for testing.
    • Failed – The last API operation that you invoked on the flow failed. Send a GetFlow request and check the error message in the validations field.
    updatedAt String
    Time Stamp.
    validations List<FlowValidation>
    version String
    Draft Version.
    arn string
    Arn representation of the Flow
    awsId string
    Identifier for a Flow
    createdAt string
    Time Stamp.
    id string
    The provider-assigned unique ID for this managed resource.
    status FlowStatus
    The status of the flow. The following statuses are possible:

    • NotPrepared – The flow has been created or updated, but hasn't been prepared. If you just created the flow, you can't test it. If you updated the flow, the DRAFT version won't contain the latest changes for testing. Send a PrepareFlow request to package the latest changes into the DRAFT version.
    • Preparing – The flow is being prepared so that the DRAFT version contains the latest changes for testing.
    • Prepared – The flow is prepared and the DRAFT version contains the latest changes for testing.
    • Failed – The last API operation that you invoked on the flow failed. Send a GetFlow request and check the error message in the validations field.
    updatedAt string
    Time Stamp.
    validations FlowValidation[]
    version string
    Draft Version.
    arn str
    Arn representation of the Flow
    aws_id str
    Identifier for a Flow
    created_at str
    Time Stamp.
    id str
    The provider-assigned unique ID for this managed resource.
    status FlowStatus
    The status of the flow. The following statuses are possible:

    • NotPrepared – The flow has been created or updated, but hasn't been prepared. If you just created the flow, you can't test it. If you updated the flow, the DRAFT version won't contain the latest changes for testing. Send a PrepareFlow request to package the latest changes into the DRAFT version.
    • Preparing – The flow is being prepared so that the DRAFT version contains the latest changes for testing.
    • Prepared – The flow is prepared and the DRAFT version contains the latest changes for testing.
    • Failed – The last API operation that you invoked on the flow failed. Send a GetFlow request and check the error message in the validations field.
    updated_at str
    Time Stamp.
    validations Sequence[FlowValidation]
    version str
    Draft Version.
    arn String
    Arn representation of the Flow
    awsId String
    Identifier for a Flow
    createdAt String
    Time Stamp.
    id String
    The provider-assigned unique ID for this managed resource.
    status "Failed" | "Prepared" | "Preparing" | "NotPrepared"
    The status of the flow. The following statuses are possible:

    • NotPrepared – The flow has been created or updated, but hasn't been prepared. If you just created the flow, you can't test it. If you updated the flow, the DRAFT version won't contain the latest changes for testing. Send a PrepareFlow request to package the latest changes into the DRAFT version.
    • Preparing – The flow is being prepared so that the DRAFT version contains the latest changes for testing.
    • Prepared – The flow is prepared and the DRAFT version contains the latest changes for testing.
    • Failed – The last API operation that you invoked on the flow failed. Send a GetFlow request and check the error message in the validations field.
    updatedAt String
    Time Stamp.
    validations List<Property Map>
    version String
    Draft Version.

    Supporting Types

    FlowAgentFlowNodeConfiguration, FlowAgentFlowNodeConfigurationArgs

    AgentAliasArn string
    Arn representation of the Agent Alias.
    AgentAliasArn string
    Arn representation of the Agent Alias.
    agentAliasArn String
    Arn representation of the Agent Alias.
    agentAliasArn string
    Arn representation of the Agent Alias.
    agent_alias_arn str
    Arn representation of the Agent Alias.
    agentAliasArn String
    Arn representation of the Agent Alias.

    FlowCondition, FlowConditionArgs

    Name string
    Name of a condition in a flow
    Expression string
    Expression for a condition in a flow
    Name string
    Name of a condition in a flow
    Expression string
    Expression for a condition in a flow
    name String
    Name of a condition in a flow
    expression String
    Expression for a condition in a flow
    name string
    Name of a condition in a flow
    expression string
    Expression for a condition in a flow
    name str
    Name of a condition in a flow
    expression str
    Expression for a condition in a flow
    name String
    Name of a condition in a flow
    expression String
    Expression for a condition in a flow

    FlowConditionFlowNodeConfiguration, FlowConditionFlowNodeConfigurationArgs

    Conditions []FlowCondition
    List of conditions in a condition node
    conditions List<FlowCondition>
    List of conditions in a condition node
    conditions FlowCondition[]
    List of conditions in a condition node
    conditions Sequence[FlowCondition]
    List of conditions in a condition node
    conditions List<Property Map>
    List of conditions in a condition node

    FlowConditionalConnectionConfiguration, FlowConditionalConnectionConfigurationArgs

    Condition string
    Name of a condition in a flow
    Condition string
    Name of a condition in a flow
    condition String
    Name of a condition in a flow
    condition string
    Name of a condition in a flow
    condition str
    Name of a condition in a flow
    condition String
    Name of a condition in a flow

    FlowConnection, FlowConnectionArgs

    Name string
    Name of a connection in a flow
    Source string
    Name of a node in a flow
    Target string
    Name of a node in a flow
    Type Pulumi.AwsNative.Bedrock.FlowConnectionType
    Whether the source node that the connection begins from is a condition node ( Conditional ) or not ( Data ).
    Configuration Pulumi.AwsNative.Bedrock.Inputs.FlowConnectionConfiguration0Properties | Pulumi.AwsNative.Bedrock.Inputs.FlowConnectionConfiguration1Properties
    The configuration of the connection.
    Name string
    Name of a connection in a flow
    Source string
    Name of a node in a flow
    Target string
    Name of a node in a flow
    Type FlowConnectionType
    Whether the source node that the connection begins from is a condition node ( Conditional ) or not ( Data ).
    Configuration FlowConnectionConfiguration0Properties | FlowConnectionConfiguration1Properties
    The configuration of the connection.
    name String
    Name of a connection in a flow
    source String
    Name of a node in a flow
    target String
    Name of a node in a flow
    type FlowConnectionType
    Whether the source node that the connection begins from is a condition node ( Conditional ) or not ( Data ).
    configuration FlowConnectionConfiguration0Properties | FlowConnectionConfiguration1Properties
    The configuration of the connection.
    name string
    Name of a connection in a flow
    source string
    Name of a node in a flow
    target string
    Name of a node in a flow
    type FlowConnectionType
    Whether the source node that the connection begins from is a condition node ( Conditional ) or not ( Data ).
    configuration FlowConnectionConfiguration0Properties | FlowConnectionConfiguration1Properties
    The configuration of the connection.
    name str
    Name of a connection in a flow
    source str
    Name of a node in a flow
    target str
    Name of a node in a flow
    type FlowConnectionType
    Whether the source node that the connection begins from is a condition node ( Conditional ) or not ( Data ).
    configuration FlowConnectionConfiguration0Properties | FlowConnectionConfiguration1Properties
    The configuration of the connection.
    name String
    Name of a connection in a flow
    source String
    Name of a node in a flow
    target String
    Name of a node in a flow
    type "Data" | "Conditional"
    Whether the source node that the connection begins from is a condition node ( Conditional ) or not ( Data ).
    configuration Property Map | Property Map
    The configuration of the connection.

    FlowConnectionConfiguration0Properties, FlowConnectionConfiguration0PropertiesArgs

    FlowConnectionConfiguration1Properties, FlowConnectionConfiguration1PropertiesArgs

    FlowConnectionType, FlowConnectionTypeArgs

    Data
    Data
    Conditional
    Conditional
    FlowConnectionTypeData
    Data
    FlowConnectionTypeConditional
    Conditional
    Data
    Data
    Conditional
    Conditional
    Data
    Data
    Conditional
    Conditional
    DATA
    Data
    CONDITIONAL
    Conditional
    "Data"
    Data
    "Conditional"
    Conditional

    FlowDataConnectionConfiguration, FlowDataConnectionConfigurationArgs

    SourceOutput string
    Name of a node output in a flow
    TargetInput string
    Name of a node input in a flow
    SourceOutput string
    Name of a node output in a flow
    TargetInput string
    Name of a node input in a flow
    sourceOutput String
    Name of a node output in a flow
    targetInput String
    Name of a node input in a flow
    sourceOutput string
    Name of a node output in a flow
    targetInput string
    Name of a node input in a flow
    source_output str
    Name of a node output in a flow
    target_input str
    Name of a node input in a flow
    sourceOutput String
    Name of a node output in a flow
    targetInput String
    Name of a node input in a flow

    FlowDefinition, FlowDefinitionArgs

    Connections []FlowConnection
    List of connections
    Nodes []FlowNode
    List of nodes in a flow
    connections List<FlowConnection>
    List of connections
    nodes List<FlowNode>
    List of nodes in a flow
    connections FlowConnection[]
    List of connections
    nodes FlowNode[]
    List of nodes in a flow
    connections Sequence[FlowConnection]
    List of connections
    nodes Sequence[FlowNode]
    List of nodes in a flow
    connections List<Property Map>
    List of connections
    nodes List<Property Map>
    List of nodes in a flow

    FlowKnowledgeBaseFlowNodeConfiguration, FlowKnowledgeBaseFlowNodeConfigurationArgs

    KnowledgeBaseId string
    Identifier of the KnowledgeBase
    ModelId string
    ARN or name of a Bedrock model.
    KnowledgeBaseId string
    Identifier of the KnowledgeBase
    ModelId string
    ARN or name of a Bedrock model.
    knowledgeBaseId String
    Identifier of the KnowledgeBase
    modelId String
    ARN or name of a Bedrock model.
    knowledgeBaseId string
    Identifier of the KnowledgeBase
    modelId string
    ARN or name of a Bedrock model.
    knowledge_base_id str
    Identifier of the KnowledgeBase
    model_id str
    ARN or name of a Bedrock model.
    knowledgeBaseId String
    Identifier of the KnowledgeBase
    modelId String
    ARN or name of a Bedrock model.

    FlowLambdaFunctionFlowNodeConfiguration, FlowLambdaFunctionFlowNodeConfigurationArgs

    LambdaArn string
    ARN of a Lambda.
    LambdaArn string
    ARN of a Lambda.
    lambdaArn String
    ARN of a Lambda.
    lambdaArn string
    ARN of a Lambda.
    lambda_arn str
    ARN of a Lambda.
    lambdaArn String
    ARN of a Lambda.

    FlowLexFlowNodeConfiguration, FlowLexFlowNodeConfigurationArgs

    BotAliasArn string
    ARN of a Lex bot alias
    LocaleId string
    Lex bot locale id
    BotAliasArn string
    ARN of a Lex bot alias
    LocaleId string
    Lex bot locale id
    botAliasArn String
    ARN of a Lex bot alias
    localeId String
    Lex bot locale id
    botAliasArn string
    ARN of a Lex bot alias
    localeId string
    Lex bot locale id
    bot_alias_arn str
    ARN of a Lex bot alias
    locale_id str
    Lex bot locale id
    botAliasArn String
    ARN of a Lex bot alias
    localeId String
    Lex bot locale id

    FlowNode, FlowNodeArgs

    Name string
    Name of a node in a flow
    Type Pulumi.AwsNative.Bedrock.FlowNodeType
    The type of node. This value must match the name of the key that you provide in the configuration you provide in the FlowNodeConfiguration field.
    Configuration Pulumi.AwsNative.Bedrock.Inputs.FlowNodeConfiguration0Properties | Pulumi.AwsNative.Bedrock.Inputs.FlowNodeConfiguration1Properties | Pulumi.AwsNative.Bedrock.Inputs.FlowNodeConfiguration2Properties | Pulumi.AwsNative.Bedrock.Inputs.FlowNodeConfiguration3Properties | Pulumi.AwsNative.Bedrock.Inputs.FlowNodeConfiguration4Properties | Pulumi.AwsNative.Bedrock.Inputs.FlowNodeConfiguration5Properties | Pulumi.AwsNative.Bedrock.Inputs.FlowNodeConfiguration6Properties | Pulumi.AwsNative.Bedrock.Inputs.FlowNodeConfiguration7Properties | Pulumi.AwsNative.Bedrock.Inputs.FlowNodeConfiguration8Properties | Pulumi.AwsNative.Bedrock.Inputs.FlowNodeConfiguration9Properties | Pulumi.AwsNative.Bedrock.Inputs.FlowNodeConfiguration10Properties | Pulumi.AwsNative.Bedrock.Inputs.FlowNodeConfiguration11Properties
    Contains configurations for the node.
    Inputs List<Pulumi.AwsNative.Bedrock.Inputs.FlowNodeInput>
    List of node inputs in a flow
    Outputs List<Pulumi.AwsNative.Bedrock.Inputs.FlowNodeOutput>
    List of node outputs in a flow
    name string
    Name of a node in a flow
    type FlowNodeType
    The type of node. This value must match the name of the key that you provide in the configuration you provide in the FlowNodeConfiguration field.
    configuration FlowNodeConfiguration0Properties | FlowNodeConfiguration1Properties | FlowNodeConfiguration2Properties | FlowNodeConfiguration3Properties | FlowNodeConfiguration4Properties | FlowNodeConfiguration5Properties | FlowNodeConfiguration6Properties | FlowNodeConfiguration7Properties | FlowNodeConfiguration8Properties | FlowNodeConfiguration9Properties | FlowNodeConfiguration10Properties | FlowNodeConfiguration11Properties
    Contains configurations for the node.
    inputs FlowNodeInput[]
    List of node inputs in a flow
    outputs FlowNodeOutput[]
    List of node outputs in a flow
    name String
    Name of a node in a flow
    type "Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Agent" | "Storage" | "Retrieval" | "Iterator" | "Collector"
    The type of node. This value must match the name of the key that you provide in the configuration you provide in the FlowNodeConfiguration field.
    configuration Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map | Property Map
    Contains configurations for the node.
    inputs List<Property Map>
    List of node inputs in a flow
    outputs List<Property Map>
    List of node outputs in a flow

    FlowNodeConfiguration0Properties, FlowNodeConfiguration0PropertiesArgs

    FlowNodeConfiguration10Properties, FlowNodeConfiguration10PropertiesArgs

    FlowNodeConfiguration11Properties, FlowNodeConfiguration11PropertiesArgs

    FlowNodeConfiguration1Properties, FlowNodeConfiguration1PropertiesArgs

    FlowNodeConfiguration2Properties, FlowNodeConfiguration2PropertiesArgs

    FlowNodeConfiguration3Properties, FlowNodeConfiguration3PropertiesArgs

    FlowNodeConfiguration4Properties, FlowNodeConfiguration4PropertiesArgs

    FlowNodeConfiguration5Properties, FlowNodeConfiguration5PropertiesArgs

    FlowNodeConfiguration6Properties, FlowNodeConfiguration6PropertiesArgs

    FlowNodeConfiguration7Properties, FlowNodeConfiguration7PropertiesArgs

    FlowNodeConfiguration8Properties, FlowNodeConfiguration8PropertiesArgs

    FlowNodeConfiguration9Properties, FlowNodeConfiguration9PropertiesArgs

    FlowNodeInput, FlowNodeInputArgs

    Expression string
    Expression for a node input in a flow
    Name string
    Name of a node input in a flow
    Type Pulumi.AwsNative.Bedrock.FlowNodeIoDataType
    The data type of the input. If the input doesn't match this type at runtime, a validation error will be thrown.
    Expression string
    Expression for a node input in a flow
    Name string
    Name of a node input in a flow
    Type FlowNodeIoDataType
    The data type of the input. If the input doesn't match this type at runtime, a validation error will be thrown.
    expression String
    Expression for a node input in a flow
    name String
    Name of a node input in a flow
    type FlowNodeIoDataType
    The data type of the input. If the input doesn't match this type at runtime, a validation error will be thrown.
    expression string
    Expression for a node input in a flow
    name string
    Name of a node input in a flow
    type FlowNodeIoDataType
    The data type of the input. If the input doesn't match this type at runtime, a validation error will be thrown.
    expression str
    Expression for a node input in a flow
    name str
    Name of a node input in a flow
    type FlowNodeIoDataType
    The data type of the input. If the input doesn't match this type at runtime, a validation error will be thrown.
    expression String
    Expression for a node input in a flow
    name String
    Name of a node input in a flow
    type "String" | "Number" | "Boolean" | "Object" | "Array"
    The data type of the input. If the input doesn't match this type at runtime, a validation error will be thrown.

    FlowNodeIoDataType, FlowNodeIoDataTypeArgs

    String
    String
    Number
    Number
    Boolean
    Boolean
    Object
    Object
    Array
    Array
    FlowNodeIoDataTypeString
    String
    FlowNodeIoDataTypeNumber
    Number
    FlowNodeIoDataTypeBoolean
    Boolean
    FlowNodeIoDataTypeObject
    Object
    FlowNodeIoDataTypeArray
    Array
    String
    String
    Number
    Number
    Boolean
    Boolean
    Object
    Object
    Array
    Array
    String
    String
    Number
    Number
    Boolean
    Boolean
    Object
    Object
    Array
    Array
    STRING
    String
    NUMBER
    Number
    BOOLEAN
    Boolean
    OBJECT
    Object
    ARRAY
    Array
    "String"
    String
    "Number"
    Number
    "Boolean"
    Boolean
    "Object"
    Object
    "Array"
    Array

    FlowNodeOutput, FlowNodeOutputArgs

    Name string
    Name of a node output in a flow
    Type Pulumi.AwsNative.Bedrock.FlowNodeIoDataType
    The data type of the output. If the output doesn't match this type at runtime, a validation error will be thrown.
    Name string
    Name of a node output in a flow
    Type FlowNodeIoDataType
    The data type of the output. If the output doesn't match this type at runtime, a validation error will be thrown.
    name String
    Name of a node output in a flow
    type FlowNodeIoDataType
    The data type of the output. If the output doesn't match this type at runtime, a validation error will be thrown.
    name string
    Name of a node output in a flow
    type FlowNodeIoDataType
    The data type of the output. If the output doesn't match this type at runtime, a validation error will be thrown.
    name str
    Name of a node output in a flow
    type FlowNodeIoDataType
    The data type of the output. If the output doesn't match this type at runtime, a validation error will be thrown.
    name String
    Name of a node output in a flow
    type "String" | "Number" | "Boolean" | "Object" | "Array"
    The data type of the output. If the output doesn't match this type at runtime, a validation error will be thrown.

    FlowNodeType, FlowNodeTypeArgs

    InputType
    Input
    OutputType
    Output
    KnowledgeBase
    KnowledgeBase
    Condition
    Condition
    Lex
    Lex
    Prompt
    Prompt
    LambdaFunction
    LambdaFunction
    Agent
    Agent
    Storage
    Storage
    Retrieval
    Retrieval
    Iterator
    Iterator
    Collector
    Collector
    FlowNodeTypeInputType
    Input
    FlowNodeTypeOutputType
    Output
    FlowNodeTypeKnowledgeBase
    KnowledgeBase
    FlowNodeTypeCondition
    Condition
    FlowNodeTypeLex
    Lex
    FlowNodeTypePrompt
    Prompt
    FlowNodeTypeLambdaFunction
    LambdaFunction
    FlowNodeTypeAgent
    Agent
    FlowNodeTypeStorage
    Storage
    FlowNodeTypeRetrieval
    Retrieval
    FlowNodeTypeIterator
    Iterator
    FlowNodeTypeCollector
    Collector
    InputType
    Input
    OutputType
    Output
    KnowledgeBase
    KnowledgeBase
    Condition
    Condition
    Lex
    Lex
    Prompt
    Prompt
    LambdaFunction
    LambdaFunction
    Agent
    Agent
    Storage
    Storage
    Retrieval
    Retrieval
    Iterator
    Iterator
    Collector
    Collector
    InputType
    Input
    OutputType
    Output
    KnowledgeBase
    KnowledgeBase
    Condition
    Condition
    Lex
    Lex
    Prompt
    Prompt
    LambdaFunction
    LambdaFunction
    Agent
    Agent
    Storage
    Storage
    Retrieval
    Retrieval
    Iterator
    Iterator
    Collector
    Collector
    INPUT_TYPE
    Input
    OUTPUT_TYPE
    Output
    KNOWLEDGE_BASE
    KnowledgeBase
    CONDITION
    Condition
    LEX
    Lex
    PROMPT
    Prompt
    LAMBDA_FUNCTION
    LambdaFunction
    AGENT
    Agent
    STORAGE
    Storage
    RETRIEVAL
    Retrieval
    ITERATOR
    Iterator
    COLLECTOR
    Collector
    "Input"
    Input
    "Output"
    Output
    "KnowledgeBase"
    KnowledgeBase
    "Condition"
    Condition
    "Lex"
    Lex
    "Prompt"
    Prompt
    "LambdaFunction"
    LambdaFunction
    "Agent"
    Agent
    "Storage"
    Storage
    "Retrieval"
    Retrieval
    "Iterator"
    Iterator
    "Collector"
    Collector

    FlowPromptFlowNodeConfiguration, FlowPromptFlowNodeConfigurationArgs

    FlowPromptFlowNodeInlineConfiguration, FlowPromptFlowNodeInlineConfigurationArgs

    FlowPromptFlowNodeResourceConfiguration, FlowPromptFlowNodeResourceConfigurationArgs

    PromptArn string
    ARN of a prompt resource possibly with a version
    PromptArn string
    ARN of a prompt resource possibly with a version
    promptArn String
    ARN of a prompt resource possibly with a version
    promptArn string
    ARN of a prompt resource possibly with a version
    prompt_arn str
    ARN of a prompt resource possibly with a version
    promptArn String
    ARN of a prompt resource possibly with a version

    FlowPromptFlowNodeSourceConfiguration0Properties, FlowPromptFlowNodeSourceConfiguration0PropertiesArgs

    FlowPromptFlowNodeSourceConfiguration1Properties, FlowPromptFlowNodeSourceConfiguration1PropertiesArgs

    FlowPromptInferenceConfigurationProperties, FlowPromptInferenceConfigurationPropertiesArgs

    FlowPromptInputVariable, FlowPromptInputVariableArgs

    Name string
    Name for an input variable
    Name string
    Name for an input variable
    name String
    Name for an input variable
    name string
    Name for an input variable
    name str
    Name for an input variable
    name String
    Name for an input variable

    FlowPromptModelInferenceConfiguration, FlowPromptModelInferenceConfigurationArgs

    MaxTokens double
    Maximum length of output
    StopSequences List<string>
    List of stop sequences
    Temperature double
    Controls randomness, higher values increase diversity
    TopK double
    Sample from the k most likely next tokens
    TopP double
    Cumulative probability cutoff for token selection
    MaxTokens float64
    Maximum length of output
    StopSequences []string
    List of stop sequences
    Temperature float64
    Controls randomness, higher values increase diversity
    TopK float64
    Sample from the k most likely next tokens
    TopP float64
    Cumulative probability cutoff for token selection
    maxTokens Double
    Maximum length of output
    stopSequences List<String>
    List of stop sequences
    temperature Double
    Controls randomness, higher values increase diversity
    topK Double
    Sample from the k most likely next tokens
    topP Double
    Cumulative probability cutoff for token selection
    maxTokens number
    Maximum length of output
    stopSequences string[]
    List of stop sequences
    temperature number
    Controls randomness, higher values increase diversity
    topK number
    Sample from the k most likely next tokens
    topP number
    Cumulative probability cutoff for token selection
    max_tokens float
    Maximum length of output
    stop_sequences Sequence[str]
    List of stop sequences
    temperature float
    Controls randomness, higher values increase diversity
    top_k float
    Sample from the k most likely next tokens
    top_p float
    Cumulative probability cutoff for token selection
    maxTokens Number
    Maximum length of output
    stopSequences List<String>
    List of stop sequences
    temperature Number
    Controls randomness, higher values increase diversity
    topK Number
    Sample from the k most likely next tokens
    topP Number
    Cumulative probability cutoff for token selection

    FlowPromptTemplateConfigurationProperties, FlowPromptTemplateConfigurationPropertiesArgs

    FlowPromptTemplateType, FlowPromptTemplateTypeArgs

    Text
    TEXT
    FlowPromptTemplateTypeText
    TEXT
    Text
    TEXT
    Text
    TEXT
    TEXT
    TEXT
    "TEXT"
    TEXT

    FlowRetrievalFlowNodeConfiguration, FlowRetrievalFlowNodeConfigurationArgs

    FlowRetrievalFlowNodeS3Configuration, FlowRetrievalFlowNodeS3ConfigurationArgs

    BucketName string
    bucket name of an s3 that will be used for Retrieval flow node configuration
    BucketName string
    bucket name of an s3 that will be used for Retrieval flow node configuration
    bucketName String
    bucket name of an s3 that will be used for Retrieval flow node configuration
    bucketName string
    bucket name of an s3 that will be used for Retrieval flow node configuration
    bucket_name str
    bucket name of an s3 that will be used for Retrieval flow node configuration
    bucketName String
    bucket name of an s3 that will be used for Retrieval flow node configuration

    FlowRetrievalFlowNodeServiceConfigurationProperties, FlowRetrievalFlowNodeServiceConfigurationPropertiesArgs

    FlowS3Location, FlowS3LocationArgs

    Bucket string
    A bucket in S3
    Key string
    A object key in S3
    Version string
    The version of the the S3 object to use
    Bucket string
    A bucket in S3
    Key string
    A object key in S3
    Version string
    The version of the the S3 object to use
    bucket String
    A bucket in S3
    key String
    A object key in S3
    version String
    The version of the the S3 object to use
    bucket string
    A bucket in S3
    key string
    A object key in S3
    version string
    The version of the the S3 object to use
    bucket str
    A bucket in S3
    key str
    A object key in S3
    version str
    The version of the the S3 object to use
    bucket String
    A bucket in S3
    key String
    A object key in S3
    version String
    The version of the the S3 object to use

    FlowStatus, FlowStatusArgs

    Failed
    Failed
    Prepared
    Prepared
    Preparing
    Preparing
    NotPrepared
    NotPrepared
    FlowStatusFailed
    Failed
    FlowStatusPrepared
    Prepared
    FlowStatusPreparing
    Preparing
    FlowStatusNotPrepared
    NotPrepared
    Failed
    Failed
    Prepared
    Prepared
    Preparing
    Preparing
    NotPrepared
    NotPrepared
    Failed
    Failed
    Prepared
    Prepared
    Preparing
    Preparing
    NotPrepared
    NotPrepared
    FAILED
    Failed
    PREPARED
    Prepared
    PREPARING
    Preparing
    NOT_PREPARED
    NotPrepared
    "Failed"
    Failed
    "Prepared"
    Prepared
    "Preparing"
    Preparing
    "NotPrepared"
    NotPrepared

    FlowStorageFlowNodeConfiguration, FlowStorageFlowNodeConfigurationArgs

    FlowStorageFlowNodeS3Configuration, FlowStorageFlowNodeS3ConfigurationArgs

    BucketName string
    bucket name of an s3 that will be used for storage flow node configuration
    BucketName string
    bucket name of an s3 that will be used for storage flow node configuration
    bucketName String
    bucket name of an s3 that will be used for storage flow node configuration
    bucketName string
    bucket name of an s3 that will be used for storage flow node configuration
    bucket_name str
    bucket name of an s3 that will be used for storage flow node configuration
    bucketName String
    bucket name of an s3 that will be used for storage flow node configuration

    FlowStorageFlowNodeServiceConfigurationProperties, FlowStorageFlowNodeServiceConfigurationPropertiesArgs

    FlowTextPromptTemplateConfiguration, FlowTextPromptTemplateConfigurationArgs

    Text string
    Prompt content for String prompt template
    InputVariables List<Pulumi.AwsNative.Bedrock.Inputs.FlowPromptInputVariable>
    List of input variables
    Text string
    Prompt content for String prompt template
    InputVariables []FlowPromptInputVariable
    List of input variables
    text String
    Prompt content for String prompt template
    inputVariables List<FlowPromptInputVariable>
    List of input variables
    text string
    Prompt content for String prompt template
    inputVariables FlowPromptInputVariable[]
    List of input variables
    text str
    Prompt content for String prompt template
    input_variables Sequence[FlowPromptInputVariable]
    List of input variables
    text String
    Prompt content for String prompt template
    inputVariables List<Property Map>
    List of input variables

    FlowValidation, FlowValidationArgs

    Message string
    validation message
    Message string
    validation message
    message String
    validation message
    message string
    validation message
    message str
    validation message
    message String
    validation message

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi