Skip to content
v2.278.0

AutomatedReasoningPolicyConfigProperty Struct ​

Configuration settings for integrating Automated Reasoning policies with Amazon Bedrock Guardrails.

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 automatedReasoningPolicyConfigProperty: bedrock.CfnGuardrail.AutomatedReasoningPolicyConfigProperty = {
  policies: ['policies'],

  // the properties below are optional
  confidenceThreshold: 123,
};
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

automated_reasoning_policy_config_property = bedrock.CfnGuardrail.AutomatedReasoningPolicyConfigProperty(
    policies=["policies"],

    # the properties below are optional
    confidence_threshold=123
)
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.*;

AutomatedReasoningPolicyConfigProperty automatedReasoningPolicyConfigProperty = AutomatedReasoningPolicyConfigProperty.builder()
        .policies(List.of("policies"))

        // the properties below are optional
        .confidenceThreshold(123)
        .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 automatedReasoningPolicyConfigProperty = new AutomatedReasoningPolicyConfigProperty {
    Policies = new [] { "policies" },

    // the properties below are optional
    ConfidenceThreshold = 123
};
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"

automatedReasoningPolicyConfigProperty := &AutomatedReasoningPolicyConfigProperty{
	Policies: []*string{
		jsii.String("policies"),
	},

	// the properties below are optional
	ConfidenceThreshold: jsii.Number(123),
}

Properties ​

confidenceThresholdoptionalnumberconfidence_thresholdoptionalint | floatconfidenceThresholdoptionalNumberConfidenceThresholdoptionaldoubleConfidenceThresholdoptional*float64 #
The minimum confidence level required for Automated Reasoning policy violations to trigger guardrail actions.

Values range from 0.0 to 1.0.

policiesstring[]policiestyping.List[str]policiesList<String>Policiesstring[]Policies*[]*string required #
The list of Automated Reasoning policy ARNs that should be applied as part of this guardrail configuration.