@Stability(value=Stable)
public static interface CfnResourceCollection.ResourceCollectionFilterProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// 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.*;
ResourceCollectionFilterProperty resourceCollectionFilterProperty = ResourceCollectionFilterProperty.builder()
.cloudFormation(CloudFormationCollectionFilterProperty.builder()
.stackNames(List.of("stackNames"))
.build())
.tags(List.of(TagCollectionProperty.builder()
.appBoundaryKey("appBoundaryKey")
.tagValues(List.of("tagValues"))
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnResourceCollection.ResourceCollectionFilterProperty.Builder
A builder for
CfnResourceCollection.ResourceCollectionFilterProperty |
static class |
CfnResourceCollection.ResourceCollectionFilterProperty.Jsii$Proxy
An implementation for
CfnResourceCollection.ResourceCollectionFilterProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnResourceCollection.ResourceCollectionFilterProperty.Builder |
builder() |
default Object |
getCloudFormation()
Information about AWS CloudFormation stacks.
|
default List<CfnResourceCollection.TagCollectionProperty> |
getTags()
The AWS tags used to filter the resources in the resource collection.
|
@Stability(value=Stable) @Nullable default Object getCloudFormation()
You can use up to 500 stacks to specify which AWS resources in your account to analyze. For more information, see Stacks in the AWS CloudFormation User Guide .
@Stability(value=Stable) @Nullable default List<CfnResourceCollection.TagCollectionProperty> getTags()
Tags help you identify and organize your AWS resources. Many AWS services support tagging, so you can assign the same tag to resources from different services to indicate that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB table resource that you assign to an AWS Lambda function. For more information about using tags, see the Tagging best practices whitepaper.
Each AWS tag has two parts.
CostCenter , Environment , Project , or Secret ). Tag keys are case-sensitive.111122223333 , Production , or a team name). Omitting the tag value is the same as using an empty string. Like tag keys , tag values are case-sensitive.Together these are known as key - value pairs.
The string used for a key in a tag that you use to define your resource coverage must begin with the prefix
Devops-guru-. The tag key might beDevops-guru-deployment-applicationorDevops-guru-rds-application. While keys are case-sensitive, the case of key characters don't matter to DevOps Guru. For example, DevOps Guru works with a key nameddevops-guru-rdsand a key namedDevOps-Guru-RDS. Possible key / value pairs in your application might beDevops-Guru-production-application/RDSorDevops-Guru-production-application/containers.
@Stability(value=Stable) static CfnResourceCollection.ResourceCollectionFilterProperty.Builder builder()
Copyright © 2022. All rights reserved.