Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data GeneratedPolicyProperties = GeneratedPolicyProperties' {}
- newGeneratedPolicyProperties :: Text -> GeneratedPolicyProperties
- generatedPolicyProperties_isComplete :: Lens' GeneratedPolicyProperties (Maybe Bool)
- generatedPolicyProperties_cloudTrailProperties :: Lens' GeneratedPolicyProperties (Maybe CloudTrailProperties)
- generatedPolicyProperties_principalArn :: Lens' GeneratedPolicyProperties Text
Documentation
data GeneratedPolicyProperties Source #
Contains the generated policy details.
See: newGeneratedPolicyProperties
smart constructor.
GeneratedPolicyProperties' | |
|
Instances
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_cloudTrailProperties :: Lens' GeneratedPolicyProperties (Maybe CloudTrailProperties) Source #
Lists details about the Trail
used to generated policy.
generatedPolicyProperties_principalArn :: Lens' GeneratedPolicyProperties Text Source #
The ARN of the IAM entity (user or role) for which you are generating a policy.