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

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

AWS Cloud Control v1.28.0 published on Monday, May 19, 2025 by Pulumi

aws-native.bedrock.IntelligentPromptRouter

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.28.0 published on Monday, May 19, 2025 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.
    
    

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

    Supporting Types

    IntelligentPromptRouterPromptRouterStatus, IntelligentPromptRouterPromptRouterStatusArgs

    Available
    AVAILABLE
    IntelligentPromptRouterPromptRouterStatusAvailable
    AVAILABLE
    Available
    AVAILABLE
    Available
    AVAILABLE
    AVAILABLE
    AVAILABLE
    "AVAILABLE"
    AVAILABLE

    IntelligentPromptRouterPromptRouterTargetModel, IntelligentPromptRouterPromptRouterTargetModelArgs

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

    Custom
    custom
    Default
    default
    IntelligentPromptRouterPromptRouterTypeCustom
    custom
    IntelligentPromptRouterPromptRouterTypeDefault
    default
    Custom
    custom
    Default
    default
    Custom
    custom
    Default
    default
    CUSTOM
    custom
    DEFAULT
    default
    "custom"
    custom
    "default"
    default

    IntelligentPromptRouterRoutingCriteria, IntelligentPromptRouterRoutingCriteriaArgs

    ResponseQualityDifference double
    The criteria's response quality difference.
    ResponseQualityDifference float64
    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

    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

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

    AWS Cloud Control v1.28.0 published on Monday, May 19, 2025 by Pulumi