RuleScope constructor
Creates a new RuleScope.
complianceResourceId The IDs 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 A list of resource types of only those AWS resources that you want to trigger an evaluation for the ruleE.g., AWS::EC2::Instance. You can only specify one type if you also specify a resource ID for complianceResourceId. See relevant part of AWS Docs for available types.
tagKey The tag key that is applied to only those AWS resources that you want you want to trigger an evaluation for the rule.
tagValue The tag value applied to only those AWS resources that you want to trigger an evaluation for the rule.
Implementation
const RuleScope({
this.complianceResourceId,
this.complianceResourceTypes,
this.tagKey,
this.tagValue,
});