class CfnCodeInterpreterCustomTraces
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.BedrockAgentCore.Mixins.CfnCodeInterpreterCustomTraces |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrockagentcore/mixins#CfnCodeInterpreterCustomTraces |
Java | software.amazon.awscdk.mixins.preview.services.bedrockagentcore.mixins.CfnCodeInterpreterCustomTraces |
Python | aws_cdk.mixins_preview.aws_bedrockagentcore.mixins.CfnCodeInterpreterCustomTraces |
TypeScript | @aws-cdk/mixins-preview » aws_bedrockagentcore » mixins » CfnCodeInterpreterCustomTraces |
Builder for CfnCodeInterpreterCustomLogsMixin to generate TRACES for CfnCodeInterpreterCustom.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as bedrockagentcore_mixins } from '@aws-cdk/mixins-preview/aws-bedrockagentcore';
const cfnCodeInterpreterCustomTraces = new bedrockagentcore_mixins.CfnCodeInterpreterCustomTraces();
Initializer
new CfnCodeInterpreterCustomTraces()
Methods
| Name | Description |
|---|---|
| to | Delivers logs to a pre-created delivery destination. |
| to | Send traces to X-Ray. |
toDestination(destination, props?)
public toDestination(destination: IDeliveryDestinationRef, props?: CfnCodeInterpreterCustomTracesDestProps): CfnCodeInterpreterCustomLogsMixin
Parameters
- destination
IDeliveryDestination Ref - props
Cfn— Additional properties that are optionally used in log delivery for destinations.Code Interpreter Custom Traces Dest Props
Returns
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().
toXRay(props?)
public toXRay(props?: CfnCodeInterpreterCustomTracesXRayProps): CfnCodeInterpreterCustomLogsMixin
Parameters
- props
Cfn— Additional properties that are optionally used in log delivery for XRay destinations.Code Interpreter Custom Traces XRay Props
Returns
Send traces to X-Ray.

.NET
Go
Java
Python
TypeScript