Skip to content

/AWS1/CL_CWTMANAGEDRULE

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

CONSTRUCTOR

IMPORTING

Required arguments:

IV_TEMPLATENAME TYPE /AWS1/CWTTEMPLATENAME /AWS1/CWTTEMPLATENAME

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

IV_RESOURCEARN TYPE /AWS1/CWTAMAZONRESOURCENAME /AWS1/CWTAMAZONRESOURCENAME

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

Optional arguments:

IT_TAGS TYPE /AWS1/CL_CWTTAG=>TT_TAGLIST TT_TAGLIST

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.


Queryable Attributes

TemplateName

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

Accessible with the following methods

Method Description
GET_TEMPLATENAME() Getter for TEMPLATENAME, with configurable default
ASK_TEMPLATENAME() Getter for TEMPLATENAME w/ exceptions if field has no value
HAS_TEMPLATENAME() Determine if TEMPLATENAME has a value

ResourceARN

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

Accessible with the following methods

Method Description
GET_RESOURCEARN() Getter for RESOURCEARN, with configurable default
ASK_RESOURCEARN() Getter for RESOURCEARN w/ exceptions if field has no value
HAS_RESOURCEARN() Determine if RESOURCEARN has a value

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.

Accessible with the following methods

Method Description
GET_TAGS() Getter for TAGS, with configurable default
ASK_TAGS() Getter for TAGS w/ exceptions if field has no value
HAS_TAGS() Determine if TAGS has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_MANAGEDRULES

TYPES TT_MANAGEDRULES TYPE STANDARD TABLE OF REF TO /AWS1/CL_CWTMANAGEDRULE WITH DEFAULT KEY
.