Class SamplingRuleArgs


  • public final class SamplingRuleArgs
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  SamplingRuleArgs.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> attributes()  
      static SamplingRuleArgs.Builder builder()  
      static SamplingRuleArgs.Builder builder​(SamplingRuleArgs defaults)  
      com.pulumi.core.Output<java.lang.Double> fixedRate()  
      com.pulumi.core.Output<java.lang.String> host()  
      com.pulumi.core.Output<java.lang.String> httpMethod()  
      com.pulumi.core.Output<java.lang.Integer> priority()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()  
      com.pulumi.core.Output<java.lang.Integer> reservoirSize()  
      com.pulumi.core.Output<java.lang.String> resourceArn()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> ruleName()  
      com.pulumi.core.Output<java.lang.String> serviceName()  
      com.pulumi.core.Output<java.lang.String> serviceType()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()  
      com.pulumi.core.Output<java.lang.String> urlPath()  
      com.pulumi.core.Output<java.lang.Integer> version()  
      • Methods inherited from class com.pulumi.resources.ResourceArgs

        validateMember
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • attributes

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> attributes()
        Returns:
        Matches attributes derived from the request.
      • fixedRate

        public com.pulumi.core.Output<java.lang.Double> fixedRate()
        Returns:
        Percentage of matching requests to instrument, after the reservoir is exhausted.
      • host

        public com.pulumi.core.Output<java.lang.String> host()
        Returns:
        Matches the hostname from a request URL.
      • httpMethod

        public com.pulumi.core.Output<java.lang.String> httpMethod()
        Returns:
        Matches the HTTP method of a request.
      • priority

        public com.pulumi.core.Output<java.lang.Integer> priority()
        Returns:
        Priority of the sampling rule.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • reservoirSize

        public com.pulumi.core.Output<java.lang.Integer> reservoirSize()
        Returns:
        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

        public com.pulumi.core.Output<java.lang.String> resourceArn()
        Returns:
        Matches the ARN of the AWS resource on which the service runs.
      • ruleName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ruleName()
        Returns:
        Name of the sampling rule.
      • serviceName

        public com.pulumi.core.Output<java.lang.String> serviceName()
        Returns:
        Matches the `name` that the service uses to identify itself in segments.
      • serviceType

        public com.pulumi.core.Output<java.lang.String> serviceType()
        Returns:
        Matches the `origin` that the service uses to identify its type in segments.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        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

        public com.pulumi.core.Output<java.lang.String> urlPath()
        Returns:
        Matches the path from a request URL.
      • version

        public com.pulumi.core.Output<java.lang.Integer> version()
        Returns:
        Version of the sampling rule format (`1` )