Class: Aws::CloudWatch::Types::ManagedRule

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatch/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

Instance Attribute Details

#resource_arnString

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

Returns:

  • (String)


2356
2357
2358
2359
2360
2361
2362
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 2356

class ManagedRule < Struct.new(
  :template_name,
  :resource_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<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.

Returns:



2356
2357
2358
2359
2360
2361
2362
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 2356

class ManagedRule < Struct.new(
  :template_name,
  :resource_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#template_nameString

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

Returns:

  • (String)


2356
2357
2358
2359
2360
2361
2362
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 2356

class ManagedRule < Struct.new(
  :template_name,
  :resource_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end