SamplingRuleState class

Input properties used for looking up and filtering SamplingRule resources.

Constructors

SamplingRuleState({Input<String?>? arn, Input<Map<String, String>?>? attributes, Input<double?>? fixedRate, Input<String?>? host, Input<String?>? httpMethod, Input<int?>? priority, Input<String?>? region, Input<int?>? reservoirSize, Input<String?>? resourceArn, Input<String?>? ruleName, Input<String?>? serviceName, Input<String?>? serviceType, Input<Map<String, String>?>? tags, Input<Map<String, String>?>? tagsAll, Input<String?>? urlPath, Input<int?>? version})
Creates a new SamplingRuleState. arn The ARN of the sampling rule. 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 tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block. urlPath Matches the path from a request URL. version The version of the sampling rule format (1 )
const
SamplingRuleState.fromMap(Map<String, dynamic> map)
factory

Properties

arn → Input<String?>?
The ARN of the sampling rule.
final
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
tagsAll → Input<Map<String, String>?>?
A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
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