1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. bedrock
  6. IntelligentPromptRouter

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

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

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

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi

    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.
    
    
    resource "aws-native_bedrock_intelligent_prompt_router" "name" {
        # resource properties
    }

    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:

    FallbackModel IntelligentPromptRouterPromptRouterTargetModelArgs
    The default model to use when the routing criteria is not met.
    Models []IntelligentPromptRouterPromptRouterTargetModelArgs
    List of model configuration
    RoutingCriteria IntelligentPromptRouterRoutingCriteriaArgs
    Routing criteria for a prompt router.
    Description string
    Description of the Prompt Router.
    PromptRouterName string
    Name of the Prompt Router.
    Tags TagArgs
    List of Tags
    fallback_model object
    The default model to use when the routing criteria is not met.
    models list(object)
    List of model configuration
    routing_criteria object
    Routing criteria for a prompt router.
    description string
    Description of the Prompt Router.
    prompt_router_name string
    Name of the Prompt Router.
    tags list(object)
    List of Tags
    fallbackModel IntelligentPromptRouterPromptRouterTargetModel
    The default model to use when the routing criteria is not met.
    models List<IntelligentPromptRouterPromptRouterTargetModel>
    List of model configuration
    routingCriteria IntelligentPromptRouterRoutingCriteria
    Routing criteria for a prompt router.
    description String
    Description of the Prompt Router.
    promptRouterName String
    Name of the Prompt Router.
    tags List<Tag>
    List of Tags
    fallbackModel IntelligentPromptRouterPromptRouterTargetModel
    The default model to use when the routing criteria is not met.
    models IntelligentPromptRouterPromptRouterTargetModel[]
    List of model configuration
    routingCriteria IntelligentPromptRouterRoutingCriteria
    Routing criteria for a prompt router.
    description string
    Description of the Prompt Router.
    promptRouterName string
    Name of the Prompt Router.
    tags Tag[]
    List of Tags
    fallback_model IntelligentPromptRouterPromptRouterTargetModelArgs
    The default model to use when the routing criteria is not met.
    models Sequence[IntelligentPromptRouterPromptRouterTargetModelArgs]
    List of model configuration
    routing_criteria IntelligentPromptRouterRoutingCriteriaArgs
    Routing criteria for a prompt router.
    description str
    Description of the Prompt Router.
    prompt_router_name str
    Name of the Prompt Router.
    tags Sequence[TagArgs]
    List of Tags
    fallbackModel Property Map
    The default model to use when the routing criteria is not met.
    models List<Property Map>
    List of model configuration
    routingCriteria Property Map
    Routing criteria for a prompt router.
    description String
    Description of the Prompt Router.
    promptRouterName String
    Name of the Prompt Router.
    tags 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:

    CreatedAt string
    Time Stamp
    Id string
    The provider-assigned unique ID for this managed resource.
    PromptRouterArn string
    Arn of the Prompt Router.
    Status Pulumi.AwsNative.Bedrock.IntelligentPromptRouterPromptRouterStatus
    The router's status.
    Type Pulumi.AwsNative.Bedrock.IntelligentPromptRouterPromptRouterType
    The router's type.
    UpdatedAt string
    Time Stamp
    CreatedAt string
    Time Stamp
    Id string
    The provider-assigned unique ID for this managed resource.
    PromptRouterArn string
    Arn of the Prompt Router.
    Status IntelligentPromptRouterPromptRouterStatus
    The router's status.
    Type IntelligentPromptRouterPromptRouterType
    The router's type.
    UpdatedAt string
    Time Stamp
    created_at string
    Time Stamp
    id string
    The provider-assigned unique ID for this managed resource.
    prompt_router_arn string
    Arn of the Prompt Router.
    status "AVAILABLE"
    The router's status.
    type "custom" | "default"
    The router's type.
    updated_at string
    Time Stamp
    createdAt String
    Time Stamp
    id String
    The provider-assigned unique ID for this managed resource.
    promptRouterArn String
    Arn of the Prompt Router.
    status IntelligentPromptRouterPromptRouterStatus
    The router's status.
    type IntelligentPromptRouterPromptRouterType
    The router's type.
    updatedAt String
    Time Stamp
    createdAt string
    Time Stamp
    id string
    The provider-assigned unique ID for this managed resource.
    promptRouterArn string
    Arn of the Prompt Router.
    status IntelligentPromptRouterPromptRouterStatus
    The router's status.
    type IntelligentPromptRouterPromptRouterType
    The router's type.
    updatedAt string
    Time Stamp
    created_at str
    Time Stamp
    id str
    The provider-assigned unique ID for this managed resource.
    prompt_router_arn str
    Arn of the Prompt Router.
    status IntelligentPromptRouterPromptRouterStatus
    The router's status.
    type IntelligentPromptRouterPromptRouterType
    The router's type.
    updated_at str
    Time Stamp
    createdAt String
    Time Stamp
    id String
    The provider-assigned unique ID for this managed resource.
    promptRouterArn String
    Arn of the Prompt Router.
    status "AVAILABLE"
    The router's status.
    type "custom" | "default"
    The router's type.
    updatedAt String
    Time Stamp

    Look up Existing IntelligentPromptRouter Resource

    Get an existing IntelligentPromptRouter 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>, opts?: CustomResourceOptions): IntelligentPromptRouter
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> IntelligentPromptRouter
    func GetIntelligentPromptRouter(ctx *Context, name string, id IDInput, state *IntelligentPromptRouterState, opts ...ResourceOption) (*IntelligentPromptRouter, error)
    public static IntelligentPromptRouter Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static IntelligentPromptRouter get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingIntelligentPromptRouter:    type: aws-native:bedrock:IntelligentPromptRouter    get:      id: ${id}
    import {
      to = aws-native_bedrock_intelligent_prompt_router.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state IntelligentPromptRouterState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    IntelligentPromptRouterPromptRouterStatus

    Status of a PromptRouter

    NameValue
    AvailableAVAILABLE
    NameValue
    IntelligentPromptRouterPromptRouterStatusAvailableAVAILABLE
    Value
    AVAILABLE
    NameValue
    AvailableAVAILABLE
    NameValue
    AvailableAVAILABLE
    NameValue
    AVAILABLEAVAILABLE
    Value
    AVAILABLE

    IntelligentPromptRouterPromptRouterTargetModel, IntelligentPromptRouterPromptRouterTargetModelArgs

    Model configuration

    ModelArn string
    Arn of underlying model which are added in the Prompt Router.
    ModelArn 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.
    modelArn String
    Arn of underlying model which are added in the Prompt Router.
    modelArn 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.
    modelArn String
    Arn of underlying model which are added in the Prompt Router.

    IntelligentPromptRouterPromptRouterType

    Type of a Prompt Router

    NameValue
    Customcustom
    Defaultdefault
    NameValue
    IntelligentPromptRouterPromptRouterTypeCustomcustom
    IntelligentPromptRouterPromptRouterTypeDefaultdefault
    Value
    custom
    default
    NameValue
    Customcustom
    Defaultdefault
    NameValue
    Customcustom
    Defaultdefault
    NameValue
    CUSTOMcustom
    DEFAULTdefault
    Value
    custom
    default

    IntelligentPromptRouterRoutingCriteria, IntelligentPromptRouterRoutingCriteriaArgs

    Represents the criteria used for routing requests.

    ResponseQualityDifference double
    The criteria's response quality difference.
    ResponseQualityDifference float64
    The criteria's response quality difference.
    response_quality_difference number
    The criteria's response quality difference.
    responseQualityDifference Double
    The criteria's response quality difference.
    responseQualityDifference number
    The criteria's response quality difference.
    response_quality_difference float
    The criteria's response quality difference.
    responseQualityDifference Number
    The criteria's response quality difference.

    Tag, TagArgs

    A set of tags to apply to the resource.

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

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

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

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial