CloudFormationCollectionFilterProperty Struct
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 in the AWS CloudFormation User Guide .
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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" }
};
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
stackNamesoptionalstring[]stack_namesoptionaltyping.List[str]stackNamesoptionalList<String>StackNamesoptionalstring[]StackNamesoptional*[]*string #An array of CloudFormation stack names.