AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi

ResourceCollection

This resource schema represents the ResourceCollection resource in the Amazon DevOps Guru.

Example Usage

Example

using Pulumi;
using AwsNative = Pulumi.AwsNative;

class MyStack : Stack
{
    public MyStack()
    {
        var myResourceCollection = new AwsNative.DevOpsGuru.ResourceCollection("myResourceCollection", new AwsNative.DevOpsGuru.ResourceCollectionArgs
        {
            ResourceCollectionFilter = new AwsNative.DevOpsGuru.Inputs.ResourceCollectionFilterArgs
            {
                CloudFormation = new AwsNative.DevOpsGuru.Inputs.ResourceCollectionCloudFormationCollectionFilterArgs
                {
                    StackNames = 
                    {
                        "StackA",
                        "StackB",
                    },
                },
            },
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/devopsguru"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := devopsguru.NewResourceCollection(ctx, "myResourceCollection", &devopsguru.ResourceCollectionArgs{
			ResourceCollectionFilter: &devopsguru.ResourceCollectionFilterArgs{
				CloudFormation: &devopsguru.ResourceCollectionCloudFormationCollectionFilterArgs{
					StackNames: pulumi.StringArray{
						pulumi.String("StackA"),
						pulumi.String("StackB"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_aws_native as aws_native

my_resource_collection = aws_native.devopsguru.ResourceCollection("myResourceCollection", resource_collection_filter=aws_native.devopsguru.ResourceCollectionFilterArgs(
    cloud_formation=aws_native.devopsguru.ResourceCollectionCloudFormationCollectionFilterArgs(
        stack_names=[
            "StackA",
            "StackB",
        ],
    ),
))
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const myResourceCollection = new aws_native.devopsguru.ResourceCollection("myResourceCollection", {resourceCollectionFilter: {
    cloudFormation: {
        stackNames: [
            "StackA",
            "StackB",
        ],
    },
}});

Coming soon!

Example

using Pulumi;
using AwsNative = Pulumi.AwsNative;

class MyStack : Stack
{
    public MyStack()
    {
        var myResourceCollection = new AwsNative.DevOpsGuru.ResourceCollection("myResourceCollection", new AwsNative.DevOpsGuru.ResourceCollectionArgs
        {
            ResourceCollectionFilter = new AwsNative.DevOpsGuru.Inputs.ResourceCollectionFilterArgs
            {
                CloudFormation = new AwsNative.DevOpsGuru.Inputs.ResourceCollectionCloudFormationCollectionFilterArgs
                {
                    StackNames = 
                    {
                        "StackA",
                        "StackB",
                    },
                },
            },
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/devopsguru"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := devopsguru.NewResourceCollection(ctx, "myResourceCollection", &devopsguru.ResourceCollectionArgs{
			ResourceCollectionFilter: &devopsguru.ResourceCollectionFilterArgs{
				CloudFormation: &devopsguru.ResourceCollectionCloudFormationCollectionFilterArgs{
					StackNames: pulumi.StringArray{
						pulumi.String("StackA"),
						pulumi.String("StackB"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_aws_native as aws_native

my_resource_collection = aws_native.devopsguru.ResourceCollection("myResourceCollection", resource_collection_filter=aws_native.devopsguru.ResourceCollectionFilterArgs(
    cloud_formation=aws_native.devopsguru.ResourceCollectionCloudFormationCollectionFilterArgs(
        stack_names=[
            "StackA",
            "StackB",
        ],
    ),
))
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const myResourceCollection = new aws_native.devopsguru.ResourceCollection("myResourceCollection", {resourceCollectionFilter: {
    cloudFormation: {
        stackNames: [
            "StackA",
            "StackB",
        ],
    },
}});

Coming soon!

Example

using Pulumi;
using AwsNative = Pulumi.AwsNative;

class MyStack : Stack
{
    public MyStack()
    {
        var myResourceCollection = new AwsNative.DevOpsGuru.ResourceCollection("myResourceCollection", new AwsNative.DevOpsGuru.ResourceCollectionArgs
        {
            ResourceCollectionFilter = new AwsNative.DevOpsGuru.Inputs.ResourceCollectionFilterArgs
            {
                CloudFormation = new AwsNative.DevOpsGuru.Inputs.ResourceCollectionCloudFormationCollectionFilterArgs
                {
                    StackNames = 
                    {
                        "*",
                    },
                },
            },
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/devopsguru"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := devopsguru.NewResourceCollection(ctx, "myResourceCollection", &devopsguru.ResourceCollectionArgs{
			ResourceCollectionFilter: &devopsguru.ResourceCollectionFilterArgs{
				CloudFormation: &devopsguru.ResourceCollectionCloudFormationCollectionFilterArgs{
					StackNames: pulumi.StringArray{
						pulumi.String("*"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_aws_native as aws_native

my_resource_collection = aws_native.devopsguru.ResourceCollection("myResourceCollection", resource_collection_filter=aws_native.devopsguru.ResourceCollectionFilterArgs(
    cloud_formation=aws_native.devopsguru.ResourceCollectionCloudFormationCollectionFilterArgs(
        stack_names=["*"],
    ),
))
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const myResourceCollection = new aws_native.devopsguru.ResourceCollection("myResourceCollection", {resourceCollectionFilter: {
    cloudFormation: {
        stackNames: ["*"],
    },
}});

Coming soon!

Example

using Pulumi;
using AwsNative = Pulumi.AwsNative;

class MyStack : Stack
{
    public MyStack()
    {
        var myResourceCollection = new AwsNative.DevOpsGuru.ResourceCollection("myResourceCollection", new AwsNative.DevOpsGuru.ResourceCollectionArgs
        {
            ResourceCollectionFilter = new AwsNative.DevOpsGuru.Inputs.ResourceCollectionFilterArgs
            {
                CloudFormation = new AwsNative.DevOpsGuru.Inputs.ResourceCollectionCloudFormationCollectionFilterArgs
                {
                    StackNames = 
                    {
                        "*",
                    },
                },
            },
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/devopsguru"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := devopsguru.NewResourceCollection(ctx, "myResourceCollection", &devopsguru.ResourceCollectionArgs{
			ResourceCollectionFilter: &devopsguru.ResourceCollectionFilterArgs{
				CloudFormation: &devopsguru.ResourceCollectionCloudFormationCollectionFilterArgs{
					StackNames: pulumi.StringArray{
						pulumi.String("*"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_aws_native as aws_native

my_resource_collection = aws_native.devopsguru.ResourceCollection("myResourceCollection", resource_collection_filter=aws_native.devopsguru.ResourceCollectionFilterArgs(
    cloud_formation=aws_native.devopsguru.ResourceCollectionCloudFormationCollectionFilterArgs(
        stack_names=["*"],
    ),
))
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const myResourceCollection = new aws_native.devopsguru.ResourceCollection("myResourceCollection", {resourceCollectionFilter: {
    cloudFormation: {
        stackNames: ["*"],
    },
}});

Coming soon!

Create a ResourceCollection Resource

new ResourceCollection(name: string, args: ResourceCollectionArgs, opts?: CustomResourceOptions);
@overload
def ResourceCollection(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       resource_collection_filter: Optional[ResourceCollectionFilterArgs] = None)
@overload
def ResourceCollection(resource_name: str,
                       args: ResourceCollectionArgs,
                       opts: Optional[ResourceOptions] = 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-native:devopsguru:ResourceCollection
properties: # The arguments to resource properties.
options: # 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.
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.

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:

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.

ResourceCollectionType Pulumi.AwsNative.DevOpsGuru.ResourceCollectionType

The type of ResourceCollection

Id string

The provider-assigned unique ID for this managed resource.

ResourceCollectionType ResourceCollectionType

The type of ResourceCollection

id String

The provider-assigned unique ID for this managed resource.

resourceCollectionType ResourceCollectionType

The type of ResourceCollection

id string

The provider-assigned unique ID for this managed resource.

resourceCollectionType ResourceCollectionType

The type of ResourceCollection

id str

The provider-assigned unique ID for this managed resource.

resource_collection_type ResourceCollectionType

The type of ResourceCollection

id String

The provider-assigned unique ID for this managed resource.

resourceCollectionType "AWS_CLOUD_FORMATION" | "AWS_TAGS"

The type of ResourceCollection

Supporting Types

ResourceCollectionCloudFormationCollectionFilter

StackNames List<string>

An array of CloudFormation stack names.

StackNames []string

An array of CloudFormation stack names.

stackNames List<String>

An array of CloudFormation stack names.

stackNames string[]

An array of CloudFormation stack names.

stack_names Sequence[str]

An array of CloudFormation stack names.

stackNames List<String>

An array of CloudFormation stack names.

ResourceCollectionFilter

ResourceCollectionTagCollection

AppBoundaryKey string

A Tag key for DevOps Guru app boundary.

TagValues List<string>

Tag values of DevOps Guru app boundary.

AppBoundaryKey string

A Tag key for DevOps Guru app boundary.

TagValues []string

Tag values of DevOps Guru app boundary.

appBoundaryKey String

A Tag key for DevOps Guru app boundary.

tagValues List<String>

Tag values of DevOps Guru app boundary.

appBoundaryKey string

A Tag key for DevOps Guru app boundary.

tagValues string[]

Tag values of DevOps Guru app boundary.

app_boundary_key str

A Tag key for DevOps Guru app boundary.

tag_values Sequence[str]

Tag values of DevOps Guru app boundary.

appBoundaryKey String

A Tag key for DevOps Guru app boundary.

tagValues List<String>

Tag values of DevOps Guru app boundary.

ResourceCollectionType

AwsCloudFormation
AWS_CLOUD_FORMATION
AwsTags
AWS_TAGS
ResourceCollectionTypeAwsCloudFormation
AWS_CLOUD_FORMATION
ResourceCollectionTypeAwsTags
AWS_TAGS
AwsCloudFormation
AWS_CLOUD_FORMATION
AwsTags
AWS_TAGS
AwsCloudFormation
AWS_CLOUD_FORMATION
AwsTags
AWS_TAGS
AWS_CLOUD_FORMATION
AWS_CLOUD_FORMATION
AWS_TAGS
AWS_TAGS
"AWS_CLOUD_FORMATION"
AWS_CLOUD_FORMATION
"AWS_TAGS"
AWS_TAGS

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0