Class: Aws::CloudWatch::Types::ManagedRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatch::Types::ManagedRule
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudwatch/types.rb
Overview
Contains the information that’s required to enable a managed Contributor Insights rule for an Amazon Web Services resource.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#resource_arn ⇒ String
The ARN of an Amazon Web Services resource that has managed Contributor Insights rules.
-
#tags ⇒ Array<Types::Tag>
A list of key-value pairs that you can associate with a managed Contributor Insights rule.
-
#template_name ⇒ String
The template name for the managed Contributor Insights rule, as returned by ‘ListManagedInsightRules`.
Instance Attribute Details
#resource_arn ⇒ String
The ARN of an Amazon Web Services resource that has managed Contributor Insights rules.
2356 2357 2358 2359 2360 2361 2362 |
# File 'lib/aws-sdk-cloudwatch/types.rb', line 2356 class ManagedRule < Struct.new( :template_name, :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
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`.
2356 2357 2358 2359 2360 2361 2362 |
# File 'lib/aws-sdk-cloudwatch/types.rb', line 2356 class ManagedRule < Struct.new( :template_name, :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end |
#template_name ⇒ String
The template name for the managed Contributor Insights rule, as returned by ‘ListManagedInsightRules`.
2356 2357 2358 2359 2360 2361 2362 |
# File 'lib/aws-sdk-cloudwatch/types.rb', line 2356 class ManagedRule < Struct.new( :template_name, :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end |