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 |
Synopsis
Documentation
data ResourcePolicy Source #
A structure that contains details about a resource policy.
See: newResourcePolicy
smart constructor.
ResourcePolicy' | |
|
Instances
newResourcePolicy :: ResourcePolicy Source #
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:content:ResourcePolicy'
, resourcePolicy_content
- The policy text of the resource policy.
$sel:resourcePolicySummary:ResourcePolicy'
, resourcePolicy_resourcePolicySummary
- A structure that contains resource policy ID and Amazon Resource Name
(ARN).
resourcePolicy_content :: Lens' ResourcePolicy (Maybe Text) Source #
The policy text of the resource policy.
resourcePolicy_resourcePolicySummary :: Lens' ResourcePolicy (Maybe ResourcePolicySummary) Source #
A structure that contains resource policy ID and Amazon Resource Name (ARN).