Enum CrossRegionInferenceProfileRegion
java.lang.Object
java.lang.Enum<CrossRegionInferenceProfileRegion>
software.amazon.awscdk.services.bedrock.alpha.CrossRegionInferenceProfileRegion
- All Implemented Interfaces:
Serializable
,Comparable<CrossRegionInferenceProfileRegion>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
date="2025-08-06T18:14:48.058Z")
@Stability(Experimental)
public enum CrossRegionInferenceProfileRegion
extends Enum<CrossRegionInferenceProfileRegion>
(experimental) Geographic regions supported for cross-region inference profiles.
These regions help distribute traffic across multiple AWS regions for better throughput and resilience during peak demands.
Example:
// Create a cross-region inference profile CrossRegionInferenceProfile crossRegionProfile = CrossRegionInferenceProfile.fromConfig(CrossRegionInferenceProfileProps.builder() .geoRegion(CrossRegionInferenceProfileRegion.US) .model(BedrockFoundationModel.ANTHROPIC_CLAUDE_3_5_SONNET_V2_0) .build()); // Create an application inference profile across regions ApplicationInferenceProfile appProfile = ApplicationInferenceProfile.Builder.create(this, "MyMultiRegionProfile") .applicationInferenceProfileName("claude-35-sonnet-v2-multi-region") .modelSource(crossRegionProfile) .description("Multi-region application profile for cost tracking") .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static CrossRegionInferenceProfileRegion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EU
(experimental) Cross-region Inference Identifier for the European area.According to the model chosen, this might include:
- Frankfurt (
eu-central-1
) - Ireland (
eu-west-1
) - Paris (
eu-west-3
)
- Frankfurt (
-
US
(experimental) Cross-region Inference Identifier for the United States area.According to the model chosen, this might include:
- N. Virginia (
us-east-1
) - Oregon (
us-west-2
) - Ohio (
us-east-2
)
- N. Virginia (
-
APAC
(experimental) Cross-region Inference Identifier for the Asia-Pacific area.According to the model chosen, this might include:
- Tokyo (
ap-northeast-1
) - Seoul (
ap-northeast-2
) - Mumbai (
ap-south-1
) - Singapore (
ap-southeast-1
) - Sydney (
ap-southeast-2
)
- Tokyo (
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-