| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.Backup.Types.ControlScope
Description
Synopsis
Documentation
data ControlScope Source #
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.
To set a control scope that includes all of a particular resource, leave
the ControlScope empty or do not pass it when calling
CreateFramework.
See: newControlScope smart constructor.
Constructors
| ControlScope' | |
Fields
| |
Instances
newControlScope :: ControlScope Source #
Create a value of ControlScope with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:complianceResourceTypes:ControlScope', controlScope_complianceResourceTypes - Describes whether the control scope includes one or more types of
resources, such as EFS or RDS.
$sel:tags:ControlScope', controlScope_tags - Describes whether the control scope includes resources with one or more
tags. Each tag is a key-value pair.
$sel:complianceResourceIds:ControlScope', controlScope_complianceResourceIds - The ID of the only Amazon Web Services resource that you want your
control scope to contain.
controlScope_complianceResourceTypes :: Lens' ControlScope (Maybe [Text]) Source #
Describes whether the control scope includes one or more types of
resources, such as EFS or RDS.
controlScope_tags :: Lens' ControlScope (Maybe (HashMap Text Text)) Source #
Describes whether the control scope includes resources with one or more tags. Each tag is a key-value pair.
controlScope_complianceResourceIds :: Lens' ControlScope (Maybe (NonEmpty Text)) Source #
The ID of the only Amazon Web Services resource that you want your control scope to contain.