class Aws::Backup::Types::ControlScope
A framework consists of one or more controls. Each control has its own control scope. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans.
<note markdown=“1”> To set a control scope that includes all of a particular resource, leave the `ControlScope` empty or do not pass it when calling `CreateFramework`.
</note>
@note When making an API call, you may pass ControlScope
data as a hash: { compliance_resource_ids: ["string"], compliance_resource_types: ["ARN"], tags: { "string" => "string", }, }
@!attribute [rw] compliance_resource_ids
Describes whether the control scope includes a specific resource identified by its unique Amazon Resource Name (ARN). @return [Array<String>]
@!attribute [rw] compliance_resource_types
Describes whether the control scope includes one or more types of resources, such as `EFS` or `RDS`. @return [Array<String>]
@!attribute [rw] tags
Describes whether the control scope includes resources with one or more tags. Each tag is a key-value pair. @return [Hash<String,String>]
@see docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ControlScope AWS API Documentation
Constants
- SENSITIVE