Scope
¶
Source code in docs_src/capo_config_service/types/scope.py
compliance_resource_id
instance-attribute
¶
compliance_resource_id: NotRequired[BaseResourceId]
The ID of the only Amazon Web Services 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.
compliance_resource_types
instance-attribute
¶
compliance_resource_types: NotRequired[ComplianceResourceTypes]
The resource types of only those Amazon Web Services 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.
service_principals
instance-attribute
¶
service_principals: NotRequired[ServicePrincipals]
The service principals of the Amazon Web Services services for the rule.
The field is populated only if the service-linked rule is created by a service. The field is empty if you create your own rule.
tag_key
instance-attribute
¶
tag_key: NotRequired[StringWithCharLimit128]
The tag key that is applied to only those Amazon Web Services resources that you want to trigger an evaluation for the rule.
tag_value
instance-attribute
¶
tag_value: NotRequired[StringWithCharLimit256]
The tag value applied to only those Amazon Web Services 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.