Documentation
¶
Overview ¶
nolint: lll Package xray exports types, functions, subpackages for provisioning xray resources.
> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-aws) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, > first check the [`pulumi/pulumi-aws` repo](https://github.com/pulumi/pulumi-aws/issues); however, if that doesn't turn up anything, > please consult the source [`terraform-providers/terraform-provider-aws` repo](https://github.com/terraform-providers/terraform-provider-aws/issues).
Index ¶
- type SamplingRule
- func (r *SamplingRule) Arn() *pulumi.StringOutput
- func (r *SamplingRule) Attributes() *pulumi.MapOutput
- func (r *SamplingRule) FixedRate() *pulumi.Float64Output
- func (r *SamplingRule) Host() *pulumi.StringOutput
- func (r *SamplingRule) HttpMethod() *pulumi.StringOutput
- func (r *SamplingRule) ID() *pulumi.IDOutput
- func (r *SamplingRule) Priority() *pulumi.IntOutput
- func (r *SamplingRule) ReservoirSize() *pulumi.IntOutput
- func (r *SamplingRule) ResourceArn() *pulumi.StringOutput
- func (r *SamplingRule) RuleName() *pulumi.StringOutput
- func (r *SamplingRule) ServiceName() *pulumi.StringOutput
- func (r *SamplingRule) ServiceType() *pulumi.StringOutput
- func (r *SamplingRule) URN() *pulumi.URNOutput
- func (r *SamplingRule) UrlPath() *pulumi.StringOutput
- func (r *SamplingRule) Version() *pulumi.IntOutput
- type SamplingRuleArgs
- type SamplingRuleState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SamplingRule ¶
type SamplingRule struct {
// contains filtered or unexported fields
}
Creates and manages an AWS XRay Sampling Rule.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/xray_sampling_rule.html.markdown.
func GetSamplingRule ¶
func GetSamplingRule(ctx *pulumi.Context, name string, id pulumi.ID, state *SamplingRuleState, opts ...pulumi.ResourceOpt) (*SamplingRule, error)
GetSamplingRule gets an existing SamplingRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSamplingRule ¶
func NewSamplingRule(ctx *pulumi.Context, name string, args *SamplingRuleArgs, opts ...pulumi.ResourceOpt) (*SamplingRule, error)
NewSamplingRule registers a new resource with the given unique name, arguments, and options.
func (*SamplingRule) Arn ¶
func (r *SamplingRule) Arn() *pulumi.StringOutput
The ARN of the sampling rule.
func (*SamplingRule) Attributes ¶
func (r *SamplingRule) Attributes() *pulumi.MapOutput
Matches attributes derived from the request.
func (*SamplingRule) FixedRate ¶
func (r *SamplingRule) FixedRate() *pulumi.Float64Output
The percentage of matching requests to instrument, after the reservoir is exhausted.
func (*SamplingRule) Host ¶
func (r *SamplingRule) Host() *pulumi.StringOutput
Matches the hostname from a request URL.
func (*SamplingRule) HttpMethod ¶
func (r *SamplingRule) HttpMethod() *pulumi.StringOutput
Matches the HTTP method of a request.
func (*SamplingRule) ID ¶
func (r *SamplingRule) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*SamplingRule) Priority ¶
func (r *SamplingRule) Priority() *pulumi.IntOutput
The priority of the sampling rule.
func (*SamplingRule) ReservoirSize ¶
func (r *SamplingRule) ReservoirSize() *pulumi.IntOutput
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.
func (*SamplingRule) ResourceArn ¶
func (r *SamplingRule) ResourceArn() *pulumi.StringOutput
Matches the ARN of the AWS resource on which the service runs.
func (*SamplingRule) RuleName ¶
func (r *SamplingRule) RuleName() *pulumi.StringOutput
The name of the sampling rule.
func (*SamplingRule) ServiceName ¶
func (r *SamplingRule) ServiceName() *pulumi.StringOutput
Matches the `name` that the service uses to identify itself in segments.
func (*SamplingRule) ServiceType ¶
func (r *SamplingRule) ServiceType() *pulumi.StringOutput
Matches the `origin` that the service uses to identify its type in segments.
func (*SamplingRule) URN ¶
func (r *SamplingRule) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*SamplingRule) UrlPath ¶
func (r *SamplingRule) UrlPath() *pulumi.StringOutput
Matches the path from a request URL.
func (*SamplingRule) Version ¶
func (r *SamplingRule) Version() *pulumi.IntOutput
The version of the sampling rule format (`1` )
type SamplingRuleArgs ¶
type SamplingRuleArgs struct { // Matches attributes derived from the request. Attributes interface{} // The percentage of matching requests to instrument, after the reservoir is exhausted. FixedRate interface{} // Matches the hostname from a request URL. Host interface{} // Matches the HTTP method of a request. HttpMethod interface{} // The priority of the sampling rule. Priority interface{} // 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. ReservoirSize interface{} // Matches the ARN of the AWS resource on which the service runs. ResourceArn interface{} // The name of the sampling rule. RuleName interface{} // Matches the `name` that the service uses to identify itself in segments. ServiceName interface{} // Matches the `origin` that the service uses to identify its type in segments. ServiceType interface{} // Matches the path from a request URL. UrlPath interface{} // The version of the sampling rule format (`1` ) Version interface{} }
The set of arguments for constructing a SamplingRule resource.
type SamplingRuleState ¶
type SamplingRuleState struct { // The ARN of the sampling rule. Arn interface{} // Matches attributes derived from the request. Attributes interface{} // The percentage of matching requests to instrument, after the reservoir is exhausted. FixedRate interface{} // Matches the hostname from a request URL. Host interface{} // Matches the HTTP method of a request. HttpMethod interface{} // The priority of the sampling rule. Priority interface{} // 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. ReservoirSize interface{} // Matches the ARN of the AWS resource on which the service runs. ResourceArn interface{} // The name of the sampling rule. RuleName interface{} // Matches the `name` that the service uses to identify itself in segments. ServiceName interface{} // Matches the `origin` that the service uses to identify its type in segments. ServiceType interface{} // Matches the path from a request URL. UrlPath interface{} // The version of the sampling rule format (`1` ) Version interface{} }
Input properties used for looking up and filtering SamplingRule resources.