Interface CfnResourceCollectionPropsMixin.ITagCollectionProperty
A collection of AWS tags.
Namespace: Amazon.CDK.Mixins.Preview.AWS.DevOpsGuru.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnResourceCollectionPropsMixin.ITagCollectionProperty
Syntax (vb)
Public Interface CfnResourceCollectionPropsMixin.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> .
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.Mixins.Preview.AWS.DevOpsGuru.Mixins;
var tagCollectionProperty = new TagCollectionProperty {
AppBoundaryKey = "appBoundaryKey",
TagValues = new [] { "tagValues" }
};
Synopsis
Properties
| AppBoundaryKey | An AWS tag key that is used to identify the AWS resources that DevOps Guru analyzes. |
| TagValues | The values in an AWS tag collection. |
Properties
AppBoundaryKey
An AWS tag key that is used to identify the AWS resources that DevOps Guru analyzes.
string? AppBoundaryKey { get; }
Property Value
Remarks
All AWS resources in your account and Region tagged with this key make up your DevOps Guru application and analysis boundary.
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> .
TagValues
The values in an AWS tag collection.
string[]? TagValues { get; }
Property Value
string[]
Remarks
The tag's value is a field used to associate a string with the tag key (for example, 111122223333 , Production , or a team name). The key and value are the tag's key pair. Omitting the tag value is the same as using an empty string. Like tag keys , tag values are case-sensitive. You can specify a maximum of 256 characters for a tag value. The tag value is a required property when AppBoundaryKey is specified.