class XRayLogsDelivery
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Logs.XRayLogsDelivery |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslogs#XRayLogsDelivery |
Java | software.amazon.awscdk.mixins.preview.services.logs.XRayLogsDelivery |
Python | aws_cdk.mixins_preview.aws_logs.XRayLogsDelivery |
TypeScript (source) | @aws-cdk/mixins-preview ยป aws_logs ยป XRayLogsDelivery |
Implements
ILogs
Delivers vended logs to AWS X-Ray.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from '@aws-cdk/mixins-preview';
const xRayLogsDelivery = new logs.XRayLogsDelivery();
Initializer
new XRayLogsDelivery()
Creates a new X-Ray delivery.
Methods
| Name | Description |
|---|---|
| bind(scope, logType, sourceResourceArn) | Binds X-Ray Destination to a source resource for the purposes of log delivery and creates a delivery source, a delivery destination, and a connection between them. |
bind(scope, logType, sourceResourceArn)
public bind(scope: IConstruct, logType: string, sourceResourceArn: string): ILogsDeliveryConfig
Parameters
- scope
IConstruct - logType
string - sourceResourceArn
string
Returns
Binds X-Ray Destination to a source resource for the purposes of log delivery and creates a delivery source, a delivery destination, and a connection between them.

.NET
Go
Java
Python
TypeScript (