| 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 |
Amazonka.IAM.Types.Statement
Description
Synopsis
Documentation
Contains a reference to a Statement element in a policy document that
determines the result of the simulation.
This data type is used by the MatchedStatements member of the
EvaluationResult type.
See: newStatement smart constructor.
Constructors
| Statement' | |
Fields
| |
Instances
newStatement :: Statement Source #
Create a value of Statement 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:sourcePolicyType:Statement', statement_sourcePolicyType - The type of the policy.
$sel:sourcePolicyId:Statement', statement_sourcePolicyId - The identifier of the policy that was provided as an input.
$sel:endPosition:Statement', statement_endPosition - The row and column of the end of a Statement in an IAM policy.
$sel:startPosition:Statement', statement_startPosition - The row and column of the beginning of the Statement in an IAM policy.
statement_sourcePolicyType :: Lens' Statement (Maybe PolicySourceType) Source #
The type of the policy.
statement_sourcePolicyId :: Lens' Statement (Maybe Text) Source #
The identifier of the policy that was provided as an input.