1. Packages
  2. AWS Classic
  3. API Docs
  4. devopsguru
  5. ResourceCollection

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.36.0 published on Wednesday, May 15, 2024 by Pulumi

aws.devopsguru.ResourceCollection

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.36.0 published on Wednesday, May 15, 2024 by Pulumi

    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

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.devopsguru.ResourceCollection("example", {
        type: "AWS_SERVICE",
        cloudformation: {
            stackNames: ["*"],
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.devopsguru.ResourceCollection("example",
        type="AWS_SERVICE",
        cloudformation=aws.devopsguru.ResourceCollectionCloudformationArgs(
            stack_names=["*"],
        ))
    
    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
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.DevOpsGuru.ResourceCollection("example", new()
        {
            Type = "AWS_SERVICE",
            Cloudformation = new Aws.DevOpsGuru.Inputs.ResourceCollectionCloudformationArgs
            {
                StackNames = new[]
                {
                    "*",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.devopsguru.ResourceCollection;
    import com.pulumi.aws.devopsguru.ResourceCollectionArgs;
    import com.pulumi.aws.devopsguru.inputs.ResourceCollectionCloudformationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new ResourceCollection("example", ResourceCollectionArgs.builder()        
                .type("AWS_SERVICE")
                .cloudformation(ResourceCollectionCloudformationArgs.builder()
                    .stackNames("*")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:devopsguru:ResourceCollection
        properties:
          type: AWS_SERVICE
          cloudformation:
            stackNames:
              - '*'
    

    CloudFormation Stacks

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.devopsguru.ResourceCollection("example", {
        type: "AWS_CLOUD_FORMATION",
        cloudformation: {
            stackNames: ["ExampleStack"],
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.devopsguru.ResourceCollection("example",
        type="AWS_CLOUD_FORMATION",
        cloudformation=aws.devopsguru.ResourceCollectionCloudformationArgs(
            stack_names=["ExampleStack"],
        ))
    
    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
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.DevOpsGuru.ResourceCollection("example", new()
        {
            Type = "AWS_CLOUD_FORMATION",
            Cloudformation = new Aws.DevOpsGuru.Inputs.ResourceCollectionCloudformationArgs
            {
                StackNames = new[]
                {
                    "ExampleStack",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.devopsguru.ResourceCollection;
    import com.pulumi.aws.devopsguru.ResourceCollectionArgs;
    import com.pulumi.aws.devopsguru.inputs.ResourceCollectionCloudformationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new ResourceCollection("example", ResourceCollectionArgs.builder()        
                .type("AWS_CLOUD_FORMATION")
                .cloudformation(ResourceCollectionCloudformationArgs.builder()
                    .stackNames("ExampleStack")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:devopsguru:ResourceCollection
        properties:
          type: AWS_CLOUD_FORMATION
          cloudformation:
            stackNames:
              - ExampleStack
    

    Tags

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.devopsguru.ResourceCollection("example", {
        type: "AWS_TAGS",
        tags: {
            appBoundaryKey: "DevOps-Guru-Example",
            tagValues: ["Example-Value"],
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.devopsguru.ResourceCollection("example",
        type="AWS_TAGS",
        tags=aws.devopsguru.ResourceCollectionTagsArgs(
            app_boundary_key="DevOps-Guru-Example",
            tag_values=["Example-Value"],
        ))
    
    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
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.DevOpsGuru.ResourceCollection("example", new()
        {
            Type = "AWS_TAGS",
            Tags = new Aws.DevOpsGuru.Inputs.ResourceCollectionTagsArgs
            {
                AppBoundaryKey = "DevOps-Guru-Example",
                TagValues = new[]
                {
                    "Example-Value",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.devopsguru.ResourceCollection;
    import com.pulumi.aws.devopsguru.ResourceCollectionArgs;
    import com.pulumi.aws.devopsguru.inputs.ResourceCollectionTagsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new ResourceCollection("example", ResourceCollectionArgs.builder()        
                .type("AWS_TAGS")
                .tags(ResourceCollectionTagsArgs.builder()
                    .appBoundaryKey("DevOps-Guru-Example")
                    .tagValues("Example-Value")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:devopsguru:ResourceCollection
        properties:
          type: AWS_TAGS
          tags:
            appBoundaryKey: DevOps-Guru-Example
            tagValues:
              - Example-Value
    

    Tags All Resources

    To analyze all resources with the app_boundary_key regardless of the corresponding tag value, set tag_values to ["*"].

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.devopsguru.ResourceCollection("example", {
        type: "AWS_TAGS",
        tags: {
            appBoundaryKey: "DevOps-Guru-Example",
            tagValues: ["*"],
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.devopsguru.ResourceCollection("example",
        type="AWS_TAGS",
        tags=aws.devopsguru.ResourceCollectionTagsArgs(
            app_boundary_key="DevOps-Guru-Example",
            tag_values=["*"],
        ))
    
    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
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.DevOpsGuru.ResourceCollection("example", new()
        {
            Type = "AWS_TAGS",
            Tags = new Aws.DevOpsGuru.Inputs.ResourceCollectionTagsArgs
            {
                AppBoundaryKey = "DevOps-Guru-Example",
                TagValues = new[]
                {
                    "*",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.devopsguru.ResourceCollection;
    import com.pulumi.aws.devopsguru.ResourceCollectionArgs;
    import com.pulumi.aws.devopsguru.inputs.ResourceCollectionTagsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new ResourceCollection("example", ResourceCollectionArgs.builder()        
                .type("AWS_TAGS")
                .tags(ResourceCollectionTagsArgs.builder()
                    .appBoundaryKey("DevOps-Guru-Example")
                    .tagValues("*")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:devopsguru:ResourceCollection
        properties:
          type: AWS_TAGS
          tags:
            appBoundaryKey: DevOps-Guru-Example
            tagValues:
              - '*'
    

    Create ResourceCollection Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ResourceCollection(name: string, args: ResourceCollectionArgs, opts?: CustomResourceOptions);
    @overload
    def ResourceCollection(resource_name: str,
                           args: ResourceCollectionArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def ResourceCollection(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           type: Optional[str] = None,
                           cloudformation: Optional[ResourceCollectionCloudformationArgs] = None,
                           tags: Optional[ResourceCollectionTagsArgs] = None)
    func NewResourceCollection(ctx *Context, name string, args ResourceCollectionArgs, opts ...ResourceOption) (*ResourceCollection, error)
    public ResourceCollection(string name, ResourceCollectionArgs args, CustomResourceOptions? opts = null)
    public ResourceCollection(String name, ResourceCollectionArgs args)
    public ResourceCollection(String name, ResourceCollectionArgs args, CustomResourceOptions options)
    
    type: aws:devopsguru:ResourceCollection
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ResourceCollectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ResourceCollectionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ResourceCollectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ResourceCollectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ResourceCollectionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var resourceCollectionResource = new Aws.DevOpsGuru.ResourceCollection("resourceCollectionResource", new()
    {
        Type = "string",
        Cloudformation = new Aws.DevOpsGuru.Inputs.ResourceCollectionCloudformationArgs
        {
            StackNames = new[]
            {
                "string",
            },
        },
        Tags = new Aws.DevOpsGuru.Inputs.ResourceCollectionTagsArgs
        {
            AppBoundaryKey = "string",
            TagValues = new[]
            {
                "string",
            },
        },
    });
    
    example, err := devopsguru.NewResourceCollection(ctx, "resourceCollectionResource", &devopsguru.ResourceCollectionArgs{
    	Type: pulumi.String("string"),
    	Cloudformation: &devopsguru.ResourceCollectionCloudformationArgs{
    		StackNames: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	Tags: &devopsguru.ResourceCollectionTagsArgs{
    		AppBoundaryKey: pulumi.String("string"),
    		TagValues: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    })
    
    var resourceCollectionResource = new ResourceCollection("resourceCollectionResource", ResourceCollectionArgs.builder()        
        .type("string")
        .cloudformation(ResourceCollectionCloudformationArgs.builder()
            .stackNames("string")
            .build())
        .tags(ResourceCollectionTagsArgs.builder()
            .appBoundaryKey("string")
            .tagValues("string")
            .build())
        .build());
    
    resource_collection_resource = aws.devopsguru.ResourceCollection("resourceCollectionResource",
        type="string",
        cloudformation=aws.devopsguru.ResourceCollectionCloudformationArgs(
            stack_names=["string"],
        ),
        tags=aws.devopsguru.ResourceCollectionTagsArgs(
            app_boundary_key="string",
            tag_values=["string"],
        ))
    
    const resourceCollectionResource = new aws.devopsguru.ResourceCollection("resourceCollectionResource", {
        type: "string",
        cloudformation: {
            stackNames: ["string"],
        },
        tags: {
            appBoundaryKey: "string",
            tagValues: ["string"],
        },
    });
    
    type: aws:devopsguru:ResourceCollection
    properties:
        cloudformation:
            stackNames:
                - string
        tags:
            appBoundaryKey: string
            tagValues:
                - string
        type: string
    

    ResourceCollection Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The ResourceCollection resource accepts the following input properties:

    Type string

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

    The following arguments are optional:

    Cloudformation ResourceCollectionCloudformation
    A collection of AWS CloudFormation stacks. See cloudformation below for additional details.
    Tags ResourceCollectionTags
    AWS tags used to filter the resources in the resource collection. See tags below for additional details.
    Type string

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

    The following arguments are optional:

    Cloudformation ResourceCollectionCloudformationArgs
    A collection of AWS CloudFormation stacks. See cloudformation below for additional details.
    Tags ResourceCollectionTagsArgs
    AWS tags used to filter the resources in the resource collection. See tags below for additional details.
    type String

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

    The following arguments are optional:

    cloudformation ResourceCollectionCloudformation
    A collection of AWS CloudFormation stacks. See cloudformation below for additional details.
    tags ResourceCollectionTags
    AWS tags used to filter the resources in the resource collection. See tags below for additional details.
    type string

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

    The following arguments are optional:

    cloudformation ResourceCollectionCloudformation
    A collection of AWS CloudFormation stacks. See cloudformation below for additional details.
    tags ResourceCollectionTags
    AWS tags used to filter the resources in the resource collection. See tags below for additional details.
    type str

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

    The following arguments are optional:

    cloudformation ResourceCollectionCloudformationArgs
    A collection of AWS CloudFormation stacks. See cloudformation below for additional details.
    tags ResourceCollectionTagsArgs
    AWS tags used to filter the resources in the resource collection. See tags below for additional details.
    type String

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

    The following arguments are optional:

    cloudformation Property Map
    A collection of AWS CloudFormation stacks. See cloudformation below for additional details.
    tags Property Map
    AWS tags used to filter the resources in the resource collection. See tags below for additional details.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ResourceCollection resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ResourceCollection Resource

    Get an existing ResourceCollection resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ResourceCollectionState, opts?: CustomResourceOptions): ResourceCollection
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cloudformation: Optional[ResourceCollectionCloudformationArgs] = None,
            tags: Optional[ResourceCollectionTagsArgs] = None,
            type: Optional[str] = None) -> ResourceCollection
    func GetResourceCollection(ctx *Context, name string, id IDInput, state *ResourceCollectionState, opts ...ResourceOption) (*ResourceCollection, error)
    public static ResourceCollection Get(string name, Input<string> id, ResourceCollectionState? state, CustomResourceOptions? opts = null)
    public static ResourceCollection get(String name, Output<String> id, ResourceCollectionState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Cloudformation ResourceCollectionCloudformation
    A collection of AWS CloudFormation stacks. See cloudformation below for additional details.
    Tags ResourceCollectionTags
    AWS tags used to filter the resources in the resource collection. See tags below for additional details.
    Type string

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

    The following arguments are optional:

    Cloudformation ResourceCollectionCloudformationArgs
    A collection of AWS CloudFormation stacks. See cloudformation below for additional details.
    Tags ResourceCollectionTagsArgs
    AWS tags used to filter the resources in the resource collection. See tags below for additional details.
    Type string

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

    The following arguments are optional:

    cloudformation ResourceCollectionCloudformation
    A collection of AWS CloudFormation stacks. See cloudformation below for additional details.
    tags ResourceCollectionTags
    AWS tags used to filter the resources in the resource collection. See tags below for additional details.
    type String

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

    The following arguments are optional:

    cloudformation ResourceCollectionCloudformation
    A collection of AWS CloudFormation stacks. See cloudformation below for additional details.
    tags ResourceCollectionTags
    AWS tags used to filter the resources in the resource collection. See tags below for additional details.
    type string

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

    The following arguments are optional:

    cloudformation ResourceCollectionCloudformationArgs
    A collection of AWS CloudFormation stacks. See cloudformation below for additional details.
    tags ResourceCollectionTagsArgs
    AWS tags used to filter the resources in the resource collection. See tags below for additional details.
    type str

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

    The following arguments are optional:

    cloudformation Property Map
    A collection of AWS CloudFormation stacks. See cloudformation below for additional details.
    tags Property Map
    AWS tags used to filter the resources in the resource collection. See tags below for additional details.
    type String

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

    The following arguments are optional:

    Supporting Types

    ResourceCollectionCloudformation, ResourceCollectionCloudformationArgs

    StackNames List<string>
    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
    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 List<String>
    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[]
    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 ("*").
    stack_names Sequence[str]
    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 List<String>
    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 ("*").

    ResourceCollectionTags, ResourceCollectionTagsArgs

    AppBoundaryKey string
    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.
    TagValues List<string>
    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 app_boundary_key regardless of the corresponding tag value, this array should be a single item containing a wildcard ("*").
    AppBoundaryKey string
    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.
    TagValues []string
    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 app_boundary_key regardless of the corresponding tag value, this array should be a single item containing a wildcard ("*").
    appBoundaryKey String
    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.
    tagValues List<String>
    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 app_boundary_key regardless of the corresponding tag value, this array should be a single item containing a wildcard ("*").
    appBoundaryKey string
    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.
    tagValues string[]
    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 app_boundary_key regardless of the corresponding tag value, this array should be a single item containing a wildcard ("*").
    app_boundary_key str
    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.
    tag_values Sequence[str]
    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 app_boundary_key regardless of the corresponding tag value, this array should be a single item containing a wildcard ("*").
    appBoundaryKey String
    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.
    tagValues List<String>
    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 app_boundary_key regardless of the corresponding tag value, this array should be a single item containing a wildcard ("*").

    Import

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

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

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.36.0 published on Wednesday, May 15, 2024 by Pulumi