GuardrailCrossRegionConfigProperty Struct
The system-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.
For more information, see the Amazon Bedrock User Guide .
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const guardrailCrossRegionConfigProperty: bedrock.CfnGuardrail.GuardrailCrossRegionConfigProperty = {
guardrailProfileArn: 'guardrailProfileArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrock as bedrock
guardrail_cross_region_config_property = bedrock.CfnGuardrail.GuardrailCrossRegionConfigProperty(
guardrail_profile_arn="guardrailProfileArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.*;
GuardrailCrossRegionConfigProperty guardrailCrossRegionConfigProperty = GuardrailCrossRegionConfigProperty.builder()
.guardrailProfileArn("guardrailProfileArn")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;
var guardrailCrossRegionConfigProperty = new GuardrailCrossRegionConfigProperty {
GuardrailProfileArn = "guardrailProfileArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
guardrailCrossRegionConfigProperty := &GuardrailCrossRegionConfigProperty{
GuardrailProfileArn: jsii.String("guardrailProfileArn"),
}
Properties
guardrailProfileArnstringguardrail_profile_arnstrguardrailProfileArnStringGuardrailProfileArnstringGuardrailProfileArn*string required #The Amazon Resource Name (ARN) of the guardrail profile that your guardrail is using.
Guardrail profile availability depends on your current AWS Region . For more information, see the Amazon Bedrock User Guide .