Class: AWSCDK::Bedrock::CfnGuardrail::GuardrailCrossRegionConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(guardrail_profile_arn:) ⇒ GuardrailCrossRegionConfigProperty

Returns a new instance of GuardrailCrossRegionConfigProperty.

Parameters:

  • guardrail_profile_arn (String)

    The Amazon Resource Name (ARN) of the guardrail profile that your guardrail is using.



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_arnString (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_propertiesObject



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_jsiiObject



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