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.GeneratedPolicyProperties

Description

 
Synopsis

Documentation

data GeneratedPolicyProperties Source #

Contains the generated policy details.

See: newGeneratedPolicyProperties smart constructor.

Constructors

GeneratedPolicyProperties' 

Fields

  • isComplete :: Maybe Bool

    This value is set to true if the generated policy contains all possible actions for a service that IAM Access Analyzer identified from the CloudTrail trail that you specified, and false otherwise.

  • cloudTrailProperties :: Maybe CloudTrailProperties

    Lists details about the Trail used to generated policy.

  • principalArn :: Text

    The ARN of the IAM entity (user or role) for which you are generating a policy.

Instances

Instances details
Eq GeneratedPolicyProperties Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicyProperties

Read GeneratedPolicyProperties Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicyProperties

Show GeneratedPolicyProperties Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicyProperties

Generic GeneratedPolicyProperties Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicyProperties

Associated Types

type Rep GeneratedPolicyProperties :: Type -> Type #

NFData GeneratedPolicyProperties Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicyProperties

Hashable GeneratedPolicyProperties Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicyProperties

FromJSON GeneratedPolicyProperties Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicyProperties

type Rep GeneratedPolicyProperties Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicyProperties

type Rep GeneratedPolicyProperties = D1 ('MetaData "GeneratedPolicyProperties" "Amazonka.AccessAnalyzer.Types.GeneratedPolicyProperties" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "GeneratedPolicyProperties'" 'PrefixI 'True) (S1 ('MetaSel ('Just "isComplete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "cloudTrailProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CloudTrailProperties)) :*: S1 ('MetaSel ('Just "principalArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newGeneratedPolicyProperties Source #

Create a value of GeneratedPolicyProperties 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:isComplete:GeneratedPolicyProperties', generatedPolicyProperties_isComplete - This value is set to true if the generated policy contains all possible actions for a service that IAM Access Analyzer identified from the CloudTrail trail that you specified, and false otherwise.

$sel:cloudTrailProperties:GeneratedPolicyProperties', generatedPolicyProperties_cloudTrailProperties - Lists details about the Trail used to generated policy.

$sel:principalArn:GeneratedPolicyProperties', generatedPolicyProperties_principalArn - The ARN of the IAM entity (user or role) for which you are generating a policy.

generatedPolicyProperties_isComplete :: Lens' GeneratedPolicyProperties (Maybe Bool) Source #

This value is set to true if the generated policy contains all possible actions for a service that IAM Access Analyzer identified from the CloudTrail trail that you specified, and false otherwise.

generatedPolicyProperties_principalArn :: Lens' GeneratedPolicyProperties Text Source #

The ARN of the IAM entity (user or role) for which you are generating a policy.