xray

package
v1.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL