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
Constructs (L1)
CfnGroupConstruct (L1)
Use theAWS::XRay::Groupresource to specify a group with a name and a filter expression.CfnResourcePolicyConstruct (L1)
UseAWS::XRay::ResourcePolicyto specify an X-Ray resource-based policy, which grants one or more AWS services and accounts permissions to access X-Ray .CfnSamplingRuleConstruct (L1)
Use theAWS::XRay::SamplingRuleresource 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.
Structs
CfnGroup.StructInsightsConfigurationProperty
The structure containing configurations related to insights.CfnGroupPropsStruct
Properties for defining aCfnGroup.CfnResourcePolicyPropsStruct
Properties for defining aCfnResourcePolicy.CfnSamplingRule.StructSamplingRateBoostProperty CfnSamplingRule.StructSamplingRuleProperty
A sampling rule that services use to decide whether to instrument a request.CfnSamplingRule.StructSamplingRuleRecordProperty CfnSamplingRule.StructSamplingRuleUpdateProperty CfnSamplingRulePropsStruct
Properties for defining aCfnSamplingRule.CfnTransactionSearchConfig.StructCloud Watch Logs Configuration Property
Configuration for the CloudWatch Logs log group that X-Ray creates when this resource enables Transaction Search.CfnTransactionSearchConfigPropsStruct
Properties for defining aCfnTransactionSearchConfig.