Interface CfnSamplingRule.SamplingRuleRecordProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnSamplingRule.SamplingRuleRecordProperty.Jsii$Proxy
Enclosing class:
CfnSamplingRule

@Stability(Stable) public static interface CfnSamplingRule.SamplingRuleRecordProperty extends software.amazon.jsii.JsiiSerializable
Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.xray.*;
 SamplingRuleRecordProperty samplingRuleRecordProperty = SamplingRuleRecordProperty.builder()
         .createdAt("createdAt")
         .modifiedAt("modifiedAt")
         .samplingRule(SamplingRuleProperty.builder()
                 .fixedRate(123)
                 .host("host")
                 .httpMethod("httpMethod")
                 .priority(123)
                 .reservoirSize(123)
                 .resourceArn("resourceArn")
                 .serviceName("serviceName")
                 .serviceType("serviceType")
                 .urlPath("urlPath")
                 // the properties below are optional
                 .attributes(Map.of(
                         "attributesKey", "attributes"))
                 .ruleArn("ruleArn")
                 .ruleName("ruleName")
                 .version(123)
                 .build())
         .build();
 

See Also: