We recommend new projects start with resources from the AWS provider.
aws-native.bedrock.IntelligentPromptRouter
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Definition of AWS::Bedrock::IntelligentPromptRouter Resource Type
Create IntelligentPromptRouter Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IntelligentPromptRouter(name: string, args: IntelligentPromptRouterArgs, opts?: CustomResourceOptions);
@overload
def IntelligentPromptRouter(resource_name: str,
args: IntelligentPromptRouterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IntelligentPromptRouter(resource_name: str,
opts: Optional[ResourceOptions] = None,
fallback_model: Optional[IntelligentPromptRouterPromptRouterTargetModelArgs] = None,
models: Optional[Sequence[IntelligentPromptRouterPromptRouterTargetModelArgs]] = None,
routing_criteria: Optional[IntelligentPromptRouterRoutingCriteriaArgs] = None,
description: Optional[str] = None,
prompt_router_name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewIntelligentPromptRouter(ctx *Context, name string, args IntelligentPromptRouterArgs, opts ...ResourceOption) (*IntelligentPromptRouter, error)
public IntelligentPromptRouter(string name, IntelligentPromptRouterArgs args, CustomResourceOptions? opts = null)
public IntelligentPromptRouter(String name, IntelligentPromptRouterArgs args)
public IntelligentPromptRouter(String name, IntelligentPromptRouterArgs args, CustomResourceOptions options)
type: aws-native:bedrock:IntelligentPromptRouter
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 IntelligentPromptRouterArgs
- 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 IntelligentPromptRouterArgs
- 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 IntelligentPromptRouterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IntelligentPromptRouterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IntelligentPromptRouterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
IntelligentPromptRouter 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 IntelligentPromptRouter resource accepts the following input properties:
- Fallback
Model Pulumi.Aws Native. Bedrock. Inputs. Intelligent Prompt Router Prompt Router Target Model - The default model to use when the routing criteria is not met.
- Models
List<Pulumi.
Aws Native. Bedrock. Inputs. Intelligent Prompt Router Prompt Router Target Model> - List of model configuration
- Routing
Criteria Pulumi.Aws Native. Bedrock. Inputs. Intelligent Prompt Router Routing Criteria - Routing criteria for a prompt router.
- Description string
- Description of the Prompt Router.
- Prompt
Router stringName - Name of the Prompt Router.
- List<Pulumi.
Aws Native. Inputs. Tag> - List of Tags
- Fallback
Model IntelligentPrompt Router Prompt Router Target Model Args - The default model to use when the routing criteria is not met.
- Models
[]Intelligent
Prompt Router Prompt Router Target Model Args - List of model configuration
- Routing
Criteria IntelligentPrompt Router Routing Criteria Args - Routing criteria for a prompt router.
- Description string
- Description of the Prompt Router.
- Prompt
Router stringName - Name of the Prompt Router.
- Tag
Args - List of Tags
- fallback
Model IntelligentPrompt Router Prompt Router Target Model - The default model to use when the routing criteria is not met.
- models
List<Intelligent
Prompt Router Prompt Router Target Model> - List of model configuration
- routing
Criteria IntelligentPrompt Router Routing Criteria - Routing criteria for a prompt router.
- description String
- Description of the Prompt Router.
- prompt
Router StringName - Name of the Prompt Router.
- List<Tag>
- List of Tags
- fallback
Model IntelligentPrompt Router Prompt Router Target Model - The default model to use when the routing criteria is not met.
- models
Intelligent
Prompt Router Prompt Router Target Model[] - List of model configuration
- routing
Criteria IntelligentPrompt Router Routing Criteria - Routing criteria for a prompt router.
- description string
- Description of the Prompt Router.
- prompt
Router stringName - Name of the Prompt Router.
- Tag[]
- List of Tags
- fallback_
model IntelligentPrompt Router Prompt Router Target Model Args - The default model to use when the routing criteria is not met.
- models
Sequence[Intelligent
Prompt Router Prompt Router Target Model Args] - List of model configuration
- routing_
criteria IntelligentPrompt Router Routing Criteria Args - Routing criteria for a prompt router.
- description str
- Description of the Prompt Router.
- prompt_
router_ strname - Name of the Prompt Router.
- Sequence[Tag
Args] - List of Tags
- fallback
Model Property Map - The default model to use when the routing criteria is not met.
- models List<Property Map>
- List of model configuration
- routing
Criteria Property Map - Routing criteria for a prompt router.
- description String
- Description of the Prompt Router.
- prompt
Router StringName - Name of the Prompt Router.
- List<Property Map>
- List of Tags
Outputs
All input properties are implicitly available as output properties. Additionally, the IntelligentPromptRouter resource produces the following output properties:
- Created
At string - Time Stamp
- Id string
- The provider-assigned unique ID for this managed resource.
- Prompt
Router stringArn - Arn of the Prompt Router.
- Status
Pulumi.
Aws Native. Bedrock. Intelligent Prompt Router Prompt Router Status - The router's status.
- Type
Pulumi.
Aws Native. Bedrock. Intelligent Prompt Router Prompt Router Type - The router's type.
- Updated
At string - Time Stamp
- Created
At string - Time Stamp
- Id string
- The provider-assigned unique ID for this managed resource.
- Prompt
Router stringArn - Arn of the Prompt Router.
- Status
Intelligent
Prompt Router Prompt Router Status - The router's status.
- Type
Intelligent
Prompt Router Prompt Router Type - The router's type.
- Updated
At string - Time Stamp
- created
At String - Time Stamp
- id String
- The provider-assigned unique ID for this managed resource.
- prompt
Router StringArn - Arn of the Prompt Router.
- status
Intelligent
Prompt Router Prompt Router Status - The router's status.
- type
Intelligent
Prompt Router Prompt Router Type - The router's type.
- updated
At String - Time Stamp
- created
At string - Time Stamp
- id string
- The provider-assigned unique ID for this managed resource.
- prompt
Router stringArn - Arn of the Prompt Router.
- status
Intelligent
Prompt Router Prompt Router Status - The router's status.
- type
Intelligent
Prompt Router Prompt Router Type - The router's type.
- updated
At string - Time Stamp
- created_
at str - Time Stamp
- id str
- The provider-assigned unique ID for this managed resource.
- prompt_
router_ strarn - Arn of the Prompt Router.
- status
Intelligent
Prompt Router Prompt Router Status - The router's status.
- type
Intelligent
Prompt Router Prompt Router Type - The router's type.
- updated_
at str - Time Stamp
- created
At String - Time Stamp
- id String
- The provider-assigned unique ID for this managed resource.
- prompt
Router StringArn - Arn of the Prompt Router.
- status "AVAILABLE"
- The router's status.
- type "custom" | "default"
- The router's type.
- updated
At String - Time Stamp
Supporting Types
IntelligentPromptRouterPromptRouterStatus, IntelligentPromptRouterPromptRouterStatusArgs
- Available
- AVAILABLE
- Intelligent
Prompt Router Prompt Router Status Available - AVAILABLE
- Available
- AVAILABLE
- Available
- AVAILABLE
- AVAILABLE
- AVAILABLE
- "AVAILABLE"
- AVAILABLE
IntelligentPromptRouterPromptRouterTargetModel, IntelligentPromptRouterPromptRouterTargetModelArgs
- Model
Arn string - Arn of underlying model which are added in the Prompt Router.
- Model
Arn string - Arn of underlying model which are added in the Prompt Router.
- model
Arn String - Arn of underlying model which are added in the Prompt Router.
- model
Arn string - Arn of underlying model which are added in the Prompt Router.
- model_
arn str - Arn of underlying model which are added in the Prompt Router.
- model
Arn String - Arn of underlying model which are added in the Prompt Router.
IntelligentPromptRouterPromptRouterType, IntelligentPromptRouterPromptRouterTypeArgs
- Custom
- custom
- Default
- default
- Intelligent
Prompt Router Prompt Router Type Custom - custom
- Intelligent
Prompt Router Prompt Router Type Default - default
- Custom
- custom
- Default
- default
- Custom
- custom
- Default
- default
- CUSTOM
- custom
- DEFAULT
- default
- "custom"
- custom
- "default"
- default
IntelligentPromptRouterRoutingCriteria, IntelligentPromptRouterRoutingCriteriaArgs
- Response
Quality doubleDifference - The criteria's response quality difference.
- Response
Quality float64Difference - The criteria's response quality difference.
- response
Quality DoubleDifference - The criteria's response quality difference.
- response
Quality numberDifference - The criteria's response quality difference.
- response_
quality_ floatdifference - The criteria's response quality difference.
- response
Quality NumberDifference - The criteria's response quality difference.
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.