CfnRuntimeTraces
- class aws_cdk.mixins_preview.aws_bedrockagentcore.mixins.CfnRuntimeTraces
Bases:
objectBuilder for CfnRuntimeLogsMixin to generate TRACES for CfnRuntime.
- CloudformationResource:
AWS::BedrockAgentCore::Runtime
- 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_bedrockagentcore import mixins as bedrockagentcore_mixins cfn_runtime_traces = bedrockagentcore_mixins.CfnRuntimeTraces()
- Stability:
experimental
Methods
- to_destination(destination, *, record_fields=None)
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)record_fields (
Optional[Sequence[CfnRuntimeTracesRecordFields]]) – (experimental) Record fields that can be provided to a log delivery.
- Return type:
- to_x_ray(*, record_fields=None)
Send traces to X-Ray.
- Parameters:
record_fields (
Optional[Sequence[CfnRuntimeTracesRecordFields]]) – (experimental) Record fields that can be provided to a log delivery.- Return type: