xray

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group struct {
	pulumi.CustomResourceState

	// The filter expression defining criteria by which to group traces.
	FilterExpression pulumi.StringPtrOutput `pulumi:"filterExpression"`
	// The ARN of the group that was generated on creation.
	GroupArn pulumi.StringOutput `pulumi:"groupArn"`
	// The case-sensitive name of the new group. Names must be unique.
	GroupName pulumi.StringOutput `pulumi:"groupName"`
	// The structure containing configurations related to insights.
	//
	// - The InsightsEnabled boolean can be set to true to enable insights for the group or false to disable insights for the group.
	// - The NotificationsEnabled boolean can be set to true to enable insights notifications through Amazon EventBridge for the group.
	InsightsConfiguration GroupInsightsConfigurationPtrOutput `pulumi:"insightsConfiguration"`
	// An array of key-value pairs to apply to this resource.
	Tags aws.TagArrayOutput `pulumi:"tags"`
}

This schema provides construct and validation rules for AWS-XRay Group resource parameters.

## Example Usage ### Example

```go package main

import (

"github.com/pulumi/pulumi-aws-native/sdk/go/aws/xray"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := xray.NewGroup(ctx, "myGroupResource", &xray.GroupArgs{
			GroupName:        pulumi.String("MyGroup"),
			FilterExpression: pulumi.String("duration > 10"),
			InsightsConfiguration: &xray.GroupInsightsConfigurationArgs{
				InsightsEnabled:      pulumi.Bool(false),
				NotificationsEnabled: pulumi.Bool(false),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Example

```go package main

