Class: Aws::ConfigService::Types::ConformancePackScope

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb

Overview

Defines which resources trigger an evaluation for the Config rules in a conformance pack. The scope is a tag key, or a combination of a tag key and value, that is applied to every rule in the conformance pack. Specify a scope to constrain which resources trigger an evaluation for the rules. Otherwise, evaluations of rules in the conformance pack are triggered when any resource in your recording group changes in configuration.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#tag_key ⇒ String

The tag key that applies to only those Amazon Web Services resources that you want to trigger an evaluation for the rules in the conformance pack. Defines the Scope$TagKey of all Config rules in the conformance pack.

Returns:

  • (String)


2346
2347
2348
2349
2350
2351
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 2346

class ConformancePackScope < Struct.new(
  :tag_key,
  :tag_value)
  SENSITIVE = []
  include Aws::Structure
end

#tag_value ⇒ String

The tag value that applies to only those Amazon Web Services resources that you want to trigger an evaluation for the rules in the conformance pack. If you do not specify a value for TagValue, resources that have the tag key TagKey trigger an evaluation, regardless of the tag value. Defines the Scope$TagValue of all Config rules in the conformance pack.

Returns:

  • (String)


2346
2347
2348
2349
2350
2351
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 2346

class ConformancePackScope < Struct.new(
  :tag_key,
  :tag_value)
  SENSITIVE = []
  include Aws::Structure
end