Class CfnGatewayTraces
Builder for CfnGatewayLogsMixin to generate TRACES for CfnGateway.
Namespace: Amazon.CDK.Mixins.Preview.AWS.BedrockAgentCore.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnGatewayTraces : DeputyBase
Syntax (vb)
Public Class CfnGatewayTraces Inherits DeputyBase
Remarks
CloudformationResource: AWS::BedrockAgentCore::Gateway
LogType: TRACES
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.BedrockAgentCore.Mixins;
var cfnGatewayTraces = new CfnGatewayTraces();
Synopsis
Constructors
| CfnGatewayTraces() | Builder for CfnGatewayLogsMixin to generate TRACES for CfnGateway. |
Methods
| ToDestination(IDeliveryDestinationRef, ICfnGatewayTracesDestProps?) | Delivers logs to a pre-created delivery destination. |
| ToXRay(ICfnGatewayTracesXRayProps?) | Send traces to X-Ray. |
Constructors
CfnGatewayTraces()
Builder for CfnGatewayLogsMixin to generate TRACES for CfnGateway.
public CfnGatewayTraces()
Remarks
Stability: Experimental
Methods
ToDestination(IDeliveryDestinationRef, ICfnGatewayTracesDestProps?)
Delivers logs to a pre-created delivery destination.
public virtual CfnGatewayLogsMixin ToDestination(IDeliveryDestinationRef destination, ICfnGatewayTracesDestProps? props = null)
Parameters
- destination IDeliveryDestinationRef
- props ICfnGatewayTracesDestProps
Additional properties that are optionally used in log delivery for destinations.
Returns
Remarks
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(ICfnGatewayTracesXRayProps?)
Send traces to X-Ray.
public virtual CfnGatewayLogsMixin ToXRay(ICfnGatewayTracesXRayProps? props = null)
Parameters
- props ICfnGatewayTracesXRayProps
Additional properties that are optionally used in log delivery for XRay destinations.
Returns
Remarks
CloudformationResource: AWS::BedrockAgentCore::Gateway
LogType: TRACES
ExampleMetadata: fixture=_generated