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.121.0 (build d7af9b9)", date="2025-12-18T18:20:21.178Z") @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_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();
 
  • Enum Constant Details

    • GLOBAL

      @Stability(Experimental) public static final CrossRegionInferenceProfileRegion GLOBAL
      (experimental) Global cross-region Inference Identifier.

      Routes requests to any supported commercial AWS Region.

    • 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)
      • London (eu-west-2)
      • Stockholm (eu-north-1)
      • Milan (eu-south-1)
      • Spain (eu-south-2)
      • Zurich (eu-central-2)
    • 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)
      • Ohio (us-east-2)
      • Oregon (us-west-2)
    • US_GOV

      @Stability(Experimental) public static final CrossRegionInferenceProfileRegion US_GOV
      (experimental) Cross-region Inference Identifier for the US GovCloud area.

      According to the model chosen, this might include:

      • GovCloud US-East (us-gov-east-1)
      • GovCloud US-West (us-gov-west-1)
    • 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)
      • Osaka (ap-northeast-3)
      • Mumbai (ap-south-1)
      • Hyderabad (ap-south-2)
      • Singapore (ap-southeast-1)
      • Sydney (ap-southeast-2)
      • Jakarta (ap-southeast-3)
      • Melbourne (ap-southeast-4)
      • Malaysia (ap-southeast-5)
      • Thailand (ap-southeast-7)
      • Taipei (ap-east-2)
      • Middle East (UAE) (me-central-1)
    • JP

      @Stability(Experimental) public static final CrossRegionInferenceProfileRegion JP
      (experimental) Cross-region Inference Identifier for the Japan area.

      According to the model chosen, this might include:

      • Tokyo (ap-northeast-1)
      • Osaka (ap-northeast-3)
    • AU

      @Stability(Experimental) public static final CrossRegionInferenceProfileRegion AU
      (experimental) Cross-region Inference Identifier for the Australia area.

      According to the model chosen, this might include:

      • Sydney (ap-southeast-2)
      • Melbourne (ap-southeast-4)
  • 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