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:
- Search Construct Hub for XRay construct libraries
- Use the automatically generated L1 constructs, in the same way you would use the CloudFormation AWS::XRay resources directly.
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
| Name | Kind | Summary |
|---|---|---|
CfnGroup | Construct (L1) | Use the AWS::XRay::Group resource to specify a group with a name and a filter expression. |
CfnResourcePolicy | Construct (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 . |
CfnSamplingRule | Construct (L1) | Use the AWS::XRay::SamplingRule resource to specify a sampling rule, which controls sampling behavior for instrumented applications. |
CfnTransactionSearchConfig | Construct (L1) | This schema provides construct and validation rules for AWS-XRay TransactionSearchConfig resource parameters. |
CfnGroup.InsightsConfigurationProperty | Struct | The structure containing configurations related to insights. |
CfnGroupProps | Struct | Properties for defining a CfnGroup. |
CfnResourcePolicyProps | Struct | Properties for defining a CfnResourcePolicy. |
CfnSamplingRule.SamplingRateBoostProperty | Struct | |
CfnSamplingRule.SamplingRuleProperty | Struct | A sampling rule that services use to decide whether to instrument a request. |
CfnSamplingRule.SamplingRuleRecordProperty | Struct | |
CfnSamplingRule.SamplingRuleUpdateProperty | Struct | |
CfnSamplingRuleProps | Struct | Properties for defining a CfnSamplingRule. |
CfnTransactionSearchConfigProps | Struct | Properties for defining a CfnTransactionSearchConfig. |