libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq GeneratedPolicy Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicy

Read GeneratedPolicy Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicy

Show 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 #

NFData GeneratedPolicy Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicy

Methods

rnf :: GeneratedPolicy -> () #

Hashable GeneratedPolicy Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicy

FromJSON 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" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" '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.