AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Contains the information that's required to enable a managed Contributor Insights rule for an Amazon Web Services resource.

Inheritance Hierarchy

System.Object
  Amazon.CloudWatch.Model.ManagedRule

Namespace: Amazon.CloudWatch.Model
Assembly: AWSSDK.CloudWatch.dll
Version: 3.x.y.z

Syntax

C#
public class ManagedRule

The ManagedRule type exposes the following members

Constructors

NameDescription
Public Method ManagedRule()

Properties

NameTypeDescription
Public Property ResourceARN System.String

Gets and sets the property ResourceARN.

The ARN of an Amazon Web Services resource that has managed Contributor Insights rules.

Public Property Tags System.Collections.Generic.List<Amazon.CloudWatch.Model.Tag>

Gets and sets the property Tags.

A list of key-value pairs that you can associate with a managed Contributor Insights rule. You can associate as many as 50 tags with a rule. Tags can help you organize and categorize your resources. You also can use them to scope user permissions by granting a user permission to access or change only the resources that have certain tag values. To associate tags with a rule, you must have the cloudwatch:TagResource permission in addition to the cloudwatch:PutInsightRule permission. If you are using this operation to update an existing Contributor Insights rule, any tags that you specify in this parameter are ignored. To change the tags of an existing rule, use TagResource.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property TemplateName System.String

Gets and sets the property TemplateName.

The template name for the managed Contributor Insights rule, as returned by ListManagedInsightRules.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer