UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

141 lines (140 loc) 6.42 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Resource Type definition for AWS::BedrockAgentCore::OnlineEvaluationConfig - Creates an online evaluation configuration for continuous monitoring of agent performance. */ export declare class OnlineEvaluationConfig extends pulumi.CustomResource { /** * Get an existing OnlineEvaluationConfig resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): OnlineEvaluationConfig; /** * Returns true if the given object is an instance of OnlineEvaluationConfig. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is OnlineEvaluationConfig; /** * The configuration for clustering analysis of evaluation results. */ readonly clusteringConfig: pulumi.Output<outputs.bedrockagentcore.OnlineEvaluationConfigClusteringConfig | undefined>; /** * The timestamp when the online evaluation configuration was created. */ readonly createdAt: pulumi.Output<string>; /** * The data source configuration that specifies CloudWatch log groups and service names to monitor. */ readonly dataSourceConfig: pulumi.Output<outputs.bedrockagentcore.OnlineEvaluationConfigDataSourceConfig>; /** * The description of the online evaluation configuration. */ readonly description: pulumi.Output<string | undefined>; /** * The Amazon Resource Name (ARN) of the IAM role that grants permissions for evaluation. */ readonly evaluationExecutionRoleArn: pulumi.Output<string>; /** * The list of evaluators to apply during online evaluation. */ readonly evaluators: pulumi.Output<outputs.bedrockagentcore.OnlineEvaluationConfigEvaluatorReference[] | undefined>; /** * The execution status indicating whether the online evaluation is currently running. */ readonly executionStatus: pulumi.Output<enums.bedrockagentcore.OnlineEvaluationConfigExecutionStatus | undefined>; /** * The list of insights to enable for failure analysis. */ readonly insights: pulumi.Output<outputs.bedrockagentcore.OnlineEvaluationConfigInsight[] | undefined>; /** * The Amazon Resource Name (ARN) of the online evaluation configuration. */ readonly onlineEvaluationConfigArn: pulumi.Output<string>; /** * The unique identifier of the online evaluation configuration. */ readonly onlineEvaluationConfigId: pulumi.Output<string>; /** * The name of the online evaluation configuration. Must be unique within your account. */ readonly onlineEvaluationConfigName: pulumi.Output<string>; /** * The configuration that specifies where evaluation results should be written. */ readonly outputConfig: pulumi.Output<outputs.bedrockagentcore.OnlineEvaluationConfigOutputConfig>; /** * The evaluation rule that defines sampling configuration, filters, and session detection settings. */ readonly rule: pulumi.Output<outputs.bedrockagentcore.OnlineEvaluationConfigRule>; /** * The status of the online evaluation configuration. */ readonly status: pulumi.Output<enums.bedrockagentcore.OnlineEvaluationConfigStatus>; /** * A list of tags to assign to the online evaluation configuration. */ readonly tags: pulumi.Output<outputs.Tag[] | undefined>; /** * The timestamp when the online evaluation configuration was last updated. */ readonly updatedAt: pulumi.Output<string>; /** * Create a OnlineEvaluationConfig resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: OnlineEvaluationConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a OnlineEvaluationConfig resource. */ export interface OnlineEvaluationConfigArgs { /** * The configuration for clustering analysis of evaluation results. */ clusteringConfig?: pulumi.Input<inputs.bedrockagentcore.OnlineEvaluationConfigClusteringConfigArgs>; /** * The data source configuration that specifies CloudWatch log groups and service names to monitor. */ dataSourceConfig: pulumi.Input<inputs.bedrockagentcore.OnlineEvaluationConfigDataSourceConfigArgs>; /** * The description of the online evaluation configuration. */ description?: pulumi.Input<string>; /** * The Amazon Resource Name (ARN) of the IAM role that grants permissions for evaluation. */ evaluationExecutionRoleArn: pulumi.Input<string>; /** * The list of evaluators to apply during online evaluation. */ evaluators?: pulumi.Input<pulumi.Input<inputs.bedrockagentcore.OnlineEvaluationConfigEvaluatorReferenceArgs>[]>; /** * The execution status indicating whether the online evaluation is currently running. */ executionStatus?: pulumi.Input<enums.bedrockagentcore.OnlineEvaluationConfigExecutionStatus>; /** * The list of insights to enable for failure analysis. */ insights?: pulumi.Input<pulumi.Input<inputs.bedrockagentcore.OnlineEvaluationConfigInsightArgs>[]>; /** * The name of the online evaluation configuration. Must be unique within your account. */ onlineEvaluationConfigName?: pulumi.Input<string>; /** * The evaluation rule that defines sampling configuration, filters, and session detection settings. */ rule: pulumi.Input<inputs.bedrockagentcore.OnlineEvaluationConfigRuleArgs>; /** * A list of tags to assign to the online evaluation configuration. */ tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>; }