CfnKnowledgeBaseTraces

class aws_cdk.mixins_preview.aws_bedrock.mixins.CfnKnowledgeBaseTraces

Bases: object

Builder for CfnKnowledgeBaseLogsMixin to generate TRACES for CfnKnowledgeBase.

CloudformationResource:

AWS::Bedrock::KnowledgeBase

LogType:

TRACES

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_bedrock import mixins as bedrock_mixins

cfn_knowledge_base_traces = bedrock_mixins.CfnKnowledgeBaseTraces()
Stability:

experimental

Methods

to_destination(destination)

Delivers logs to a pre-created delivery destination.

Supported destinations are XRAY You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you. Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().

Parameters:

destination (IDeliveryDestinationRef)

Return type:

CfnKnowledgeBaseLogsMixin

to_x_ray()

Send traces to X-Ray.

Return type:

CfnKnowledgeBaseLogsMixin