amazonka-accessanalyzer-2.0: Amazon Access Analyzer SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AccessAnalyzer.Types.GeneratedPolicy

Description

 
Synopsis

Documentation

data GeneratedPolicy Source #

Contains the text for the generated policy.

See: newGeneratedPolicy smart constructor.

Constructors

GeneratedPolicy' 

Fields

  • policy :: Text

    The text to use as the content for the new policy. The policy is created using the CreatePolicy action.

Instances

Instances details
FromJSON GeneratedPolicy Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicy

Generic GeneratedPolicy Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicy

Associated Types

type Rep GeneratedPolicy :: Type -> Type #

Read GeneratedPolicy Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicy

Show GeneratedPolicy Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicy

NFData GeneratedPolicy Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicy

Methods

rnf :: GeneratedPolicy -> () #

Eq GeneratedPolicy Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicy

Hashable GeneratedPolicy Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicy

type Rep GeneratedPolicy Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicy

type Rep GeneratedPolicy = D1 ('MetaData "GeneratedPolicy" "Amazonka.AccessAnalyzer.Types.GeneratedPolicy" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "GeneratedPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGeneratedPolicy Source #

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.