# CloudFormationCollectionFilterProperty

Information about AWS CloudFormation stacks.

You can use up to 1000 stacks to specify which AWS resources in your account to analyze. For more information, see [Stacks](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html) in the *AWS CloudFormation User Guide* .

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devopsguru as devopsguru } from 'aws-cdk-lib';
const cloudFormationCollectionFilterProperty: devopsguru.CfnResourceCollection.CloudFormationCollectionFilterProperty = {
  stackNames: ['stackNames'],
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsguru as devopsguru

cloud_formation_collection_filter_property = devopsguru.CfnResourceCollection.CloudFormationCollectionFilterProperty(
    stack_names=["stackNames"]
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.devopsguru.*;

CloudFormationCollectionFilterProperty cloudFormationCollectionFilterProperty = CloudFormationCollectionFilterProperty.builder()
        .stackNames(List.of("stackNames"))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DevOpsGuru;

var cloudFormationCollectionFilterProperty = new CloudFormationCollectionFilterProperty {
    StackNames = new [] { "stackNames" }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cloudFormationCollectionFilterProperty := &CloudFormationCollectionFilterProperty{
	StackNames: []*string{
		jsii.String("stackNames"),
	},
}
```

## Properties

- `stackNames`: string[] — An array of CloudFormation stack names.
