Class CfnDefaultPromptRouter

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, IDefaultPromptRouterRef, IEnvironmentAware, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-08-10T14:50:57.870Z") @Stability(Stable) public class CfnDefaultPromptRouter extends CfnResource implements IInspectable, IDefaultPromptRouterRef
Definition of AWS::Bedrock::DefaultPromptRouter Resource Type.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.bedrock.*;
 CfnDefaultPromptRouter cfnDefaultPromptRouter = CfnDefaultPromptRouter.Builder.create(this, "MyCfnDefaultPromptRouter").build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnDefaultPromptRouter

      protected CfnDefaultPromptRouter(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnDefaultPromptRouter

      protected CfnDefaultPromptRouter(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnDefaultPromptRouter

      @Stability(Stable) public CfnDefaultPromptRouter(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnDefaultPromptRouterProps props)
      Create a new AWS::Bedrock::DefaultPromptRouter.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties.
    • CfnDefaultPromptRouter

      @Stability(Stable) public CfnDefaultPromptRouter(@NotNull software.constructs.Construct scope, @NotNull String id)
      Create a new AWS::Bedrock::DefaultPromptRouter.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
  • Method Details

    • isCfnDefaultPromptRouter

      @Stability(Stable) @NotNull public static Boolean isCfnDefaultPromptRouter(@NotNull Object x)
      Checks whether the given object is a CfnDefaultPromptRouter.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrCreatedAt

      @Stability(Stable) @NotNull public String getAttrCreatedAt()
      The timestamp when the default prompt router was created.
    • getAttrDescription

      @Stability(Stable) @NotNull public String getAttrDescription()
      The description of the default prompt router.
    • getAttrFallbackModel

      @Stability(Stable) @NotNull public IResolvable getAttrFallbackModel()
      A target model for the prompt router.
    • getAttrModels

      @Stability(Stable) @NotNull public IResolvable getAttrModels()
      A list of foundation models that the default prompt router can route requests to.
    • getAttrPromptRouterArn

      @Stability(Stable) @NotNull public String getAttrPromptRouterArn()
      The Amazon Resource Name (ARN) of the default prompt router.
    • getAttrPromptRouterId

      @Stability(Stable) @NotNull public String getAttrPromptRouterId()
      The unique identifier of the default prompt router, extracted from the ARN.
    • getAttrPromptRouterName

      @Stability(Stable) @NotNull public String getAttrPromptRouterName()
      The name of the default prompt router.
    • getAttrRoutingCriteria

      @Stability(Stable) @NotNull public IResolvable getAttrRoutingCriteria()
      Routing criteria for a prompt router.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      The status of the default prompt router.
    • getAttrType

      @Stability(Stable) @NotNull public String getAttrType()
      The type of the prompt router.
    • getAttrUpdatedAt

      @Stability(Stable) @NotNull public String getAttrUpdatedAt()
      The timestamp when the default prompt router was last updated.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getCfnPropertyNames

      @Stability(Stable) @NotNull protected Map<String,String> getCfnPropertyNames()
      Overrides:
      getCfnPropertyNames in class CfnResource
    • getDefaultPromptRouterRef

      @Stability(Stable) @NotNull public DefaultPromptRouterReference getDefaultPromptRouterRef()
      A reference to a DefaultPromptRouter resource.
      Specified by:
      getDefaultPromptRouterRef in interface IDefaultPromptRouterRef