AWS::XRay::SamplingRuleThis schema provides construct and validation rules for AWS-XRay SamplingRule resource parameters.
5 configurable properties. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
RuleName | string | Deprecated |
SamplingRule | SamplingRule | |
SamplingRuleRecord | SamplingRuleRecord | Deprecated |
SamplingRuleUpdate | SamplingRuleUpdate | Deprecated |
Tags | array |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
RuleARN | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::XRay::SamplingRule
Resources:
MyResource:
Type: AWS::XRay::SamplingRule
Properties:
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
xray:CreateSamplingRulexray:TagResourcexray:ListTagsForResourcexray:GetSamplingRulesxray:ListTagsForResourcexray:UpdateSamplingRulexray:TagResourcexray:UntagResourcexray:ListTagsForResourcexray:DeleteSamplingRulexray:GetSamplingRulesxray:ListTagsForResourceOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterRuleARNThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
SamplingRule/Version