devopsguru

package
v6.28.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventSourcesConfig

type EventSourcesConfig struct {
	pulumi.CustomResourceState

	// Configuration information about the integration of DevOps Guru as the Consumer via EventBridge with another AWS Service. See `eventSources` below.
	EventSources EventSourcesConfigEventSourceArrayOutput `pulumi:"eventSources"`
}

## Example Usage

### Basic Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/devopsguru"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := devopsguru.NewEventSourcesConfig(ctx, "example", &devopsguru.EventSourcesConfigArgs{
			EventSources: devopsguru.EventSourcesConfigEventSourceArray{
				&devopsguru.EventSourcesConfigEventSourceArgs{
					AmazonCodeGuruProfilers: devopsguru.EventSourcesConfigEventSourceAmazonCodeGuruProfilerArray{
						&devopsguru.EventSourcesConfigEventSourceAmazonCodeGuruProfilerArgs{
							Status: pulumi.String("ENABLED"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import DevOps Guru Event Sources Config using the `id`. For example:

```sh $ pulumi import aws:devopsguru/eventSourcesConfig:EventSourcesConfig example us-east-1 ```

func GetEventSourcesConfig

func GetEventSourcesConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EventSourcesConfigState, opts ...pulumi.ResourceOption) (*EventSourcesConfig, error)

GetEventSourcesConfig gets an existing EventSourcesConfig 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 NewEventSourcesConfig

func NewEventSourcesConfig(ctx *pulumi.Context,
	name string, args *EventSourcesConfigArgs, opts ...pulumi.ResourceOption) (*EventSourcesConfig, error)

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

func (*EventSourcesConfig) ElementType

func (*EventSourcesConfig) ElementType() reflect.Type

func (*EventSourcesConfig) ToEventSourcesConfigOutput

func (i *EventSourcesConfig) ToEventSourcesConfigOutput() EventSourcesConfigOutput

func (*EventSourcesConfig) ToEventSourcesConfigOutputWithContext

func (i *EventSourcesConfig) ToEventSourcesConfigOutputWithContext(ctx context.Context) EventSourcesConfigOutput

type EventSourcesConfigArgs

type EventSourcesConfigArgs struct {
	// Configuration information about the integration of DevOps Guru as the Consumer via EventBridge with another AWS Service. See `eventSources` below.
	EventSources EventSourcesConfigEventSourceArrayInput
}

The set of arguments for constructing a EventSourcesConfig resource.

func (EventSourcesConfigArgs) ElementType

func (EventSourcesConfigArgs) ElementType() reflect.Type

type EventSourcesConfigArray

type EventSourcesConfigArray []EventSourcesConfigInput

func (EventSourcesConfigArray) ElementType

func (EventSourcesConfigArray) ElementType() reflect.Type

func (EventSourcesConfigArray) ToEventSourcesConfigArrayOutput

func (i EventSourcesConfigArray) ToEventSourcesConfigArrayOutput() EventSourcesConfigArrayOutput

func (EventSourcesConfigArray) ToEventSourcesConfigArrayOutputWithContext

func (i EventSourcesConfigArray) ToEventSourcesConfigArrayOutputWithContext(ctx context.Context) EventSourcesConfigArrayOutput

type EventSourcesConfigArrayInput

type EventSourcesConfigArrayInput interface {
	pulumi.Input

	ToEventSourcesConfigArrayOutput() EventSourcesConfigArrayOutput
	ToEventSourcesConfigArrayOutputWithContext(context.Context) EventSourcesConfigArrayOutput
}

EventSourcesConfigArrayInput is an input type that accepts EventSourcesConfigArray and EventSourcesConfigArrayOutput values. You can construct a concrete instance of `EventSourcesConfigArrayInput` via:

EventSourcesConfigArray{ EventSourcesConfigArgs{...} }

type EventSourcesConfigArrayOutput

type EventSourcesConfigArrayOutput struct{ *pulumi.OutputState }

func (EventSourcesConfigArrayOutput) ElementType

func (EventSourcesConfigArrayOutput) Index

func (EventSourcesConfigArrayOutput) ToEventSourcesConfigArrayOutput

func (o EventSourcesConfigArrayOutput) ToEventSourcesConfigArrayOutput() EventSourcesConfigArrayOutput

func (EventSourcesConfigArrayOutput) ToEventSourcesConfigArrayOutputWithContext

func (o EventSourcesConfigArrayOutput) ToEventSourcesConfigArrayOutputWithContext(ctx context.Context) EventSourcesConfigArrayOutput

type EventSourcesConfigEventSource

type EventSourcesConfigEventSource struct {
	// Stores whether DevOps Guru is configured to consume recommendations which are generated from AWS CodeGuru Profiler. See `amazonCodeGuruProfiler` below.
	AmazonCodeGuruProfilers []EventSourcesConfigEventSourceAmazonCodeGuruProfiler `pulumi:"amazonCodeGuruProfilers"`
}

type EventSourcesConfigEventSourceAmazonCodeGuruProfiler

type EventSourcesConfigEventSourceAmazonCodeGuruProfiler struct {
	// Status of the CodeGuru Profiler integration. Valid values are `ENABLED` and `DISABLED`.
	Status string `pulumi:"status"`
}

type EventSourcesConfigEventSourceAmazonCodeGuruProfilerArgs

type EventSourcesConfigEventSourceAmazonCodeGuruProfilerArgs struct {
	// Status of the CodeGuru Profiler integration. Valid values are `ENABLED` and `DISABLED`.
	Status pulumi.StringInput `pulumi:"status"`
}

func (EventSourcesConfigEventSourceAmazonCodeGuruProfilerArgs) ElementType

func (EventSourcesConfigEventSourceAmazonCodeGuruProfilerArgs) ToEventSourcesConfigEventSourceAmazonCodeGuruProfilerOutput

func (EventSourcesConfigEventSourceAmazonCodeGuruProfilerArgs) ToEventSourcesConfigEventSourceAmazonCodeGuruProfilerOutputWithContext

func (i EventSourcesConfigEventSourceAmazonCodeGuruProfilerArgs) ToEventSourcesConfigEventSourceAmazonCodeGuruProfilerOutputWithContext(ctx context.Context) EventSourcesConfigEventSourceAmazonCodeGuruProfilerOutput

type EventSourcesConfigEventSourceAmazonCodeGuruProfilerArray

type EventSourcesConfigEventSourceAmazonCodeGuruProfilerArray []EventSourcesConfigEventSourceAmazonCodeGuruProfilerInput

func (EventSourcesConfigEventSourceAmazonCodeGuruProfilerArray) ElementType

func (EventSourcesConfigEventSourceAmazonCodeGuruProfilerArray) ToEventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayOutput

func (i EventSourcesConfigEventSourceAmazonCodeGuruProfilerArray) ToEventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayOutput() EventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayOutput

func (EventSourcesConfigEventSourceAmazonCodeGuruProfilerArray) ToEventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayOutputWithContext

func (i EventSourcesConfigEventSourceAmazonCodeGuruProfilerArray) ToEventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayOutputWithContext(ctx context.Context) EventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayOutput

type EventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayInput

type EventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayInput interface {
	pulumi.Input

	ToEventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayOutput() EventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayOutput
	ToEventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayOutputWithContext(context.Context) EventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayOutput
}

EventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayInput is an input type that accepts EventSourcesConfigEventSourceAmazonCodeGuruProfilerArray and EventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayOutput values. You can construct a concrete instance of `EventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayInput` via:

EventSourcesConfigEventSourceAmazonCodeGuruProfilerArray{ EventSourcesConfigEventSourceAmazonCodeGuruProfilerArgs{...} }

type EventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayOutput

type EventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayOutput struct{ *pulumi.OutputState }

func (EventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayOutput) ElementType

func (EventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayOutput) Index

func (EventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayOutput) ToEventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayOutput

func (EventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayOutput) ToEventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayOutputWithContext

func (o EventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayOutput) ToEventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayOutputWithContext(ctx context.Context) EventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayOutput

type EventSourcesConfigEventSourceAmazonCodeGuruProfilerInput

type EventSourcesConfigEventSourceAmazonCodeGuruProfilerInput interface {
	pulumi.Input

	ToEventSourcesConfigEventSourceAmazonCodeGuruProfilerOutput() EventSourcesConfigEventSourceAmazonCodeGuruProfilerOutput
	ToEventSourcesConfigEventSourceAmazonCodeGuruProfilerOutputWithContext(context.Context) EventSourcesConfigEventSourceAmazonCodeGuruProfilerOutput
}

EventSourcesConfigEventSourceAmazonCodeGuruProfilerInput is an input type that accepts EventSourcesConfigEventSourceAmazonCodeGuruProfilerArgs and EventSourcesConfigEventSourceAmazonCodeGuruProfilerOutput values. You can construct a concrete instance of `EventSourcesConfigEventSourceAmazonCodeGuruProfilerInput` via:

EventSourcesConfigEventSourceAmazonCodeGuruProfilerArgs{...}

type EventSourcesConfigEventSourceAmazonCodeGuruProfilerOutput

type EventSourcesConfigEventSourceAmazonCodeGuruProfilerOutput struct{ *pulumi.OutputState }

func (EventSourcesConfigEventSourceAmazonCodeGuruProfilerOutput) ElementType

func (EventSourcesConfigEventSourceAmazonCodeGuruProfilerOutput) Status

Status of the CodeGuru Profiler integration. Valid values are `ENABLED` and `DISABLED`.

func (EventSourcesConfigEventSourceAmazonCodeGuruProfilerOutput) ToEventSourcesConfigEventSourceAmazonCodeGuruProfilerOutput

func (EventSourcesConfigEventSourceAmazonCodeGuruProfilerOutput) ToEventSourcesConfigEventSourceAmazonCodeGuruProfilerOutputWithContext

func (o EventSourcesConfigEventSourceAmazonCodeGuruProfilerOutput) ToEventSourcesConfigEventSourceAmazonCodeGuruProfilerOutputWithContext(ctx context.Context) EventSourcesConfigEventSourceAmazonCodeGuruProfilerOutput

type EventSourcesConfigEventSourceArgs

type EventSourcesConfigEventSourceArgs struct {
	// Stores whether DevOps Guru is configured to consume recommendations which are generated from AWS CodeGuru Profiler. See `amazonCodeGuruProfiler` below.
	AmazonCodeGuruProfilers EventSourcesConfigEventSourceAmazonCodeGuruProfilerArrayInput `pulumi:"amazonCodeGuruProfilers"`
}

func (EventSourcesConfigEventSourceArgs) ElementType

func (EventSourcesConfigEventSourceArgs) ToEventSourcesConfigEventSourceOutput

func (i EventSourcesConfigEventSourceArgs) ToEventSourcesConfigEventSourceOutput() EventSourcesConfigEventSourceOutput

func (EventSourcesConfigEventSourceArgs) ToEventSourcesConfigEventSourceOutputWithContext

func (i EventSourcesConfigEventSourceArgs) ToEventSourcesConfigEventSourceOutputWithContext(ctx context.Context) EventSourcesConfigEventSourceOutput

type EventSourcesConfigEventSourceArray

type EventSourcesConfigEventSourceArray []EventSourcesConfigEventSourceInput

func (EventSourcesConfigEventSourceArray) ElementType

func (EventSourcesConfigEventSourceArray) ToEventSourcesConfigEventSourceArrayOutput

func (i EventSourcesConfigEventSourceArray) ToEventSourcesConfigEventSourceArrayOutput() EventSourcesConfigEventSourceArrayOutput

func (EventSourcesConfigEventSourceArray) ToEventSourcesConfigEventSourceArrayOutputWithContext

func (i EventSourcesConfigEventSourceArray) ToEventSourcesConfigEventSourceArrayOutputWithContext(ctx context.Context) EventSourcesConfigEventSourceArrayOutput

type EventSourcesConfigEventSourceArrayInput

type EventSourcesConfigEventSourceArrayInput interface {
	pulumi.Input

	ToEventSourcesConfigEventSourceArrayOutput() EventSourcesConfigEventSourceArrayOutput
	ToEventSourcesConfigEventSourceArrayOutputWithContext(context.Context) EventSourcesConfigEventSourceArrayOutput
}

EventSourcesConfigEventSourceArrayInput is an input type that accepts EventSourcesConfigEventSourceArray and EventSourcesConfigEventSourceArrayOutput values. You can construct a concrete instance of `EventSourcesConfigEventSourceArrayInput` via:

EventSourcesConfigEventSourceArray{ EventSourcesConfigEventSourceArgs{...} }

type EventSourcesConfigEventSourceArrayOutput

type EventSourcesConfigEventSourceArrayOutput struct{ *pulumi.OutputState }

func (EventSourcesConfigEventSourceArrayOutput) ElementType

func (EventSourcesConfigEventSourceArrayOutput) Index

func (EventSourcesConfigEventSourceArrayOutput) ToEventSourcesConfigEventSourceArrayOutput

func (o EventSourcesConfigEventSourceArrayOutput) ToEventSourcesConfigEventSourceArrayOutput() EventSourcesConfigEventSourceArrayOutput

func (EventSourcesConfigEventSourceArrayOutput) ToEventSourcesConfigEventSourceArrayOutputWithContext

func (o EventSourcesConfigEventSourceArrayOutput) ToEventSourcesConfigEventSourceArrayOutputWithContext(ctx context.Context) EventSourcesConfigEventSourceArrayOutput

type EventSourcesConfigEventSourceInput

type EventSourcesConfigEventSourceInput interface {
	pulumi.Input

	ToEventSourcesConfigEventSourceOutput() EventSourcesConfigEventSourceOutput
	ToEventSourcesConfigEventSourceOutputWithContext(context.Context) EventSourcesConfigEventSourceOutput
}

EventSourcesConfigEventSourceInput is an input type that accepts EventSourcesConfigEventSourceArgs and EventSourcesConfigEventSourceOutput values. You can construct a concrete instance of `EventSourcesConfigEventSourceInput` via:

EventSourcesConfigEventSourceArgs{...}

type EventSourcesConfigEventSourceOutput

type EventSourcesConfigEventSourceOutput struct{ *pulumi.OutputState }

func (EventSourcesConfigEventSourceOutput) AmazonCodeGuruProfilers

Stores whether DevOps Guru is configured to consume recommendations which are generated from AWS CodeGuru Profiler. See `amazonCodeGuruProfiler` below.

func (EventSourcesConfigEventSourceOutput) ElementType

func (EventSourcesConfigEventSourceOutput) ToEventSourcesConfigEventSourceOutput

func (o EventSourcesConfigEventSourceOutput) ToEventSourcesConfigEventSourceOutput() EventSourcesConfigEventSourceOutput

func (EventSourcesConfigEventSourceOutput) ToEventSourcesConfigEventSourceOutputWithContext

func (o EventSourcesConfigEventSourceOutput) ToEventSourcesConfigEventSourceOutputWithContext(ctx context.Context) EventSourcesConfigEventSourceOutput

type EventSourcesConfigInput

type EventSourcesConfigInput interface {
	pulumi.Input

	ToEventSourcesConfigOutput() EventSourcesConfigOutput
	ToEventSourcesConfigOutputWithContext(ctx context.Context) EventSourcesConfigOutput
}

type EventSourcesConfigMap

type EventSourcesConfigMap map[string]EventSourcesConfigInput

func (EventSourcesConfigMap) ElementType

func (EventSourcesConfigMap) ElementType() reflect.Type

func (EventSourcesConfigMap) ToEventSourcesConfigMapOutput

func (i EventSourcesConfigMap) ToEventSourcesConfigMapOutput() EventSourcesConfigMapOutput

func (EventSourcesConfigMap) ToEventSourcesConfigMapOutputWithContext

func (i EventSourcesConfigMap) ToEventSourcesConfigMapOutputWithContext(ctx context.Context) EventSourcesConfigMapOutput

type EventSourcesConfigMapInput

type EventSourcesConfigMapInput interface {
	pulumi.Input

	ToEventSourcesConfigMapOutput() EventSourcesConfigMapOutput
	ToEventSourcesConfigMapOutputWithContext(context.Context) EventSourcesConfigMapOutput
}

EventSourcesConfigMapInput is an input type that accepts EventSourcesConfigMap and EventSourcesConfigMapOutput values. You can construct a concrete instance of `EventSourcesConfigMapInput` via:

EventSourcesConfigMap{ "key": EventSourcesConfigArgs{...} }

type EventSourcesConfigMapOutput

type EventSourcesConfigMapOutput struct{ *pulumi.OutputState }

func (EventSourcesConfigMapOutput) ElementType

func (EventSourcesConfigMapOutput) MapIndex

func (EventSourcesConfigMapOutput) ToEventSourcesConfigMapOutput

func (o EventSourcesConfigMapOutput) ToEventSourcesConfigMapOutput() EventSourcesConfigMapOutput

func (EventSourcesConfigMapOutput) ToEventSourcesConfigMapOutputWithContext

func (o EventSourcesConfigMapOutput) ToEventSourcesConfigMapOutputWithContext(ctx context.Context) EventSourcesConfigMapOutput

type EventSourcesConfigOutput

type EventSourcesConfigOutput struct{ *pulumi.OutputState }

func (EventSourcesConfigOutput) ElementType

func (EventSourcesConfigOutput) ElementType() reflect.Type

func (EventSourcesConfigOutput) EventSources

Configuration information about the integration of DevOps Guru as the Consumer via EventBridge with another AWS Service. See `eventSources` below.

func (EventSourcesConfigOutput) ToEventSourcesConfigOutput

func (o EventSourcesConfigOutput) ToEventSourcesConfigOutput() EventSourcesConfigOutput

func (EventSourcesConfigOutput) ToEventSourcesConfigOutputWithContext

func (o EventSourcesConfigOutput) ToEventSourcesConfigOutputWithContext(ctx context.Context) EventSourcesConfigOutput

type EventSourcesConfigState

type EventSourcesConfigState struct {
	// Configuration information about the integration of DevOps Guru as the Consumer via EventBridge with another AWS Service. See `eventSources` below.
	EventSources EventSourcesConfigEventSourceArrayInput
}

func (EventSourcesConfigState) ElementType

func (EventSourcesConfigState) ElementType() reflect.Type

type ResourceCollection

type ResourceCollection struct {
	pulumi.CustomResourceState

	// A collection of AWS CloudFormation stacks. See `cloudformation` below for additional details.
	Cloudformation ResourceCollectionCloudformationPtrOutput `pulumi:"cloudformation"`
	// AWS tags used to filter the resources in the resource collection See `tags` below for additional details.
	Tags ResourceCollectionTagsPtrOutput `pulumi:"tags"`
	// Type of AWS resource collection to create. Valid values are `AWS_CLOUD_FORMATION`, `AWS_SERVICE`, and `AWS_TAGS`.
	//
	// The following arguments are optional:
	Type pulumi.StringOutput `pulumi:"type"`
}

Resource for managing an AWS DevOps Guru Resource Collection.

> Only one type of resource collection (All Account Resources, CloudFormation, or Tags) can be enabled in an account at a time. To avoid persistent differences, this resource should be defined only once.

## Example Usage

### All Account Resources

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/devopsguru"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := devopsguru.NewResourceCollection(ctx, "example", &devopsguru.ResourceCollectionArgs{
			Type: pulumi.String("AWS_SERVICE"),
			Cloudformation: &devopsguru.ResourceCollectionCloudformationArgs{
				StackNames: pulumi.StringArray{
					pulumi.String("*"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### CloudFormation Stacks

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/devopsguru"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := devopsguru.NewResourceCollection(ctx, "example", &devopsguru.ResourceCollectionArgs{
			Type: pulumi.String("AWS_CLOUD_FORMATION"),
			Cloudformation: &devopsguru.ResourceCollectionCloudformationArgs{
				StackNames: pulumi.StringArray{
					pulumi.String("ExampleStack"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Tags

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/devopsguru"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := devopsguru.NewResourceCollection(ctx, "example", &devopsguru.ResourceCollectionArgs{
			Type: pulumi.String("AWS_TAGS"),
			Tags: &devopsguru.ResourceCollectionTagsArgs{
				AppBoundaryKey: pulumi.String("DevOps-Guru-Example"),
				TagValues: pulumi.StringArray{
					pulumi.String("Example-Value"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Tags All Resources

To analyze all resources with the `appBoundaryKey` regardless of the corresponding tag value, set `tagValues` to `["*"]`.

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/devopsguru"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := devopsguru.NewResourceCollection(ctx, "example", &devopsguru.ResourceCollectionArgs{
			Type: pulumi.String("AWS_TAGS"),
			Tags: &devopsguru.ResourceCollectionTagsArgs{
				AppBoundaryKey: pulumi.String("DevOps-Guru-Example"),
				TagValues: pulumi.StringArray{
					pulumi.String("*"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import DevOps Guru Resource Collection using the `id`. For example:

```sh $ pulumi import aws:devopsguru/resourceCollection:ResourceCollection example AWS_CLOUD_FORMATION ```

func GetResourceCollection

func GetResourceCollection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResourceCollectionState, opts ...pulumi.ResourceOption) (*ResourceCollection, error)

GetResourceCollection gets an existing ResourceCollection 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 NewResourceCollection

func NewResourceCollection(ctx *pulumi.Context,
	name string, args *ResourceCollectionArgs, opts ...pulumi.ResourceOption) (*ResourceCollection, error)

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

func (*ResourceCollection) ElementType

func (*ResourceCollection) ElementType() reflect.Type

func (*ResourceCollection) ToResourceCollectionOutput

func (i *ResourceCollection) ToResourceCollectionOutput() ResourceCollectionOutput

func (*ResourceCollection) ToResourceCollectionOutputWithContext

func (i *ResourceCollection) ToResourceCollectionOutputWithContext(ctx context.Context) ResourceCollectionOutput

type ResourceCollectionArgs

type ResourceCollectionArgs struct {
	// A collection of AWS CloudFormation stacks. See `cloudformation` below for additional details.
	Cloudformation ResourceCollectionCloudformationPtrInput
	// AWS tags used to filter the resources in the resource collection See `tags` below for additional details.
	Tags ResourceCollectionTagsPtrInput
	// Type of AWS resource collection to create. Valid values are `AWS_CLOUD_FORMATION`, `AWS_SERVICE`, and `AWS_TAGS`.
	//
	// The following arguments are optional:
	Type pulumi.StringInput
}

The set of arguments for constructing a ResourceCollection resource.

func (ResourceCollectionArgs) ElementType

func (ResourceCollectionArgs) ElementType() reflect.Type

type ResourceCollectionArray

type ResourceCollectionArray []ResourceCollectionInput

func (ResourceCollectionArray) ElementType

func (ResourceCollectionArray) ElementType() reflect.Type

func (ResourceCollectionArray) ToResourceCollectionArrayOutput

func (i ResourceCollectionArray) ToResourceCollectionArrayOutput() ResourceCollectionArrayOutput

func (ResourceCollectionArray) ToResourceCollectionArrayOutputWithContext

func (i ResourceCollectionArray) ToResourceCollectionArrayOutputWithContext(ctx context.Context) ResourceCollectionArrayOutput

type ResourceCollectionArrayInput

type ResourceCollectionArrayInput interface {
	pulumi.Input

	ToResourceCollectionArrayOutput() ResourceCollectionArrayOutput
	ToResourceCollectionArrayOutputWithContext(context.Context) ResourceCollectionArrayOutput
}

ResourceCollectionArrayInput is an input type that accepts ResourceCollectionArray and ResourceCollectionArrayOutput values. You can construct a concrete instance of `ResourceCollectionArrayInput` via:

ResourceCollectionArray{ ResourceCollectionArgs{...} }

type ResourceCollectionArrayOutput

type ResourceCollectionArrayOutput struct{ *pulumi.OutputState }

func (ResourceCollectionArrayOutput) ElementType

func (ResourceCollectionArrayOutput) Index

func (ResourceCollectionArrayOutput) ToResourceCollectionArrayOutput

func (o ResourceCollectionArrayOutput) ToResourceCollectionArrayOutput() ResourceCollectionArrayOutput

func (ResourceCollectionArrayOutput) ToResourceCollectionArrayOutputWithContext

func (o ResourceCollectionArrayOutput) ToResourceCollectionArrayOutputWithContext(ctx context.Context) ResourceCollectionArrayOutput

type ResourceCollectionCloudformation

type ResourceCollectionCloudformation struct {
	// Array of the names of the AWS CloudFormation stacks. If `type` is `AWS_SERVICE` (all acccount resources) this array should be a single item containing a wildcard (`"*"`).
	StackNames []string `pulumi:"stackNames"`
}

type ResourceCollectionCloudformationArgs

type ResourceCollectionCloudformationArgs struct {
	// Array of the names of the AWS CloudFormation stacks. If `type` is `AWS_SERVICE` (all acccount resources) this array should be a single item containing a wildcard (`"*"`).
	StackNames pulumi.StringArrayInput `pulumi:"stackNames"`
}

func (ResourceCollectionCloudformationArgs) ElementType

func (ResourceCollectionCloudformationArgs) ToResourceCollectionCloudformationOutput

func (i ResourceCollectionCloudformationArgs) ToResourceCollectionCloudformationOutput() ResourceCollectionCloudformationOutput

func (ResourceCollectionCloudformationArgs) ToResourceCollectionCloudformationOutputWithContext

func (i ResourceCollectionCloudformationArgs) ToResourceCollectionCloudformationOutputWithContext(ctx context.Context) ResourceCollectionCloudformationOutput

func (ResourceCollectionCloudformationArgs) ToResourceCollectionCloudformationPtrOutput

func (i ResourceCollectionCloudformationArgs) ToResourceCollectionCloudformationPtrOutput() ResourceCollectionCloudformationPtrOutput

func (ResourceCollectionCloudformationArgs) ToResourceCollectionCloudformationPtrOutputWithContext

func (i ResourceCollectionCloudformationArgs) ToResourceCollectionCloudformationPtrOutputWithContext(ctx context.Context) ResourceCollectionCloudformationPtrOutput

type ResourceCollectionCloudformationInput

type ResourceCollectionCloudformationInput interface {
	pulumi.Input

	ToResourceCollectionCloudformationOutput() ResourceCollectionCloudformationOutput
	ToResourceCollectionCloudformationOutputWithContext(context.Context) ResourceCollectionCloudformationOutput
}

ResourceCollectionCloudformationInput is an input type that accepts ResourceCollectionCloudformationArgs and ResourceCollectionCloudformationOutput values. You can construct a concrete instance of `ResourceCollectionCloudformationInput` via:

ResourceCollectionCloudformationArgs{...}

type ResourceCollectionCloudformationOutput

type ResourceCollectionCloudformationOutput struct{ *pulumi.OutputState }

func (ResourceCollectionCloudformationOutput) ElementType

func (ResourceCollectionCloudformationOutput) StackNames

Array of the names of the AWS CloudFormation stacks. If `type` is `AWS_SERVICE` (all acccount resources) this array should be a single item containing a wildcard (`"*"`).

func (ResourceCollectionCloudformationOutput) ToResourceCollectionCloudformationOutput

func (o ResourceCollectionCloudformationOutput) ToResourceCollectionCloudformationOutput() ResourceCollectionCloudformationOutput

func (ResourceCollectionCloudformationOutput) ToResourceCollectionCloudformationOutputWithContext

func (o ResourceCollectionCloudformationOutput) ToResourceCollectionCloudformationOutputWithContext(ctx context.Context) ResourceCollectionCloudformationOutput

func (ResourceCollectionCloudformationOutput) ToResourceCollectionCloudformationPtrOutput

func (o ResourceCollectionCloudformationOutput) ToResourceCollectionCloudformationPtrOutput() ResourceCollectionCloudformationPtrOutput

func (ResourceCollectionCloudformationOutput) ToResourceCollectionCloudformationPtrOutputWithContext

func (o ResourceCollectionCloudformationOutput) ToResourceCollectionCloudformationPtrOutputWithContext(ctx context.Context) ResourceCollectionCloudformationPtrOutput

type ResourceCollectionCloudformationPtrInput

type ResourceCollectionCloudformationPtrInput interface {
	pulumi.Input

	ToResourceCollectionCloudformationPtrOutput() ResourceCollectionCloudformationPtrOutput
	ToResourceCollectionCloudformationPtrOutputWithContext(context.Context) ResourceCollectionCloudformationPtrOutput
}

ResourceCollectionCloudformationPtrInput is an input type that accepts ResourceCollectionCloudformationArgs, ResourceCollectionCloudformationPtr and ResourceCollectionCloudformationPtrOutput values. You can construct a concrete instance of `ResourceCollectionCloudformationPtrInput` via:

        ResourceCollectionCloudformationArgs{...}

or:

        nil

type ResourceCollectionCloudformationPtrOutput

type ResourceCollectionCloudformationPtrOutput struct{ *pulumi.OutputState }

func (ResourceCollectionCloudformationPtrOutput) Elem

func (ResourceCollectionCloudformationPtrOutput) ElementType

func (ResourceCollectionCloudformationPtrOutput) StackNames

Array of the names of the AWS CloudFormation stacks. If `type` is `AWS_SERVICE` (all acccount resources) this array should be a single item containing a wildcard (`"*"`).

func (ResourceCollectionCloudformationPtrOutput) ToResourceCollectionCloudformationPtrOutput

func (o ResourceCollectionCloudformationPtrOutput) ToResourceCollectionCloudformationPtrOutput() ResourceCollectionCloudformationPtrOutput

func (ResourceCollectionCloudformationPtrOutput) ToResourceCollectionCloudformationPtrOutputWithContext

func (o ResourceCollectionCloudformationPtrOutput) ToResourceCollectionCloudformationPtrOutputWithContext(ctx context.Context) ResourceCollectionCloudformationPtrOutput

type ResourceCollectionInput

type ResourceCollectionInput interface {
	pulumi.Input

	ToResourceCollectionOutput() ResourceCollectionOutput
	ToResourceCollectionOutputWithContext(ctx context.Context) ResourceCollectionOutput
}

type ResourceCollectionMap

type ResourceCollectionMap map[string]ResourceCollectionInput

func (ResourceCollectionMap) ElementType

func (ResourceCollectionMap) ElementType() reflect.Type

func (ResourceCollectionMap) ToResourceCollectionMapOutput

func (i ResourceCollectionMap) ToResourceCollectionMapOutput() ResourceCollectionMapOutput

func (ResourceCollectionMap) ToResourceCollectionMapOutputWithContext

func (i ResourceCollectionMap) ToResourceCollectionMapOutputWithContext(ctx context.Context) ResourceCollectionMapOutput

type ResourceCollectionMapInput

type ResourceCollectionMapInput interface {
	pulumi.Input

	ToResourceCollectionMapOutput() ResourceCollectionMapOutput
	ToResourceCollectionMapOutputWithContext(context.Context) ResourceCollectionMapOutput
}

ResourceCollectionMapInput is an input type that accepts ResourceCollectionMap and ResourceCollectionMapOutput values. You can construct a concrete instance of `ResourceCollectionMapInput` via:

ResourceCollectionMap{ "key": ResourceCollectionArgs{...} }

type ResourceCollectionMapOutput

type ResourceCollectionMapOutput struct{ *pulumi.OutputState }

func (ResourceCollectionMapOutput) ElementType

func (ResourceCollectionMapOutput) MapIndex

func (ResourceCollectionMapOutput) ToResourceCollectionMapOutput

func (o ResourceCollectionMapOutput) ToResourceCollectionMapOutput() ResourceCollectionMapOutput

func (ResourceCollectionMapOutput) ToResourceCollectionMapOutputWithContext

func (o ResourceCollectionMapOutput) ToResourceCollectionMapOutputWithContext(ctx context.Context) ResourceCollectionMapOutput

type ResourceCollectionOutput

type ResourceCollectionOutput struct{ *pulumi.OutputState }

func (ResourceCollectionOutput) Cloudformation

A collection of AWS CloudFormation stacks. See `cloudformation` below for additional details.

func (ResourceCollectionOutput) ElementType

func (ResourceCollectionOutput) ElementType() reflect.Type

func (ResourceCollectionOutput) Tags

AWS tags used to filter the resources in the resource collection See `tags` below for additional details.

func (ResourceCollectionOutput) ToResourceCollectionOutput

func (o ResourceCollectionOutput) ToResourceCollectionOutput() ResourceCollectionOutput

func (ResourceCollectionOutput) ToResourceCollectionOutputWithContext

func (o ResourceCollectionOutput) ToResourceCollectionOutputWithContext(ctx context.Context) ResourceCollectionOutput

func (ResourceCollectionOutput) Type

Type of AWS resource collection to create. Valid values are `AWS_CLOUD_FORMATION`, `AWS_SERVICE`, and `AWS_TAGS`.

The following arguments are optional:

type ResourceCollectionState

type ResourceCollectionState struct {
	// A collection of AWS CloudFormation stacks. See `cloudformation` below for additional details.
	Cloudformation ResourceCollectionCloudformationPtrInput
	// AWS tags used to filter the resources in the resource collection See `tags` below for additional details.
	Tags ResourceCollectionTagsPtrInput
	// Type of AWS resource collection to create. Valid values are `AWS_CLOUD_FORMATION`, `AWS_SERVICE`, and `AWS_TAGS`.
	//
	// The following arguments are optional:
	Type pulumi.StringPtrInput
}

func (ResourceCollectionState) ElementType

func (ResourceCollectionState) ElementType() reflect.Type

type ResourceCollectionTags

type ResourceCollectionTags struct {
	// An AWS tag key that is used to identify the AWS resources that DevOps Guru analyzes. All AWS resources in your account and Region tagged with this key make up your DevOps Guru application and analysis boundary. The key must begin with the prefix `DevOps-Guru-`. Any casing can be used for the prefix, but the associated tags __must use the same casing__ in their tag key.
	AppBoundaryKey string `pulumi:"appBoundaryKey"`
	// Array of tag values. These can be used to further filter for specific resources within the application boundary. To analyze all resources tagged with the `appBoundaryKey` regardless of the corresponding tag value, this array should be a single item containing a wildcard (`"*"`).
	TagValues []string `pulumi:"tagValues"`
}

type ResourceCollectionTagsArgs

type ResourceCollectionTagsArgs struct {
	// An AWS tag key that is used to identify the AWS resources that DevOps Guru analyzes. All AWS resources in your account and Region tagged with this key make up your DevOps Guru application and analysis boundary. The key must begin with the prefix `DevOps-Guru-`. Any casing can be used for the prefix, but the associated tags __must use the same casing__ in their tag key.
	AppBoundaryKey pulumi.StringInput `pulumi:"appBoundaryKey"`
	// Array of tag values. These can be used to further filter for specific resources within the application boundary. To analyze all resources tagged with the `appBoundaryKey` regardless of the corresponding tag value, this array should be a single item containing a wildcard (`"*"`).
	TagValues pulumi.StringArrayInput `pulumi:"tagValues"`
}

func (ResourceCollectionTagsArgs) ElementType

func (ResourceCollectionTagsArgs) ElementType() reflect.Type

func (ResourceCollectionTagsArgs) ToResourceCollectionTagsOutput

func (i ResourceCollectionTagsArgs) ToResourceCollectionTagsOutput() ResourceCollectionTagsOutput

func (ResourceCollectionTagsArgs) ToResourceCollectionTagsOutputWithContext

func (i ResourceCollectionTagsArgs) ToResourceCollectionTagsOutputWithContext(ctx context.Context) ResourceCollectionTagsOutput

func (ResourceCollectionTagsArgs) ToResourceCollectionTagsPtrOutput

func (i ResourceCollectionTagsArgs) ToResourceCollectionTagsPtrOutput() ResourceCollectionTagsPtrOutput

func (ResourceCollectionTagsArgs) ToResourceCollectionTagsPtrOutputWithContext

func (i ResourceCollectionTagsArgs) ToResourceCollectionTagsPtrOutputWithContext(ctx context.Context) ResourceCollectionTagsPtrOutput

type ResourceCollectionTagsInput

type ResourceCollectionTagsInput interface {
	pulumi.Input

	ToResourceCollectionTagsOutput() ResourceCollectionTagsOutput
	ToResourceCollectionTagsOutputWithContext(context.Context) ResourceCollectionTagsOutput
}

ResourceCollectionTagsInput is an input type that accepts ResourceCollectionTagsArgs and ResourceCollectionTagsOutput values. You can construct a concrete instance of `ResourceCollectionTagsInput` via:

ResourceCollectionTagsArgs{...}

type ResourceCollectionTagsOutput

type ResourceCollectionTagsOutput struct{ *pulumi.OutputState }

func (ResourceCollectionTagsOutput) AppBoundaryKey

An AWS tag key that is used to identify the AWS resources that DevOps Guru analyzes. All AWS resources in your account and Region tagged with this key make up your DevOps Guru application and analysis boundary. The key must begin with the prefix `DevOps-Guru-`. Any casing can be used for the prefix, but the associated tags __must use the same casing__ in their tag key.

func (ResourceCollectionTagsOutput) ElementType

func (ResourceCollectionTagsOutput) TagValues

Array of tag values. These can be used to further filter for specific resources within the application boundary. To analyze all resources tagged with the `appBoundaryKey` regardless of the corresponding tag value, this array should be a single item containing a wildcard (`"*"`).

func (ResourceCollectionTagsOutput) ToResourceCollectionTagsOutput

func (o ResourceCollectionTagsOutput) ToResourceCollectionTagsOutput() ResourceCollectionTagsOutput

func (ResourceCollectionTagsOutput) ToResourceCollectionTagsOutputWithContext

func (o ResourceCollectionTagsOutput) ToResourceCollectionTagsOutputWithContext(ctx context.Context) ResourceCollectionTagsOutput

func (ResourceCollectionTagsOutput) ToResourceCollectionTagsPtrOutput

func (o ResourceCollectionTagsOutput) ToResourceCollectionTagsPtrOutput() ResourceCollectionTagsPtrOutput

func (ResourceCollectionTagsOutput) ToResourceCollectionTagsPtrOutputWithContext

func (o ResourceCollectionTagsOutput) ToResourceCollectionTagsPtrOutputWithContext(ctx context.Context) ResourceCollectionTagsPtrOutput

type ResourceCollectionTagsPtrInput

type ResourceCollectionTagsPtrInput interface {
	pulumi.Input

	ToResourceCollectionTagsPtrOutput() ResourceCollectionTagsPtrOutput
	ToResourceCollectionTagsPtrOutputWithContext(context.Context) ResourceCollectionTagsPtrOutput
}

ResourceCollectionTagsPtrInput is an input type that accepts ResourceCollectionTagsArgs, ResourceCollectionTagsPtr and ResourceCollectionTagsPtrOutput values. You can construct a concrete instance of `ResourceCollectionTagsPtrInput` via:

        ResourceCollectionTagsArgs{...}

or:

        nil

type ResourceCollectionTagsPtrOutput

type ResourceCollectionTagsPtrOutput struct{ *pulumi.OutputState }

func (ResourceCollectionTagsPtrOutput) AppBoundaryKey

An AWS tag key that is used to identify the AWS resources that DevOps Guru analyzes. All AWS resources in your account and Region tagged with this key make up your DevOps Guru application and analysis boundary. The key must begin with the prefix `DevOps-Guru-`. Any casing can be used for the prefix, but the associated tags __must use the same casing__ in their tag key.

func (ResourceCollectionTagsPtrOutput) Elem

func (ResourceCollectionTagsPtrOutput) ElementType

func (ResourceCollectionTagsPtrOutput) TagValues

Array of tag values. These can be used to further filter for specific resources within the application boundary. To analyze all resources tagged with the `appBoundaryKey` regardless of the corresponding tag value, this array should be a single item containing a wildcard (`"*"`).

func (ResourceCollectionTagsPtrOutput) ToResourceCollectionTagsPtrOutput

func (o ResourceCollectionTagsPtrOutput) ToResourceCollectionTagsPtrOutput() ResourceCollectionTagsPtrOutput

func (ResourceCollectionTagsPtrOutput) ToResourceCollectionTagsPtrOutputWithContext

func (o ResourceCollectionTagsPtrOutput) ToResourceCollectionTagsPtrOutputWithContext(ctx context.Context) ResourceCollectionTagsPtrOutput

Jump to

Keyboard shortcuts

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