NAME
Paws::Config::Scope
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::Config::Scope object:
$service_obj->Method(Att1 => { ComplianceResourceId => $value, ..., TagValue => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::Config::Scope object:
$result = $service_obj->Method(...);
$result->Att1->ComplianceResourceId
DESCRIPTION
Defines which resources trigger an evaluation for an AWS Config rule. The scope can include one or more resource types, a combination of a tag key and value, or a combination of one resource type and one resource ID. Specify a scope to constrain which resources trigger an evaluation for a rule. Otherwise, evaluations for the rule are triggered when any resource in your recording group changes in configuration.
ATTRIBUTES
ComplianceResourceId => Str
The ID of the only AWS resource that you want to trigger an evaluation for the rule. If you specify a resource ID, you must specify one resource type for ComplianceResourceTypes
.
ComplianceResourceTypes => ArrayRef[Str|Undef]
The resource types of only those AWS resources that you want to trigger an evaluation for the rule. You can only specify one type if you also specify a resource ID for ComplianceResourceId
.
TagKey => Str
The tag key that is applied to only those AWS resources that you want to trigger an evaluation for the rule.
TagValue => Str
The tag value applied to only those AWS resources that you want to trigger an evaluation for the rule. If you specify a value for TagValue
, you must also specify a value for TagKey
.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::Config
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues