SamplingRuleState constructor

const SamplingRuleState({
  1. Input<String?>? arn,
  2. Input<Map<String, String>?>? attributes,
  3. Input<double?>? fixedRate,
  4. Input<String?>? host,
  5. Input<String?>? httpMethod,
  6. Input<int?>? priority,
  7. Input<String?>? region,
  8. Input<int?>? reservoirSize,
  9. Input<String?>? resourceArn,
  10. Input<String?>? ruleName,
  11. Input<String?>? serviceName,
  12. Input<String?>? serviceType,
  13. Input<Map<String, String>?>? tags,
  14. Input<Map<String, String>?>? tagsAll,
  15. Input<String?>? urlPath,
  16. 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 )

Implementation

const SamplingRuleState({
  this.arn,
  this.attributes,
  this.fixedRate,
  this.host,
  this.httpMethod,
  this.priority,
  this.region,
  this.reservoirSize,
  this.resourceArn,
  this.ruleName,
  this.serviceName,
  this.serviceType,
  this.tags,
  this.tagsAll,
  this.urlPath,
  this.version,
});