| 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.AccessAnalyzer.Types.GeneratedPolicy
Description
Synopsis
Documentation
data GeneratedPolicy Source #
Contains the text for the generated policy.
See: newGeneratedPolicy smart constructor.
Constructors
| GeneratedPolicy' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GeneratedPolicy |
Create a value of GeneratedPolicy 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:policy:GeneratedPolicy', generatedPolicy_policy - The text to use as the content for the new policy. The policy is created
using the
CreatePolicy
action.
generatedPolicy_policy :: Lens' GeneratedPolicy Text Source #
The text to use as the content for the new policy. The policy is created using the CreatePolicy action.