SamplingRuleArgs class

The set of arguments for SamplingRule. The set of arguments for SamplingRule.

Constructors

SamplingRuleArgs({Input<Map<String, String>?>? attributes, required Input<double> fixedRate, required Input<String> host, required Input<String> httpMethod, required Input<int> priority, Input<String?>? region, required Input<int> reservoirSize, required Input<String> resourceArn, Input<String?>? ruleName, required Input<String> serviceName, required Input<String> serviceType, Input<Map<String, String>?>? tags, required Input<String> urlPath, required Input<int> version})
Creates a new SamplingRuleArgs. attributes Matches attributes derived from the request. fixedRate The percentage of matching requests to instrument, after the reservoir is exhausted. host Matches the hostname from a request URL. httpMethod Matches the HTTP method of a request. priority The priority of the sampling rule. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. reservoirSize 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. resourceArn Matches the ARN of the AWS resource on which the service runs. ruleName The name of the sampling rule. serviceName Matches the name that the service uses to identify itself in segments. serviceType Matches the origin that the service uses to identify its type in segments. tags Key-value mapping of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level urlPath Matches the path from a request URL. version The version of the sampling rule format (1 )
const
SamplingRuleArgs.fromMap(Map<String, dynamic> map)
factory

Properties

attributes → Input<Map<String, String>?>?
Matches attributes derived from the request.
final
fixedRate → Input<double>
The percentage of matching requests to instrument, after the reservoir is exhausted.
final
hashCode → int
The hash code for this object.
no setterinherited
host → Input<String>
Matches the hostname from a request URL.
final
httpMethod → Input<String>
Matches the HTTP method of a request.
final
priority → Input<int>
The priority of the sampling rule.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
reservoirSize → Input<int>
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.
final
resourceArn → Input<String>
Matches the ARN of the AWS resource on which the service runs.
final
ruleName → Input<String?>?
The name of the sampling rule.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceName → Input<String>
Matches the name that the service uses to identify itself in segments.
final
serviceType → Input<String>
Matches the origin that the service uses to identify its type in segments.
final
tags → Input<Map<String, String>?>?
Key-value mapping of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level
final
urlPath → Input<String>
Matches the path from a request URL.
final
version → Input<int>
The version of the sampling rule format (1 )
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited