Class: AWSCDK::Bedrock::CfnGuardrail::GuardrailCrossRegionConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnGuardrail::GuardrailCrossRegionConfigProperty
- Defined in:
- bedrock/cfn_guardrail.rb
Overview
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 .
Instance Attribute Summary collapse
-
#guardrail_profile_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the guardrail profile that your guardrail is using.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(guardrail_profile_arn:) ⇒ GuardrailCrossRegionConfigProperty
constructor
A new instance of GuardrailCrossRegionConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(guardrail_profile_arn:) ⇒ GuardrailCrossRegionConfigProperty
Returns a new instance of GuardrailCrossRegionConfigProperty.
1123 1124 1125 1126 |
# File 'bedrock/cfn_guardrail.rb', line 1123 def initialize(guardrail_profile_arn:) @guardrail_profile_arn = guardrail_profile_arn Jsii::Type.check_type(@guardrail_profile_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "guardrailProfileArn") end |
Instance Attribute Details
#guardrail_profile_arn ⇒ String (readonly)
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 .
1134 1135 1136 |
# File 'bedrock/cfn_guardrail.rb', line 1134 def guardrail_profile_arn @guardrail_profile_arn end |
Class Method Details
.jsii_properties ⇒ Object
1136 1137 1138 1139 1140 |
# File 'bedrock/cfn_guardrail.rb', line 1136 def self.jsii_properties { :guardrail_profile_arn => "guardrailProfileArn", } end |
Instance Method Details
#to_jsii ⇒ Object
1142 1143 1144 1145 1146 1147 1148 |
# File 'bedrock/cfn_guardrail.rb', line 1142 def to_jsii result = {} result.merge!({ "guardrailProfileArn" => @guardrail_profile_arn, }) result.compact end |