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 |
Documentation
data ResourcePolicy Source #
The resource policy that allows Incident Manager to perform actions on resources on your behalf.
See: newResourcePolicy
smart constructor.
ResourcePolicy' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> ResourcePolicy |
Create a value of ResourcePolicy
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:policyDocument:ResourcePolicy'
, resourcePolicy_policyDocument
- The JSON blob that describes the policy.
$sel:policyId:ResourcePolicy'
, resourcePolicy_policyId
- The ID of the resource policy.
$sel:ramResourceShareRegion:ResourcePolicy'
, resourcePolicy_ramResourceShareRegion
- The Region that policy allows resources to be used in.
resourcePolicy_policyDocument :: Lens' ResourcePolicy Text Source #
The JSON blob that describes the policy.
resourcePolicy_policyId :: Lens' ResourcePolicy Text Source #
The ID of the resource policy.
resourcePolicy_ramResourceShareRegion :: Lens' ResourcePolicy Text Source #
The Region that policy allows resources to be used in.