GuardrailCrossRegionConfigProperty
- class aws_cdk.aws_bedrock_alpha.GuardrailCrossRegionConfigProperty(*, guardrail_profile_arn)
Bases:
object
(experimental) GuardrailCrossRegionConfigProperty.
- Parameters:
guardrail_profile_arn (
str
) – (experimental) The arn of thesystem-defined guardrail profile that you’re using with your guardrail. Guardrail profiles define the destination AWS Regions where guardrail inference requests can be automatically routed. Using guardrail profiles helps maintain guardrail performance and reliability when demand increases. Default: - No cross-region configuration- Stability:
experimental
- ExampleMetadata:
fixture=default infused
Example:
guardrail = bedrock.Guardrail(self, "bedrockGuardrails", guardrail_name="my-BedrockGuardrails", description="Guardrail with cross-region configuration for enhanced language support", cross_region_config=bedrock.GuardrailCrossRegionConfigProperty( guardrail_profile_arn="arn:aws:bedrock:us-east-1:123456789012:guardrail-profile/my-profile" ), # Use STANDARD tier for enhanced capabilities content_filters_tier_config=bedrock.TierConfig.STANDARD, topics_tier_config=bedrock.TierConfig.STANDARD )
Attributes
- guardrail_profile_arn
(experimental) The arn of thesystem-defined guardrail profile that you’re using with your guardrail.
Guardrail profiles define the destination AWS Regions where guardrail inference requests can be automatically routed. Using guardrail profiles helps maintain guardrail performance and reliability when demand increases.
- Default:
No cross-region configuration
- Stability:
experimental