CfnSamplingRuleProps

class aws_cdk.aws_xray.CfnSamplingRuleProps(*, rule_name=None, sampling_rule=None, sampling_rule_record=None, sampling_rule_update=None, tags=None)

Bases: object

Properties for defining a AWS::XRay::SamplingRule.

Parameters
Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-samplingrule.html

Attributes

rule_name

AWS::XRay::SamplingRule.RuleName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-samplingrule.html#cfn-xray-samplingrule-rulename

Return type

Optional[str]

sampling_rule

AWS::XRay::SamplingRule.SamplingRule.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-samplingrule.html#cfn-xray-samplingrule-samplingrule

Return type

Union[SamplingRuleProperty, IResolvable, None]

sampling_rule_record

AWS::XRay::SamplingRule.SamplingRuleRecord.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-samplingrule.html#cfn-xray-samplingrule-samplingrulerecord

Return type

Union[IResolvable, SamplingRuleRecordProperty, None]

sampling_rule_update

AWS::XRay::SamplingRule.SamplingRuleUpdate.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-samplingrule.html#cfn-xray-samplingrule-samplingruleupdate

Return type

Union[IResolvable, SamplingRuleUpdateProperty, None]

tags

AWS::XRay::SamplingRule.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-samplingrule.html#cfn-xray-samplingrule-tags

Return type

Optional[List[Any]]