CfnGatewayTraces

class aws_cdk.mixins_preview.aws_bedrockagentcore.mixins.CfnGatewayTraces

Bases: object

Builder for CfnGatewayLogsMixin to generate TRACES for CfnGateway.

CloudformationResource:

AWS::BedrockAgentCore::Gateway

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_gateway_traces = bedrockagentcore_mixins.CfnGatewayTraces()
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:
Return type:

CfnGatewayLogsMixin

to_x_ray(*, record_fields=None)

Send traces to X-Ray.

Parameters:

record_fields (Optional[Sequence[CfnGatewayTracesRecordFields]]) – (experimental) Record fields that can be provided to a log delivery.

Return type:

CfnGatewayLogsMixin