interface SamplingConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.BedrockAgentCore.CfnOnlineEvaluationConfigPropsMixin.SamplingConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbedrockagentcore#CfnOnlineEvaluationConfigPropsMixin_SamplingConfigProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnOnlineEvaluationConfigPropsMixin.SamplingConfigProperty |
Python | aws_cdk.cfn_property_mixins.aws_bedrockagentcore.CfnOnlineEvaluationConfigPropsMixin.SamplingConfigProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bedrockagentcore » CfnOnlineEvaluationConfigPropsMixin » SamplingConfigProperty |
The configuration that controls what percentage of agent traces are sampled for evaluation.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from '@aws-cdk/cfn-property-mixins';
const samplingConfigProperty: bedrockagentcore.CfnOnlineEvaluationConfigPropsMixin.SamplingConfigProperty = {
samplingPercentage: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| sampling | number | The percentage of agent traces to sample for evaluation. |
samplingPercentage?
Type:
number
(optional)
The percentage of agent traces to sample for evaluation.

.NET
Go
Java
Python
TypeScript