Interface CfnSamplingRule.SamplingRuleUpdateProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSamplingRule.SamplingRuleUpdateProperty.Jsii$Proxy
- Enclosing class:
CfnSamplingRule
@Stability(Stable)
public static interface CfnSamplingRule.SamplingRuleUpdateProperty
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.*; SamplingRuleUpdateProperty samplingRuleUpdateProperty = SamplingRuleUpdateProperty.builder() .attributes(Map.of( "attributesKey", "attributes")) .fixedRate(123) .host("host") .httpMethod("httpMethod") .priority(123) .reservoirSize(123) .resourceArn("resourceArn") .ruleArn("ruleArn") .ruleName("ruleName") .serviceName("serviceName") .serviceType("serviceType") .urlPath("urlPath") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnSamplingRule.SamplingRuleUpdateProperty
static final class
An implementation forCfnSamplingRule.SamplingRuleUpdateProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Matches attributes derived from the request.default Number
The percentage of matching requests to instrument, after the reservoir is exhausted.default String
getHost()
Matches the hostname from a request URL.default String
Matches the HTTP method from a request URL.default Number
The priority of the sampling rule.default Number
A fixed number of matching requests to instrument per second, prior to applying the fixed rate.default String
Matches the ARN of the AWS resource on which the service runs.default String
The ARN of the sampling rule.default String
The ARN of the sampling rule.default String
Matches the name that the service uses to identify itself in segments.default String
Matches the origin that the service uses to identify its type in segments.default String
Matches the path from a request URL.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAttributes
Matches attributes derived from the request.- See Also:
-
getFixedRate
The percentage of matching requests to instrument, after the reservoir is exhausted.- See Also:
-
getHost
Matches the hostname from a request URL.- See Also:
-
getHttpMethod
Matches the HTTP method from a request URL.- See Also:
-
getPriority
The priority of the sampling rule.- See Also:
-
getReservoirSize
A fixed number of matching requests to instrument per second, prior to applying the fixed rate.The reservoir is not used directly by services, but applies to all services using the rule collectively.
- See Also:
-
getResourceArn
Matches the ARN of the AWS resource on which the service runs.- See Also:
-
getRuleArn
The ARN of the sampling rule.Specify a rule by either name or ARN, but not both.
- See Also:
-
getRuleName
The ARN of the sampling rule.Specify a rule by either name or ARN, but not both.
- See Also:
-
getServiceName
Matches the name that the service uses to identify itself in segments.- See Also:
-
getServiceType
Matches the origin that the service uses to identify its type in segments.- See Also:
-
getUrlPath
Matches the path from a request URL.- See Also:
-
builder
-