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();
 
  • Enum Constant Details

    • EU

      @Stability(Experimental) public static final CrossRegionInferenceProfileRegion 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)
    • US

      @Stability(Experimental) public static final CrossRegionInferenceProfileRegion 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)
    • APAC

      @Stability(Experimental) public static final CrossRegionInferenceProfileRegion 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)
  • Method Details

    • values

      public static CrossRegionInferenceProfileRegion[] 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

      public static CrossRegionInferenceProfileRegion valueOf(String name)
      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 name
      NullPointerException - if the argument is null