Interface CrossRegionInferenceProfileProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CrossRegionInferenceProfileProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:17.901Z")
@Stability(Experimental)
public interface CrossRegionInferenceProfileProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for creating a Cross-Region Inference Profile.
Example:
// Create a cross-region inference profile
CrossRegionInferenceProfile crossRegionProfile = CrossRegionInferenceProfile.fromConfig(CrossRegionInferenceProfileProps.builder()
.geoRegion(CrossRegionInferenceProfileRegion.US)
.model(BedrockFoundationModel.ANTHROPIC_CLAUDE_3_5_SONNET_V1_0)
.build());
// Use the cross-region profile with an agent
Agent agent = Agent.Builder.create(this, "Agent")
.foundationModel(crossRegionProfile)
.instruction("You are a helpful and friendly agent that answers questions about agriculture.")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCrossRegionInferenceProfilePropsstatic final classAn implementation forCrossRegionInferenceProfileProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGeoRegion
(experimental) The geographic region where the traffic is going to be distributed.Routing factors in user traffic, demand and utilization of resources.
-
getModel
(experimental) A foundation model supporting cross-region inference.The model must have cross-region support enabled.
- See Also:
-
builder
-