Skip to content
v2.273.0

AWS::XRay Construct Library ​

This module is part of the AWS Cloud Development Kit project.

ts
import * as xray from 'aws-cdk-lib/aws-xray';
python
import aws_cdk.aws_xray as xray
java
import software.amazon.awscdk.services.xray.*;
csharp
using Amazon.CDK.AWS.XRay;
go
import xray "github.com/aws/aws-cdk-go/awscdk"

There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:

There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the CloudFormation documentation for AWS::XRay.

(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)

Types ​

NameKindSummary
CfnGroupConstruct (L1)Use the AWS::XRay::Group resource to specify a group with a name and a filter expression.
CfnResourcePolicyConstruct (L1)Use AWS::XRay::ResourcePolicy to specify an X-Ray resource-based policy, which grants one or more AWS services and accounts permissions to access X-Ray .
CfnSamplingRuleConstruct (L1)Use the AWS::XRay::SamplingRule resource to specify a sampling rule, which controls sampling behavior for instrumented applications.
CfnTransactionSearchConfigConstruct (L1)This schema provides construct and validation rules for AWS-XRay TransactionSearchConfig resource parameters.
CfnGroup.InsightsConfigurationPropertyStructThe structure containing configurations related to insights.
CfnGroupPropsStructProperties for defining a CfnGroup.
CfnResourcePolicyPropsStructProperties for defining a CfnResourcePolicy.
CfnSamplingRule.SamplingRateBoostPropertyStruct
CfnSamplingRule.SamplingRulePropertyStructA sampling rule that services use to decide whether to instrument a request.
CfnSamplingRule.SamplingRuleRecordPropertyStruct
CfnSamplingRule.SamplingRuleUpdatePropertyStruct
CfnSamplingRulePropsStructProperties for defining a CfnSamplingRule.
CfnTransactionSearchConfigPropsStructProperties for defining a CfnTransactionSearchConfig.