SamplingRuleState class
Input properties used for looking up and filtering SamplingRule resources.
Constructors
-
SamplingRuleState({Input<
String?> ? arn, Input<Map< ? attributes, Input<String, String> ?>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< ? tags, Input<String, String> ?>Map< ? tagsAll, Input<String, String> ?>String?> ? urlPath, Input<int?> ? version}) -
Creates a new SamplingRuleState.
arnThe ARN of the sampling rule.attributesMatches attributes derived from the request.fixedRateThe percentage of matching requests to instrument, after the reservoir is exhausted.hostMatches the hostname from a request URL.httpMethodMatches the HTTP method of a request.priorityThe priority of the sampling rule.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.reservoirSizeA 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.resourceArnMatches the ARN of the AWS resource on which the service runs.ruleNameThe name of the sampling rule.serviceNameMatches thenamethat the service uses to identify itself in segments.serviceTypeMatches theoriginthat the service uses to identify its type in segments.tagsKey-value mapping of resource tags. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-leveltagsAllA map of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration block.urlPathMatches the path from a request URL.versionThe 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
namethat the service uses to identify itself in segments.final -
serviceType
→ Input<
String?> ? -
Matches the
originthat the service uses to identify its type in segments.final -
Key-value mapping of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-levelfinal -
A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration 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