| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SSMIncidents.Types.ResourcePolicy
Description
Documentation
data ResourcePolicy Source #
The resource policy that allows Incident Manager to perform actions on resources on your behalf.
See: newResourcePolicy smart constructor.
Constructors
| ResourcePolicy' | |
Fields
| |
Instances
Arguments
| :: 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 Amazon Web Services 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 Amazon Web Services Region that policy allows resources to be used in.