Class CfnResourceCollection.ResourceCollectionFilterProperty
Information about a filter used to specify which AWS resources are analyzed for anomalous behavior by DevOps Guru.
Inheritance
Namespace: Amazon.CDK.AWS.DevOpsGuru
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ResourceCollectionFilterProperty : Object, CfnResourceCollection.IResourceCollectionFilterProperty
Syntax (vb)
Public Class ResourceCollectionFilterProperty
Inherits Object
Implements CfnResourceCollection.IResourceCollectionFilterProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 resourceCollectionFilterProperty = new ResourceCollectionFilterProperty {
CloudFormation = new CloudFormationCollectionFilterProperty {
StackNames = new [] { "stackNames" }
},
Tags = new [] { new TagCollectionProperty {
AppBoundaryKey = "appBoundaryKey",
TagValues = new [] { "tagValues" }
} }
};
Synopsis
Constructors
ResourceCollectionFilterProperty() |
Properties
CloudFormation | Information about AWS CloudFormation stacks. |
Tags | The AWS tags used to filter the resources in the resource collection. |
Constructors
ResourceCollectionFilterProperty()
public ResourceCollectionFilterProperty()
Properties
CloudFormation
Information about AWS CloudFormation stacks.
public object CloudFormation { get; set; }
Property Value
System.Object
Remarks
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 .
Tags
The AWS tags used to filter the resources in the resource collection.
public CfnResourceCollection.ITagCollectionProperty[] Tags { get; set; }
Property Value
CfnResourceCollection.ITagCollectionProperty[]
Remarks
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.
Together these are known as key - value pairs.
The string used for a <em>key</em> in a tag that you use to define your resource coverage must begin with the prefix <code>Devops-guru-</code> . The tag <em>key</em> might be <code>DevOps-Guru-deployment-application</code> or <code>devops-guru-rds-application</code> . When you create a <em>key</em> , the case of characters in the <em>key</em> can be whatever you choose. After you create a <em>key</em> , it is case-sensitive. For example, DevOps Guru works with a <em>key</em> named <code>devops-guru-rds</code> and a <em>key</em> named <code>DevOps-Guru-RDS</code> , and these act as two different <em>keys</em> . Possible <em>key</em> / <em>value</em> pairs in your application might be <code>Devops-Guru-production-application/RDS</code> or <code>Devops-Guru-production-application/containers</code> .