import (

"github.com/pulumi/pulumi-aws-native/sdk/go/aws/xray"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := xray.NewGroup(ctx, "myGroupResource", &xray.GroupArgs{
			GroupName:        pulumi.String("MyGroup"),
			FilterExpression: pulumi.String("duration > 10"),
			InsightsConfiguration: &xray.GroupInsightsConfigurationArgs{
				InsightsEnabled:      pulumi.Bool(false),
				NotificationsEnabled: pulumi.Bool(false),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetGroup

func GetGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GroupState, opts ...pulumi.ResourceOption) (*Group, error)

GetGroup gets an existing Group 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 NewGroup

func NewGroup(ctx *pulumi.Context,
	name string, args *GroupArgs, opts ...pulumi.ResourceOption) (*Group, error)

NewGroup registers a new resource with the given unique name, arguments, and options.

func (*Group) ElementType

func (*Group) ElementType() reflect.Type

func (*Group) ToGroupOutput

func (i *Group) ToGroupOutput() GroupOutput

func (*Group) ToGroupOutputWithContext

func (i *Group) ToGroupOutputWithContext(ctx context.Context) GroupOutput

type GroupArgs

type GroupArgs struct {
	// The filter expression defining criteria by which to group traces.
	FilterExpression pulumi.StringPtrInput
	// The case-sensitive name of the new group. Names must be unique.
	GroupName pulumi.StringPtrInput
	// The structure containing configurations related to insights.
	//
	// - The InsightsEnabled boolean can be set to true to enable insights for the group or false to disable insights for the group.
	// - The NotificationsEnabled boolean can be set to true to enable insights notifications through Amazon EventBridge for the group.
	InsightsConfiguration GroupInsightsConfigurationPtrInput
	// An array of key-value pairs to apply to this resource.
	Tags aws.TagArrayInput
}

The set of arguments for constructing a Group resource.

func (GroupArgs) ElementType

func (GroupArgs) ElementType() reflect.Type

type GroupInput

type GroupInput interface {
	pulumi.Input

	ToGroupOutput() GroupOutput
	ToGroupOutputWithContext(ctx context.Context) GroupOutput
}

type GroupInsightsConfiguration

type GroupInsightsConfiguration struct {
	// Set the InsightsEnabled value to true to enable insights or false to disable insights.
	InsightsEnabled *bool `pulumi:"insightsEnabled"`
	// Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.
	NotificationsEnabled *bool `pulumi:"notificationsEnabled"`
}

type GroupInsightsConfigurationArgs

type GroupInsightsConfigurationArgs struct {
	// Set the InsightsEnabled value to true to enable insights or false to disable insights.
	InsightsEnabled pulumi.BoolPtrInput `pulumi:"insightsEnabled"`
	// Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.
	NotificationsEnabled pulumi.BoolPtrInput `pulumi:"notificationsEnabled"`
}

func (GroupInsightsConfigurationArgs) ElementType

func (GroupInsightsConfigurationArgs) ToGroupInsightsConfigurationOutput

func (i GroupInsightsConfigurationArgs) ToGroupInsightsConfigurationOutput() GroupInsightsConfigurationOutput

func (GroupInsightsConfigurationArgs) ToGroupInsightsConfigurationOutputWithContext

func (i GroupInsightsConfigurationArgs) ToGroupInsightsConfigurationOutputWithContext(ctx context.Context) GroupInsightsConfigurationOutput

func (GroupInsightsConfigurationArgs) ToGroupInsightsConfigurationPtrOutput

func (i GroupInsightsConfigurationArgs) ToGroupInsightsConfigurationPtrOutput() GroupInsightsConfigurationPtrOutput

func (GroupInsightsConfigurationArgs) ToGroupInsightsConfigurationPtrOutputWithContext

func (i GroupInsightsConfigurationArgs) ToGroupInsightsConfigurationPtrOutputWithContext(ctx context.Context) GroupInsightsConfigurationPtrOutput

type GroupInsightsConfigurationInput

type GroupInsightsConfigurationInput interface {
	pulumi.Input

	ToGroupInsightsConfigurationOutput() GroupInsightsConfigurationOutput
	ToGroupInsightsConfigurationOutputWithContext(context.Context) GroupInsightsConfigurationOutput
}

GroupInsightsConfigurationInput is an input type that accepts GroupInsightsConfigurationArgs and GroupInsightsConfigurationOutput values. You can construct a concrete instance of `GroupInsightsConfigurationInput` via:

GroupInsightsConfigurationArgs{...}

type GroupInsightsConfigurationOutput

type GroupInsightsConfigurationOutput struct{ *pulumi.OutputState }

func (GroupInsightsConfigurationOutput) ElementType

func (GroupInsightsConfigurationOutput) InsightsEnabled

Set the InsightsEnabled value to true to enable insights or false to disable insights.

func (GroupInsightsConfigurationOutput) NotificationsEnabled

func (o GroupInsightsConfigurationOutput) NotificationsEnabled() pulumi.BoolPtrOutput

Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.

func (GroupInsightsConfigurationOutput) ToGroupInsightsConfigurationOutput

func (o GroupInsightsConfigurationOutput) ToGroupInsightsConfigurationOutput() GroupInsightsConfigurationOutput

func (GroupInsightsConfigurationOutput) ToGroupInsightsConfigurationOutputWithContext

func (o GroupInsightsConfigurationOutput) ToGroupInsightsConfigurationOutputWithContext(ctx context.Context) GroupInsightsConfigurationOutput

func (GroupInsightsConfigurationOutput) ToGroupInsightsConfigurationPtrOutput

func (o GroupInsightsConfigurationOutput) ToGroupInsightsConfigurationPtrOutput() GroupInsightsConfigurationPtrOutput

func (GroupInsightsConfigurationOutput) ToGroupInsightsConfigurationPtrOutputWithContext

func (o GroupInsightsConfigurationOutput) ToGroupInsightsConfigurationPtrOutputWithContext(ctx context.Context) GroupInsightsConfigurationPtrOutput

type GroupInsightsConfigurationPtrInput

type GroupInsightsConfigurationPtrInput interface {
	pulumi.Input

	ToGroupInsightsConfigurationPtrOutput() GroupInsightsConfigurationPtrOutput
	ToGroupInsightsConfigurationPtrOutputWithContext(context.Context) GroupInsightsConfigurationPtrOutput
}

GroupInsightsConfigurationPtrInput is an input type that accepts GroupInsightsConfigurationArgs, GroupInsightsConfigurationPtr and GroupInsightsConfigurationPtrOutput values. You can construct a concrete instance of `GroupInsightsConfigurationPtrInput` via:

        GroupInsightsConfigurationArgs{...}

or:

        nil

type GroupInsightsConfigurationPtrOutput

type GroupInsightsConfigurationPtrOutput struct{ *pulumi.OutputState }

func (GroupInsightsConfigurationPtrOutput) Elem

func (GroupInsightsConfigurationPtrOutput) ElementType

func (GroupInsightsConfigurationPtrOutput) InsightsEnabled

Set the InsightsEnabled value to true to enable insights or false to disable insights.

func (GroupInsightsConfigurationPtrOutput) NotificationsEnabled

func (o GroupInsightsConfigurationPtrOutput) NotificationsEnabled() pulumi.BoolPtrOutput

Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.

func (GroupInsightsConfigurationPtrOutput) ToGroupInsightsConfigurationPtrOutput

func (o GroupInsightsConfigurationPtrOutput) ToGroupInsightsConfigurationPtrOutput() GroupInsightsConfigurationPtrOutput

func (GroupInsightsConfigurationPtrOutput) ToGroupInsightsConfigurationPtrOutputWithContext

func (o GroupInsightsConfigurationPtrOutput) ToGroupInsightsConfigurationPtrOutputWithContext(ctx context.Context) GroupInsightsConfigurationPtrOutput

type GroupOutput

type GroupOutput struct{ *pulumi.OutputState }

func (GroupOutput) ElementType

func (GroupOutput) ElementType() reflect.Type

func (GroupOutput) FilterExpression added in v0.17.0

func (o GroupOutput) FilterExpression() pulumi.StringPtrOutput

The filter expression defining criteria by which to group traces.

func (GroupOutput) GroupArn added in v0.72.0

func (o GroupOutput) GroupArn() pulumi.StringOutput

The ARN of the group that was generated on creation.

func (GroupOutput) GroupName added in v0.17.0

func (o GroupOutput) GroupName() pulumi.StringOutput

The case-sensitive name of the new group. Names must be unique.

func (GroupOutput) InsightsConfiguration added in v0.17.0

func (o GroupOutput) InsightsConfiguration() GroupInsightsConfigurationPtrOutput

The structure containing configurations related to insights.

- The InsightsEnabled boolean can be set to true to enable insights for the group or false to disable insights for the group. - The NotificationsEnabled boolean can be set to true to enable insights notifications through Amazon EventBridge for the group.

func (GroupOutput) Tags added in v0.17.0

func (o GroupOutput) Tags() aws.TagArrayOutput

An array of key-value pairs to apply to this resource.

func (GroupOutput) ToGroupOutput

func (o GroupOutput) ToGroupOutput() GroupOutput

func (GroupOutput) ToGroupOutputWithContext

func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput

type GroupState

type GroupState struct {
}

func (GroupState) ElementType

func (GroupState) ElementType() reflect.Type

type GroupTag added in v0.59.0

type GroupTag struct {
	// The key name of the tag.
	Key string `pulumi:"key"`
	// The value for the tag.
	Value string `pulumi:"value"`
}

type LookupGroupArgs added in v0.12.0

type LookupGroupArgs struct {
	// The ARN of the group that was generated on creation.
	GroupArn string `pulumi:"groupArn"`
}

type LookupGroupOutputArgs added in v0.12.0

type LookupGroupOutputArgs struct {
	// The ARN of the group that was generated on creation.
	GroupArn pulumi.StringInput `pulumi:"groupArn"`
}

func (LookupGroupOutputArgs) ElementType added in v0.12.0

func (LookupGroupOutputArgs) ElementType() reflect.Type

type LookupGroupResult added in v0.12.0

type LookupGroupResult struct {
	// The filter expression defining criteria by which to group traces.
	FilterExpression *string `pulumi:"filterExpression"`
	// The ARN of the group that was generated on creation.
	GroupArn *string `pulumi:"groupArn"`
	// The case-sensitive name of the new group. Names must be unique.
	GroupName *string `pulumi:"groupName"`
	// The structure containing configurations related to insights.
	//
	// - The InsightsEnabled boolean can be set to true to enable insights for the group or false to disable insights for the group.
	// - The NotificationsEnabled boolean can be set to true to enable insights notifications through Amazon EventBridge for the group.
	InsightsConfiguration *GroupInsightsConfiguration `pulumi:"insightsConfiguration"`
	// An array of key-value pairs to apply to this resource.
	Tags []aws.Tag `pulumi:"tags"`
}

func LookupGroup added in v0.12.0

func LookupGroup(ctx *pulumi.Context, args *LookupGroupArgs, opts ...pulumi.InvokeOption) (*LookupGroupResult, error)

This schema provides construct and validation rules for AWS-XRay Group resource parameters.

type LookupGroupResultOutput added in v0.12.0

type LookupGroupResultOutput struct{ *pulumi.OutputState }

func LookupGroupOutput added in v0.12.0

func LookupGroupOutput(ctx *pulumi.Context, args LookupGroupOutputArgs, opts ...pulumi.InvokeOption) LookupGroupResultOutput

func (LookupGroupResultOutput) ElementType added in v0.12.0

func (LookupGroupResultOutput) ElementType() reflect.Type

func (LookupGroupResultOutput) FilterExpression added in v0.12.0

func (o LookupGroupResultOutput) FilterExpression() pulumi.StringPtrOutput

The filter expression defining criteria by which to group traces.

func (LookupGroupResultOutput) GroupArn added in v0.72.0

The ARN of the group that was generated on creation.

func (LookupGroupResultOutput) GroupName added in v0.12.0

The case-sensitive name of the new group. Names must be unique.

func (LookupGroupResultOutput) InsightsConfiguration added in v0.12.0

The structure containing configurations related to insights.

- The InsightsEnabled boolean can be set to true to enable insights for the group or false to disable insights for the group. - The NotificationsEnabled boolean can be set to true to enable insights notifications through Amazon EventBridge for the group.

func (LookupGroupResultOutput) Tags added in v0.12.0

An array of key-value pairs to apply to this resource.

func (LookupGroupResultOutput) ToLookupGroupResultOutput added in v0.12.0

func (o LookupGroupResultOutput) ToLookupGroupResultOutput() LookupGroupResultOutput

func (LookupGroupResultOutput) ToLookupGroupResultOutputWithContext added in v0.12.0

func (o LookupGroupResultOutput) ToLookupGroupResultOutputWithContext(ctx context.Context) LookupGroupResultOutput

type LookupResourcePolicyArgs added in v0.41.0

type LookupResourcePolicyArgs struct {
	// The name of the resource policy. Must be unique within a specific AWS account.
	PolicyName string `pulumi:"policyName"`
}

type LookupResourcePolicyOutputArgs added in v0.41.0

type LookupResourcePolicyOutputArgs struct {
	// The name of the resource policy. Must be unique within a specific AWS account.
	PolicyName pulumi.StringInput `pulumi:"policyName"`
}

func (LookupResourcePolicyOutputArgs) ElementType added in v0.41.0

type LookupResourcePolicyResult added in v0.41.0

type LookupResourcePolicyResult struct {
	// The resource policy document, which can be up to 5kb in size.
	PolicyDocument *string `pulumi:"policyDocument"`
}

func LookupResourcePolicy added in v0.41.0

func LookupResourcePolicy(ctx *pulumi.Context, args *LookupResourcePolicyArgs, opts ...pulumi.InvokeOption) (*LookupResourcePolicyResult, error)

This schema provides construct and validation rules for AWS-XRay Resource Policy resource parameters.

type LookupResourcePolicyResultOutput added in v0.41.0

type LookupResourcePolicyResultOutput struct{ *pulumi.OutputState }

func LookupResourcePolicyOutput added in v0.41.0

func (LookupResourcePolicyResultOutput) ElementType added in v0.41.0

func (LookupResourcePolicyResultOutput) PolicyDocument added in v0.41.0

The resource policy document, which can be up to 5kb in size.

func (LookupResourcePolicyResultOutput) ToLookupResourcePolicyResultOutput added in v0.41.0

func (o LookupResourcePolicyResultOutput) ToLookupResourcePolicyResultOutput() LookupResourcePolicyResultOutput

func (LookupResourcePolicyResultOutput) ToLookupResourcePolicyResultOutputWithContext added in v0.41.0

func (o LookupResourcePolicyResultOutput) ToLookupResourcePolicyResultOutputWithContext(ctx context.Context) LookupResourcePolicyResultOutput

type LookupSamplingRuleArgs added in v0.12.0

type LookupSamplingRuleArgs struct {
	// The sampling rule ARN that was created or updated.
	RuleArn string `pulumi:"ruleArn"`
}

type LookupSamplingRuleOutputArgs added in v0.12.0

type LookupSamplingRuleOutputArgs struct {
	// The sampling rule ARN that was created or updated.
	RuleArn pulumi.StringInput `pulumi:"ruleArn"`
}

func (LookupSamplingRuleOutputArgs) ElementType added in v0.12.0

type LookupSamplingRuleResult added in v0.12.0

type LookupSamplingRuleResult struct {
	// The sampling rule ARN that was created or updated.
	RuleArn  *string `pulumi:"ruleArn"`
	RuleName *string `pulumi:"ruleName"`
	// The sampling rule to be created or updated.
	SamplingRule       *SamplingRuleType   `pulumi:"samplingRule"`
	SamplingRuleRecord *SamplingRuleRecord `pulumi:"samplingRuleRecord"`
	SamplingRuleUpdate *SamplingRuleUpdate `pulumi:"samplingRuleUpdate"`
	// An array of key-value pairs to apply to this resource.
	Tags []aws.Tag `pulumi:"tags"`
}

func LookupSamplingRule added in v0.12.0

func LookupSamplingRule(ctx *pulumi.Context, args *LookupSamplingRuleArgs, opts ...pulumi.InvokeOption) (*LookupSamplingRuleResult, error)

This schema provides construct and validation rules for AWS-XRay SamplingRule resource parameters.

type LookupSamplingRuleResultOutput added in v0.12.0

type LookupSamplingRuleResultOutput struct{ *pulumi.OutputState }

func LookupSamplingRuleOutput added in v0.12.0

func (LookupSamplingRuleResultOutput) ElementType added in v0.12.0

func (LookupSamplingRuleResultOutput) RuleArn added in v0.72.0

The sampling rule ARN that was created or updated.

func (LookupSamplingRuleResultOutput) RuleName added in v0.12.0

func (LookupSamplingRuleResultOutput) SamplingRule added in v0.12.0

The sampling rule to be created or updated.

func (LookupSamplingRuleResultOutput) SamplingRuleRecord added in v0.12.0

func (LookupSamplingRuleResultOutput) SamplingRuleUpdate added in v0.12.0

func (LookupSamplingRuleResultOutput) Tags added in v0.12.0

An array of key-value pairs to apply to this resource.

func (LookupSamplingRuleResultOutput) ToLookupSamplingRuleResultOutput added in v0.12.0

func (o LookupSamplingRuleResultOutput) ToLookupSamplingRuleResultOutput() LookupSamplingRuleResultOutput

func (LookupSamplingRuleResultOutput) ToLookupSamplingRuleResultOutputWithContext added in v0.12.0

func (o LookupSamplingRuleResultOutput) ToLookupSamplingRuleResultOutputWithContext(ctx context.Context) LookupSamplingRuleResultOutput

type ResourcePolicy added in v0.41.0

type ResourcePolicy struct {
	pulumi.CustomResourceState

	// A flag to indicate whether to bypass the resource policy lockout safety check
	BypassPolicyLockoutCheck pulumi.BoolPtrOutput `pulumi:"bypassPolicyLockoutCheck"`
	// The resource policy document, which can be up to 5kb in size.
	PolicyDocument pulumi.StringOutput `pulumi:"policyDocument"`
	// The name of the resource policy. Must be unique within a specific AWS account.
	PolicyName pulumi.StringOutput `pulumi:"policyName"`
}

This schema provides construct and validation rules for AWS-XRay Resource Policy resource parameters.

## Example Usage ### Example

```go package main

import (

"github.com/pulumi/pulumi-aws-native/sdk/go/aws/xray"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := xray.NewResourcePolicy(ctx, "myResourcePolicy", &xray.ResourcePolicyArgs{
			BypassPolicyLockoutCheck: pulumi.Bool(false),
			PolicyDocument:           pulumi.String("{ \"Version\": \"2012-10-17\", \"Statement\": [ { \"Sid\": \"SNSAccess\", \"Effect\": \"Allow\", \"Principal\": { \"Service\": \"sns.amazonaws.com\" }, \"Action\": [ \"xray:PutTraceSegments\", \"xray:GetSamplingRules\", \"xray:GetSamplingTargets\" ], \"Resource\": \"*\", \"Condition\": { \"StringEquals\": { \"aws:SourceAccount\": \"my-account-id\" }, \"StringLike\": { \"aws:SourceArn\": \"arn:$my-partition:sns:$my-region:$my-account-id:my-topic-name\" } } } ] }"),
			PolicyName:               pulumi.String("MySnsActiveTracingPolicy"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Example

```go package main

import (

"github.com/pulumi/pulumi-aws-native/sdk/go/aws/xray"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := xray.NewResourcePolicy(ctx, "myResourcePolicy", &xray.ResourcePolicyArgs{
			BypassPolicyLockoutCheck: pulumi.Bool(false),
			PolicyDocument:           pulumi.String("{ \"Version\": \"2012-10-17\", \"Statement\": [ { \"Sid\": \"SNSAccess\", \"Effect\": \"Allow\", \"Principal\": { \"Service\": \"sns.amazonaws.com\" }, \"Action\": [ \"xray:PutTraceSegments\", \"xray:GetSamplingRules\", \"xray:GetSamplingTargets\" ], \"Resource\": \"*\", \"Condition\": { \"StringEquals\": { \"aws:SourceAccount\": \"my-account-id\" }, \"StringLike\": { \"aws:SourceArn\": \"arn:$my-partition:sns:$my-region:$my-account-id:my-topic-name\" } } } ] }"),
			PolicyName:               pulumi.String("MySNSActiveTracingPolicy"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetResourcePolicy added in v0.41.0

func GetResourcePolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResourcePolicyState, opts ...pulumi.ResourceOption) (*ResourcePolicy, error)

GetResourcePolicy gets an existing ResourcePolicy 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 NewResourcePolicy added in v0.41.0

func NewResourcePolicy(ctx *pulumi.Context,
	name string, args *ResourcePolicyArgs, opts ...pulumi.ResourceOption) (*ResourcePolicy, error)

NewResourcePolicy registers a new resource with the given unique name, arguments, and options.

func (*ResourcePolicy) ElementType added in v0.41.0

func (*ResourcePolicy) ElementType() reflect.Type

func (*ResourcePolicy) ToResourcePolicyOutput added in v0.41.0

func (i *ResourcePolicy) ToResourcePolicyOutput() ResourcePolicyOutput

func (*ResourcePolicy) ToResourcePolicyOutputWithContext added in v0.41.0

func (i *ResourcePolicy) ToResourcePolicyOutputWithContext(ctx context.Context) ResourcePolicyOutput

type ResourcePolicyArgs added in v0.41.0

type ResourcePolicyArgs struct {
	// A flag to indicate whether to bypass the resource policy lockout safety check
	BypassPolicyLockoutCheck pulumi.BoolPtrInput
	// The resource policy document, which can be up to 5kb in size.
	PolicyDocument pulumi.StringInput
	// The name of the resource policy. Must be unique within a specific AWS account.
	PolicyName pulumi.StringPtrInput
}

The set of arguments for constructing a ResourcePolicy resource.

func (ResourcePolicyArgs) ElementType added in v0.41.0

func (ResourcePolicyArgs) ElementType() reflect.Type

type ResourcePolicyInput added in v0.41.0

type ResourcePolicyInput interface {
	pulumi.Input

	ToResourcePolicyOutput() ResourcePolicyOutput
	ToResourcePolicyOutputWithContext(ctx context.Context) ResourcePolicyOutput
}

type ResourcePolicyOutput added in v0.41.0

type ResourcePolicyOutput struct{ *pulumi.OutputState }

func (ResourcePolicyOutput) BypassPolicyLockoutCheck added in v0.41.0

func (o ResourcePolicyOutput) BypassPolicyLockoutCheck() pulumi.BoolPtrOutput

A flag to indicate whether to bypass the resource policy lockout safety check

func (ResourcePolicyOutput) ElementType added in v0.41.0

func (ResourcePolicyOutput) ElementType() reflect.Type

func (ResourcePolicyOutput) PolicyDocument added in v0.41.0

func (o ResourcePolicyOutput) PolicyDocument() pulumi.StringOutput

The resource policy document, which can be up to 5kb in size.

func (ResourcePolicyOutput) PolicyName added in v0.41.0

func (o ResourcePolicyOutput) PolicyName() pulumi.StringOutput

The name of the resource policy. Must be unique within a specific AWS account.

func (ResourcePolicyOutput) ToResourcePolicyOutput added in v0.41.0

func (o ResourcePolicyOutput) ToResourcePolicyOutput() ResourcePolicyOutput

func (ResourcePolicyOutput) ToResourcePolicyOutputWithContext added in v0.41.0

func (o ResourcePolicyOutput) ToResourcePolicyOutputWithContext(ctx context.Context) ResourcePolicyOutput

type ResourcePolicyState added in v0.41.0

type ResourcePolicyState struct {
}

func (ResourcePolicyState) ElementType added in v0.41.0

func (ResourcePolicyState) ElementType() reflect.Type

type SamplingRule

type SamplingRule struct {
	pulumi.CustomResourceState

	// The sampling rule ARN that was created or updated.
	RuleArn  pulumi.StringOutput    `pulumi:"ruleArn"`
	RuleName pulumi.StringPtrOutput `pulumi:"ruleName"`
	// The sampling rule to be created or updated.
	SamplingRule       SamplingRuleTypePtrOutput   `pulumi:"samplingRule"`
	SamplingRuleRecord SamplingRuleRecordPtrOutput `pulumi:"samplingRuleRecord"`
	SamplingRuleUpdate SamplingRuleUpdatePtrOutput `pulumi:"samplingRuleUpdate"`
	// An array of key-value pairs to apply to this resource.
	Tags aws.TagArrayOutput `pulumi:"tags"`
}

This schema provides construct and validation rules for AWS-XRay SamplingRule resource parameters.

func GetSamplingRule

func GetSamplingRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SamplingRuleState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*SamplingRule, error)

NewSamplingRule registers a new resource with the given unique name, arguments, and options.

func (*SamplingRule) ElementType

func (*SamplingRule) ElementType() reflect.Type

func (*SamplingRule) ToSamplingRuleOutput

func (i *SamplingRule) ToSamplingRuleOutput() SamplingRuleOutput

func (*SamplingRule) ToSamplingRuleOutputWithContext

func (i *SamplingRule) ToSamplingRuleOutputWithContext(ctx context.Context) SamplingRuleOutput

type SamplingRuleArgs

type SamplingRuleArgs struct {
	RuleName pulumi.StringPtrInput
	// The sampling rule to be created or updated.
	SamplingRule       SamplingRuleTypePtrInput
	SamplingRuleRecord SamplingRuleRecordPtrInput
	SamplingRuleUpdate SamplingRuleUpdatePtrInput
	// An array of key-value pairs to apply to this resource.
	Tags aws.TagArrayInput
}

The set of arguments for constructing a SamplingRule resource.

func (SamplingRuleArgs) ElementType

func (SamplingRuleArgs) ElementType() reflect.Type

type SamplingRuleInput

type SamplingRuleInput interface {
	pulumi.Input

	ToSamplingRuleOutput() SamplingRuleOutput
	ToSamplingRuleOutputWithContext(ctx context.Context) SamplingRuleOutput
}

type SamplingRuleOutput

type SamplingRuleOutput struct{ *pulumi.OutputState }

func (SamplingRuleOutput) ElementType

func (SamplingRuleOutput) ElementType() reflect.Type

func (SamplingRuleOutput) RuleArn added in v0.72.0

The sampling rule ARN that was created or updated.

func (SamplingRuleOutput) RuleName added in v0.17.0

func (SamplingRuleOutput) SamplingRule added in v0.17.0

The sampling rule to be created or updated.

func (SamplingRuleOutput) SamplingRuleRecord added in v0.17.0

func (o SamplingRuleOutput) SamplingRuleRecord() SamplingRuleRecordPtrOutput

func (SamplingRuleOutput) SamplingRuleUpdate added in v0.17.0

func (o SamplingRuleOutput) SamplingRuleUpdate() SamplingRuleUpdatePtrOutput

func (SamplingRuleOutput) Tags added in v0.17.0

An array of key-value pairs to apply to this resource.

func (SamplingRuleOutput) ToSamplingRuleOutput

func (o SamplingRuleOutput) ToSamplingRuleOutput() SamplingRuleOutput

func (SamplingRuleOutput) ToSamplingRuleOutputWithContext

func (o SamplingRuleOutput) ToSamplingRuleOutputWithContext(ctx context.Context) SamplingRuleOutput

type SamplingRuleRecord added in v0.2.0

type SamplingRuleRecord struct {
	// When the rule was created, in Unix time seconds.
	CreatedAt *string `pulumi:"createdAt"`
	// When the rule was modified, in Unix time seconds.
	ModifiedAt   *string           `pulumi:"modifiedAt"`
	SamplingRule *SamplingRuleType `pulumi:"samplingRule"`
}

type SamplingRuleRecordArgs added in v0.2.0

type SamplingRuleRecordArgs struct {
	// When the rule was created, in Unix time seconds.
	CreatedAt pulumi.StringPtrInput `pulumi:"createdAt"`
	// When the rule was modified, in Unix time seconds.
	ModifiedAt   pulumi.StringPtrInput    `pulumi:"modifiedAt"`
	SamplingRule SamplingRuleTypePtrInput `pulumi:"samplingRule"`
}

func (SamplingRuleRecordArgs) ElementType added in v0.2.0

func (SamplingRuleRecordArgs) ElementType() reflect.Type

func (SamplingRuleRecordArgs) ToSamplingRuleRecordOutput added in v0.2.0

func (i SamplingRuleRecordArgs) ToSamplingRuleRecordOutput() SamplingRuleRecordOutput

func (SamplingRuleRecordArgs) ToSamplingRuleRecordOutputWithContext added in v0.2.0

func (i SamplingRuleRecordArgs) ToSamplingRuleRecordOutputWithContext(ctx context.Context) SamplingRuleRecordOutput

func (SamplingRuleRecordArgs) ToSamplingRuleRecordPtrOutput added in v0.2.0

func (i SamplingRuleRecordArgs) ToSamplingRuleRecordPtrOutput() SamplingRuleRecordPtrOutput

func (SamplingRuleRecordArgs) ToSamplingRuleRecordPtrOutputWithContext added in v0.2.0

func (i SamplingRuleRecordArgs) ToSamplingRuleRecordPtrOutputWithContext(ctx context.Context) SamplingRuleRecordPtrOutput

type SamplingRuleRecordInput added in v0.2.0

type SamplingRuleRecordInput interface {
	pulumi.Input

	ToSamplingRuleRecordOutput() SamplingRuleRecordOutput
	ToSamplingRuleRecordOutputWithContext(context.Context) SamplingRuleRecordOutput
}

SamplingRuleRecordInput is an input type that accepts SamplingRuleRecordArgs and SamplingRuleRecordOutput values. You can construct a concrete instance of `SamplingRuleRecordInput` via:

SamplingRuleRecordArgs{...}

type SamplingRuleRecordOutput added in v0.2.0

type SamplingRuleRecordOutput struct{ *pulumi.OutputState }

func (SamplingRuleRecordOutput) CreatedAt added in v0.2.0

When the rule was created, in Unix time seconds.

func (SamplingRuleRecordOutput) ElementType added in v0.2.0

func (SamplingRuleRecordOutput) ElementType() reflect.Type

func (SamplingRuleRecordOutput) ModifiedAt added in v0.2.0

When the rule was modified, in Unix time seconds.

func (SamplingRuleRecordOutput) SamplingRule added in v0.2.0

func (SamplingRuleRecordOutput) ToSamplingRuleRecordOutput added in v0.2.0

func (o SamplingRuleRecordOutput) ToSamplingRuleRecordOutput() SamplingRuleRecordOutput

func (SamplingRuleRecordOutput) ToSamplingRuleRecordOutputWithContext added in v0.2.0

func (o SamplingRuleRecordOutput) ToSamplingRuleRecordOutputWithContext(ctx context.Context) SamplingRuleRecordOutput

func (SamplingRuleRecordOutput) ToSamplingRuleRecordPtrOutput added in v0.2.0

func (o SamplingRuleRecordOutput) ToSamplingRuleRecordPtrOutput() SamplingRuleRecordPtrOutput

func (SamplingRuleRecordOutput) ToSamplingRuleRecordPtrOutputWithContext added in v0.2.0

func (o SamplingRuleRecordOutput) ToSamplingRuleRecordPtrOutputWithContext(ctx context.Context) SamplingRuleRecordPtrOutput

type SamplingRuleRecordPtrInput added in v0.2.0

type SamplingRuleRecordPtrInput interface {
	pulumi.Input

	ToSamplingRuleRecordPtrOutput() SamplingRuleRecordPtrOutput
	ToSamplingRuleRecordPtrOutputWithContext(context.Context) SamplingRuleRecordPtrOutput
}

SamplingRuleRecordPtrInput is an input type that accepts SamplingRuleRecordArgs, SamplingRuleRecordPtr and SamplingRuleRecordPtrOutput values. You can construct a concrete instance of `SamplingRuleRecordPtrInput` via:

        SamplingRuleRecordArgs{...}

or:

        nil

func SamplingRuleRecordPtr added in v0.2.0

func SamplingRuleRecordPtr(v *SamplingRuleRecordArgs) SamplingRuleRecordPtrInput

type SamplingRuleRecordPtrOutput added in v0.2.0

type SamplingRuleRecordPtrOutput struct{ *pulumi.OutputState }

func (SamplingRuleRecordPtrOutput) CreatedAt added in v0.2.0

When the rule was created, in Unix time seconds.

func (SamplingRuleRecordPtrOutput) Elem added in v0.2.0

func (SamplingRuleRecordPtrOutput) ElementType added in v0.2.0

func (SamplingRuleRecordPtrOutput) ModifiedAt added in v0.2.0

When the rule was modified, in Unix time seconds.

func (SamplingRuleRecordPtrOutput) SamplingRule added in v0.2.0

func (SamplingRuleRecordPtrOutput) ToSamplingRuleRecordPtrOutput added in v0.2.0

func (o SamplingRuleRecordPtrOutput) ToSamplingRuleRecordPtrOutput() SamplingRuleRecordPtrOutput

func (SamplingRuleRecordPtrOutput) ToSamplingRuleRecordPtrOutputWithContext added in v0.2.0

func (o SamplingRuleRecordPtrOutput) ToSamplingRuleRecordPtrOutputWithContext(ctx context.Context) SamplingRuleRecordPtrOutput

type SamplingRuleState

type SamplingRuleState struct {
}

func (SamplingRuleState) ElementType

func (SamplingRuleState) ElementType() reflect.Type

type SamplingRuleTag added in v0.59.0

type SamplingRuleTag struct {
	// The key name of the tag.
	Key string `pulumi:"key"`
	// The value for the tag.
	Value string `pulumi:"value"`
}

type SamplingRuleType added in v0.2.0

type SamplingRuleType struct {
	// Matches attributes derived from the request.
	Attributes map[string]string `pulumi:"attributes"`
	// The percentage of matching requests to instrument, after the reservoir is exhausted.
	FixedRate float64 `pulumi:"fixedRate"`
	// Matches the hostname from a request URL.
	Host string `pulumi:"host"`
	// Matches the HTTP method from a request URL.
	HttpMethod string `pulumi:"httpMethod"`
	// The priority of the sampling rule.
	Priority int `pulumi:"priority"`
	// 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 int `pulumi:"reservoirSize"`
	// Matches the ARN of the AWS resource on which the service runs.
	ResourceArn string `pulumi:"resourceArn"`
	// The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.
	//
	// > Specifying a sampling rule by name is recommended, as specifying by ARN will be deprecated in future.
	RuleArn *string `pulumi:"ruleArn"`
	// The name of the sampling rule. Specify a rule by either name or ARN, but not both.
	RuleName *string `pulumi:"ruleName"`
	// Matches the name that the service uses to identify itself in segments.
	ServiceName string `pulumi:"serviceName"`
	// Matches the origin that the service uses to identify its type in segments.
	ServiceType string `pulumi:"serviceType"`
	// Matches the path from a request URL.
	UrlPath string `pulumi:"urlPath"`
	// The version of the sampling rule format (1)
	Version *int `pulumi:"version"`
}

type SamplingRuleTypeArgs added in v0.2.0

type SamplingRuleTypeArgs struct {
	// Matches attributes derived from the request.
	Attributes pulumi.StringMapInput `pulumi:"attributes"`
	// The percentage of matching requests to instrument, after the reservoir is exhausted.
	FixedRate pulumi.Float64Input `pulumi:"fixedRate"`
	// Matches the hostname from a request URL.
	Host pulumi.StringInput `pulumi:"host"`
	// Matches the HTTP method from a request URL.
	HttpMethod pulumi.StringInput `pulumi:"httpMethod"`
	// The priority of the sampling rule.
	Priority pulumi.IntInput `pulumi:"priority"`
	// 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 pulumi.IntInput `pulumi:"reservoirSize"`
	// Matches the ARN of the AWS resource on which the service runs.
	ResourceArn pulumi.StringInput `pulumi:"resourceArn"`
	// The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.
	//
	// > Specifying a sampling rule by name is recommended, as specifying by ARN will be deprecated in future.
	RuleArn pulumi.StringPtrInput `pulumi:"ruleArn"`
	// The name of the sampling rule. Specify a rule by either name or ARN, but not both.
	RuleName pulumi.StringPtrInput `pulumi:"ruleName"`
	// Matches the name that the service uses to identify itself in segments.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
	// Matches the origin that the service uses to identify its type in segments.
	ServiceType pulumi.StringInput `pulumi:"serviceType"`
	// Matches the path from a request URL.
	UrlPath pulumi.StringInput `pulumi:"urlPath"`
	// The version of the sampling rule format (1)
	Version pulumi.IntPtrInput `pulumi:"version"`
}

func (SamplingRuleTypeArgs) ElementType added in v0.2.0

func (SamplingRuleTypeArgs) ElementType() reflect.Type

func (SamplingRuleTypeArgs) ToSamplingRuleTypeOutput added in v0.2.0

func (i SamplingRuleTypeArgs) ToSamplingRuleTypeOutput() SamplingRuleTypeOutput

func (SamplingRuleTypeArgs) ToSamplingRuleTypeOutputWithContext added in v0.2.0

func (i SamplingRuleTypeArgs) ToSamplingRuleTypeOutputWithContext(ctx context.Context) SamplingRuleTypeOutput

func (SamplingRuleTypeArgs) ToSamplingRuleTypePtrOutput added in v0.2.0

func (i SamplingRuleTypeArgs) ToSamplingRuleTypePtrOutput() SamplingRuleTypePtrOutput

func (SamplingRuleTypeArgs) ToSamplingRuleTypePtrOutputWithContext added in v0.2.0

func (i SamplingRuleTypeArgs) ToSamplingRuleTypePtrOutputWithContext(ctx context.Context) SamplingRuleTypePtrOutput

type SamplingRuleTypeInput added in v0.2.0

type SamplingRuleTypeInput interface {
	pulumi.Input

	ToSamplingRuleTypeOutput() SamplingRuleTypeOutput
	ToSamplingRuleTypeOutputWithContext(context.Context) SamplingRuleTypeOutput
}

SamplingRuleTypeInput is an input type that accepts SamplingRuleTypeArgs and SamplingRuleTypeOutput values. You can construct a concrete instance of `SamplingRuleTypeInput` via:

SamplingRuleTypeArgs{...}

type SamplingRuleTypeOutput added in v0.2.0

type SamplingRuleTypeOutput struct{ *pulumi.OutputState }

func (SamplingRuleTypeOutput) Attributes added in v0.2.0

Matches attributes derived from the request.

func (SamplingRuleTypeOutput) ElementType added in v0.2.0

func (SamplingRuleTypeOutput) ElementType() reflect.Type

func (SamplingRuleTypeOutput) FixedRate added in v0.2.0

The percentage of matching requests to instrument, after the reservoir is exhausted.

func (SamplingRuleTypeOutput) Host added in v0.2.0

Matches the hostname from a request URL.

func (SamplingRuleTypeOutput) HttpMethod added in v0.72.0

Matches the HTTP method from a request URL.

func (SamplingRuleTypeOutput) Priority added in v0.2.0

The priority of the sampling rule.

func (SamplingRuleTypeOutput) ReservoirSize added in v0.2.0

func (o SamplingRuleTypeOutput) 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 (SamplingRuleTypeOutput) ResourceArn added in v0.72.0

func (o SamplingRuleTypeOutput) ResourceArn() pulumi.StringOutput

Matches the ARN of the AWS resource on which the service runs.

func (SamplingRuleTypeOutput) RuleArn added in v0.72.0

The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.

> Specifying a sampling rule by name is recommended, as specifying by ARN will be deprecated in future.

func (SamplingRuleTypeOutput) RuleName added in v0.2.0

The name of the sampling rule. Specify a rule by either name or ARN, but not both.

func (SamplingRuleTypeOutput) ServiceName added in v0.2.0

func (o SamplingRuleTypeOutput) ServiceName() pulumi.StringOutput

Matches the name that the service uses to identify itself in segments.

func (SamplingRuleTypeOutput) ServiceType added in v0.2.0

func (o SamplingRuleTypeOutput) ServiceType() pulumi.StringOutput

Matches the origin that the service uses to identify its type in segments.

func (SamplingRuleTypeOutput) ToSamplingRuleTypeOutput added in v0.2.0

func (o SamplingRuleTypeOutput) ToSamplingRuleTypeOutput() SamplingRuleTypeOutput

func (SamplingRuleTypeOutput) ToSamplingRuleTypeOutputWithContext added in v0.2.0

func (o SamplingRuleTypeOutput) ToSamplingRuleTypeOutputWithContext(ctx context.Context) SamplingRuleTypeOutput

func (SamplingRuleTypeOutput) ToSamplingRuleTypePtrOutput added in v0.2.0

func (o SamplingRuleTypeOutput) ToSamplingRuleTypePtrOutput() SamplingRuleTypePtrOutput

func (SamplingRuleTypeOutput) ToSamplingRuleTypePtrOutputWithContext added in v0.2.0

func (o SamplingRuleTypeOutput) ToSamplingRuleTypePtrOutputWithContext(ctx context.Context) SamplingRuleTypePtrOutput

func (SamplingRuleTypeOutput) UrlPath added in v0.72.0

Matches the path from a request URL.

func (SamplingRuleTypeOutput) Version added in v0.2.0

The version of the sampling rule format (1)

type SamplingRuleTypePtrInput added in v0.2.0

type SamplingRuleTypePtrInput interface {
	pulumi.Input

	ToSamplingRuleTypePtrOutput() SamplingRuleTypePtrOutput
	ToSamplingRuleTypePtrOutputWithContext(context.Context) SamplingRuleTypePtrOutput
}

SamplingRuleTypePtrInput is an input type that accepts SamplingRuleTypeArgs, SamplingRuleTypePtr and SamplingRuleTypePtrOutput values. You can construct a concrete instance of `SamplingRuleTypePtrInput` via:

        SamplingRuleTypeArgs{...}

or:

        nil

func SamplingRuleTypePtr added in v0.2.0

func SamplingRuleTypePtr(v *SamplingRuleTypeArgs) SamplingRuleTypePtrInput

type SamplingRuleTypePtrOutput added in v0.2.0

type SamplingRuleTypePtrOutput struct{ *pulumi.OutputState }

func (SamplingRuleTypePtrOutput) Attributes added in v0.2.0

Matches attributes derived from the request.

func (SamplingRuleTypePtrOutput) Elem added in v0.2.0

func (SamplingRuleTypePtrOutput) ElementType added in v0.2.0

func (SamplingRuleTypePtrOutput) ElementType() reflect.Type

func (SamplingRuleTypePtrOutput) FixedRate added in v0.2.0

The percentage of matching requests to instrument, after the reservoir is exhausted.

func (SamplingRuleTypePtrOutput) Host added in v0.2.0

Matches the hostname from a request URL.

func (SamplingRuleTypePtrOutput) HttpMethod added in v0.72.0

Matches the HTTP method from a request URL.

func (SamplingRuleTypePtrOutput) Priority added in v0.2.0

The priority of the sampling rule.

func (SamplingRuleTypePtrOutput) ReservoirSize added in v0.2.0

func (o SamplingRuleTypePtrOutput) ReservoirSize() pulumi.IntPtrOutput

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 (SamplingRuleTypePtrOutput) ResourceArn added in v0.72.0

Matches the ARN of the AWS resource on which the service runs.

func (SamplingRuleTypePtrOutput) RuleArn added in v0.72.0

The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.

> Specifying a sampling rule by name is recommended, as specifying by ARN will be deprecated in future.

func (SamplingRuleTypePtrOutput) RuleName added in v0.2.0

The name of the sampling rule. Specify a rule by either name or ARN, but not both.

func (SamplingRuleTypePtrOutput) ServiceName added in v0.2.0

Matches the name that the service uses to identify itself in segments.

func (SamplingRuleTypePtrOutput) ServiceType added in v0.2.0

Matches the origin that the service uses to identify its type in segments.

func (SamplingRuleTypePtrOutput) ToSamplingRuleTypePtrOutput added in v0.2.0

func (o SamplingRuleTypePtrOutput) ToSamplingRuleTypePtrOutput() SamplingRuleTypePtrOutput

func (SamplingRuleTypePtrOutput) ToSamplingRuleTypePtrOutputWithContext added in v0.2.0

func (o SamplingRuleTypePtrOutput) ToSamplingRuleTypePtrOutputWithContext(ctx context.Context) SamplingRuleTypePtrOutput

func (SamplingRuleTypePtrOutput) UrlPath added in v0.72.0

Matches the path from a request URL.

func (SamplingRuleTypePtrOutput) Version added in v0.2.0

The version of the sampling rule format (1)

type SamplingRuleUpdate added in v0.2.0

type SamplingRuleUpdate struct {
	// Matches attributes derived from the request.
	Attributes map[string]string `pulumi:"attributes"`
	// The percentage of matching requests to instrument, after the reservoir is exhausted.
	FixedRate *float64 `pulumi:"fixedRate"`
	// Matches the hostname from a request URL.
	Host *string `pulumi:"host"`
	// Matches the HTTP method from a request URL.
	HttpMethod *string `pulumi:"httpMethod"`
	// The priority of the sampling rule.
	Priority *int `pulumi:"priority"`
	// 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 *int `pulumi:"reservoirSize"`
	// Matches the ARN of the AWS resource on which the service runs.
	ResourceArn *string `pulumi:"resourceArn"`
	RuleArn     *string `pulumi:"ruleArn"`
	RuleName    *string `pulumi:"ruleName"`
	// Matches the name that the service uses to identify itself in segments.
	ServiceName *string `pulumi:"serviceName"`
	// Matches the origin that the service uses to identify its type in segments.
	ServiceType *string `pulumi:"serviceType"`
	// Matches the path from a request URL.
	UrlPath *string `pulumi:"urlPath"`
}

type SamplingRuleUpdateArgs added in v0.2.0

type SamplingRuleUpdateArgs struct {
	// Matches attributes derived from the request.
	Attributes pulumi.StringMapInput `pulumi:"attributes"`
	// The percentage of matching requests to instrument, after the reservoir is exhausted.
	FixedRate pulumi.Float64PtrInput `pulumi:"fixedRate"`
	// Matches the hostname from a request URL.
	Host pulumi.StringPtrInput `pulumi:"host"`
	// Matches the HTTP method from a request URL.
	HttpMethod pulumi.StringPtrInput `pulumi:"httpMethod"`
	// The priority of the sampling rule.
	Priority pulumi.IntPtrInput `pulumi:"priority"`
	// 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 pulumi.IntPtrInput `pulumi:"reservoirSize"`
	// Matches the ARN of the AWS resource on which the service runs.
	ResourceArn pulumi.StringPtrInput `pulumi:"resourceArn"`
	RuleArn     pulumi.StringPtrInput `pulumi:"ruleArn"`
	RuleName    pulumi.StringPtrInput `pulumi:"ruleName"`
	// Matches the name that the service uses to identify itself in segments.
	ServiceName pulumi.StringPtrInput `pulumi:"serviceName"`
	// Matches the origin that the service uses to identify its type in segments.
	ServiceType pulumi.StringPtrInput `pulumi:"serviceType"`
	// Matches the path from a request URL.
	UrlPath pulumi.StringPtrInput `pulumi:"urlPath"`
}

func (SamplingRuleUpdateArgs) ElementType added in v0.2.0

func (SamplingRuleUpdateArgs) ElementType() reflect.Type

func (SamplingRuleUpdateArgs) ToSamplingRuleUpdateOutput added in v0.2.0

func (i SamplingRuleUpdateArgs) ToSamplingRuleUpdateOutput() SamplingRuleUpdateOutput

func (SamplingRuleUpdateArgs) ToSamplingRuleUpdateOutputWithContext added in v0.2.0

func (i SamplingRuleUpdateArgs) ToSamplingRuleUpdateOutputWithContext(ctx context.Context) SamplingRuleUpdateOutput

func (SamplingRuleUpdateArgs) ToSamplingRuleUpdatePtrOutput added in v0.2.0

func (i SamplingRuleUpdateArgs) ToSamplingRuleUpdatePtrOutput() SamplingRuleUpdatePtrOutput

func (SamplingRuleUpdateArgs) ToSamplingRuleUpdatePtrOutputWithContext added in v0.2.0

func (i SamplingRuleUpdateArgs) ToSamplingRuleUpdatePtrOutputWithContext(ctx context.Context) SamplingRuleUpdatePtrOutput

type SamplingRuleUpdateInput added in v0.2.0

type SamplingRuleUpdateInput interface {
	pulumi.Input

	ToSamplingRuleUpdateOutput() SamplingRuleUpdateOutput
	ToSamplingRuleUpdateOutputWithContext(context.Context) SamplingRuleUpdateOutput
}

SamplingRuleUpdateInput is an input type that accepts SamplingRuleUpdateArgs and SamplingRuleUpdateOutput values. You can construct a concrete instance of `SamplingRuleUpdateInput` via:

SamplingRuleUpdateArgs{...}

type SamplingRuleUpdateOutput added in v0.2.0

type SamplingRuleUpdateOutput struct{ *pulumi.OutputState }

func (SamplingRuleUpdateOutput) Attributes added in v0.2.0

Matches attributes derived from the request.

func (SamplingRuleUpdateOutput) ElementType added in v0.2.0

func (SamplingRuleUpdateOutput) ElementType() reflect.Type

func (SamplingRuleUpdateOutput) FixedRate added in v0.2.0

The percentage of matching requests to instrument, after the reservoir is exhausted.

func (SamplingRuleUpdateOutput) Host added in v0.2.0

Matches the hostname from a request URL.

func (SamplingRuleUpdateOutput) HttpMethod added in v0.72.0

Matches the HTTP method from a request URL.

func (SamplingRuleUpdateOutput) Priority added in v0.2.0

The priority of the sampling rule.

func (SamplingRuleUpdateOutput) ReservoirSize added in v0.2.0

func (o SamplingRuleUpdateOutput) ReservoirSize() pulumi.IntPtrOutput

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 (SamplingRuleUpdateOutput) ResourceArn added in v0.72.0

Matches the ARN of the AWS resource on which the service runs.

func (SamplingRuleUpdateOutput) RuleArn added in v0.72.0

func (SamplingRuleUpdateOutput) RuleName added in v0.2.0

func (SamplingRuleUpdateOutput) ServiceName added in v0.2.0

Matches the name that the service uses to identify itself in segments.

func (SamplingRuleUpdateOutput) ServiceType added in v0.2.0

Matches the origin that the service uses to identify its type in segments.

func (SamplingRuleUpdateOutput) ToSamplingRuleUpdateOutput added in v0.2.0

func (o SamplingRuleUpdateOutput) ToSamplingRuleUpdateOutput() SamplingRuleUpdateOutput

func (SamplingRuleUpdateOutput) ToSamplingRuleUpdateOutputWithContext added in v0.2.0

func (o SamplingRuleUpdateOutput) ToSamplingRuleUpdateOutputWithContext(ctx context.Context) SamplingRuleUpdateOutput

func (SamplingRuleUpdateOutput) ToSamplingRuleUpdatePtrOutput added in v0.2.0

func (o SamplingRuleUpdateOutput) ToSamplingRuleUpdatePtrOutput() SamplingRuleUpdatePtrOutput

func (SamplingRuleUpdateOutput) ToSamplingRuleUpdatePtrOutputWithContext added in v0.2.0

func (o SamplingRuleUpdateOutput) ToSamplingRuleUpdatePtrOutputWithContext(ctx context.Context) SamplingRuleUpdatePtrOutput

func (SamplingRuleUpdateOutput) UrlPath added in v0.72.0

Matches the path from a request URL.

type SamplingRuleUpdatePtrInput added in v0.2.0

type SamplingRuleUpdatePtrInput interface {
	pulumi.Input

	ToSamplingRuleUpdatePtrOutput() SamplingRuleUpdatePtrOutput
	ToSamplingRuleUpdatePtrOutputWithContext(context.Context) SamplingRuleUpdatePtrOutput
}

SamplingRuleUpdatePtrInput is an input type that accepts SamplingRuleUpdateArgs, SamplingRuleUpdatePtr and SamplingRuleUpdatePtrOutput values. You can construct a concrete instance of `SamplingRuleUpdatePtrInput` via:

        SamplingRuleUpdateArgs{...}

or:

        nil

func SamplingRuleUpdatePtr added in v0.2.0

func SamplingRuleUpdatePtr(v *SamplingRuleUpdateArgs) SamplingRuleUpdatePtrInput

type SamplingRuleUpdatePtrOutput added in v0.2.0

type SamplingRuleUpdatePtrOutput struct{ *pulumi.OutputState }

func (SamplingRuleUpdatePtrOutput) Attributes added in v0.2.0

Matches attributes derived from the request.

func (SamplingRuleUpdatePtrOutput) Elem added in v0.2.0

func (SamplingRuleUpdatePtrOutput) ElementType added in v0.2.0

func (SamplingRuleUpdatePtrOutput) FixedRate added in v0.2.0

The percentage of matching requests to instrument, after the reservoir is exhausted.

func (SamplingRuleUpdatePtrOutput) Host added in v0.2.0

Matches the hostname from a request URL.

func (SamplingRuleUpdatePtrOutput) HttpMethod added in v0.72.0

Matches the HTTP method from a request URL.

func (SamplingRuleUpdatePtrOutput) Priority added in v0.2.0

The priority of the sampling rule.

func (SamplingRuleUpdatePtrOutput) ReservoirSize added in v0.2.0

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 (SamplingRuleUpdatePtrOutput) ResourceArn added in v0.72.0

Matches the ARN of the AWS resource on which the service runs.

func (SamplingRuleUpdatePtrOutput) RuleArn added in v0.72.0

func (SamplingRuleUpdatePtrOutput) RuleName added in v0.2.0

func (SamplingRuleUpdatePtrOutput) ServiceName added in v0.2.0

Matches the name that the service uses to identify itself in segments.

func (SamplingRuleUpdatePtrOutput) ServiceType added in v0.2.0

Matches the origin that the service uses to identify its type in segments.

func (SamplingRuleUpdatePtrOutput) ToSamplingRuleUpdatePtrOutput added in v0.2.0

func (o SamplingRuleUpdatePtrOutput) ToSamplingRuleUpdatePtrOutput() SamplingRuleUpdatePtrOutput

func (SamplingRuleUpdatePtrOutput) ToSamplingRuleUpdatePtrOutputWithContext added in v0.2.0

func (o SamplingRuleUpdatePtrOutput) ToSamplingRuleUpdatePtrOutputWithContext(ctx context.Context) SamplingRuleUpdatePtrOutput

func (SamplingRuleUpdatePtrOutput) UrlPath added in v0.72.0

Matches the path from a request URL.

Jump to

Keyboard shortcuts

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