Interface CfnLink.ILinkFilterProperty
When used in MetricConfiguration
this field specifies which metric namespaces are to be shared with the monitoring account.
Namespace: Amazon.CDK.AWS.Oam
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnLink.ILinkFilterProperty
Syntax (vb)
Public Interface CfnLink.ILinkFilterProperty
Remarks
When used in LogGroupConfiguration
this field specifies which log groups are to share their log events with the monitoring account. Use the term LogGroupName
and one or more of the following operands.
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.Oam;
var linkFilterProperty = new LinkFilterProperty {
Filter = "filter"
};
Synopsis
Properties
Filter | When used in |
Properties
Filter
When used in MetricConfiguration
this field specifies which metric namespaces are to be shared with the monitoring account.
string Filter { get; }
Property Value
Remarks
When used in LogGroupConfiguration
this field specifies which log groups are to share their log events with the monitoring account. Use the term LogGroupName
and one or more of the following operands.
Use single quotation marks (') around log group names and metric namespaces.
The matching of log group names and metric namespaces is case sensitive. Each filter has a limit of five conditional operands. Conditional operands are AND
and OR
.
Examples:
If you are updating a link that uses filters, you can specify <code>*</code> as the only value for the <code>filter</code> parameter to delete the filter and share all log groups with the monitoring account.