Class CfnDefaultPromptRouter
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.bedrock.CfnDefaultPromptRouter
- 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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnDefaultPromptRouter.static interfaceA target model for the prompt router.static interfaceRouting criteria for a prompt router.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.bedrock.IDefaultPromptRouterRef
IDefaultPromptRouterRef.Jsii$Default, IDefaultPromptRouterRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnDefaultPromptRouter(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDefaultPromptRouter(software.amazon.jsii.JsiiObjectRef objRef) CfnDefaultPromptRouter(software.constructs.Construct scope, String id) Create a newAWS::Bedrock::DefaultPromptRouter.CfnDefaultPromptRouter(software.constructs.Construct scope, String id, CfnDefaultPromptRouterProps props) Create a newAWS::Bedrock::DefaultPromptRouter. -
Method Summary
Modifier and TypeMethodDescriptionThe timestamp when the default prompt router was created.The description of the default prompt router.A target model for the prompt router.A list of foundation models that the default prompt router can route requests to.The Amazon Resource Name (ARN) of the default prompt router.The unique identifier of the default prompt router, extracted from the ARN.The name of the default prompt router.Routing criteria for a prompt router.The status of the default prompt router.The type of the prompt router.The timestamp when the default prompt router was last updated.A reference to a DefaultPromptRouter resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnDefaultPromptRouter.renderProperties(Map<String, Object> props) Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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 newAWS::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 newAWS::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
Checks whether the given object is a CfnDefaultPromptRouter.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCreatedAt
The timestamp when the default prompt router was created. -
getAttrDescription
The description of the default prompt router. -
getAttrFallbackModel
A target model for the prompt router. -
getAttrModels
A list of foundation models that the default prompt router can route requests to. -
getAttrPromptRouterArn
The Amazon Resource Name (ARN) of the default prompt router. -
getAttrPromptRouterId
The unique identifier of the default prompt router, extracted from the ARN. -
getAttrPromptRouterName
The name of the default prompt router. -
getAttrRoutingCriteria
Routing criteria for a prompt router. -
getAttrStatus
The status of the default prompt router. -
getAttrType
The type of the prompt router. -
getAttrUpdatedAt
The timestamp when the default prompt router was last updated. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getDefaultPromptRouterRef
A reference to a DefaultPromptRouter resource.- Specified by:
getDefaultPromptRouterRefin interfaceIDefaultPromptRouterRef
-