| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AccessAnalyzer.Types.KmsGrantConfiguration
Description
Synopsis
- data KmsGrantConfiguration = KmsGrantConfiguration' {}
- newKmsGrantConfiguration :: Text -> Text -> KmsGrantConfiguration
- kmsGrantConfiguration_constraints :: Lens' KmsGrantConfiguration (Maybe KmsGrantConstraints)
- kmsGrantConfiguration_retiringPrincipal :: Lens' KmsGrantConfiguration (Maybe Text)
- kmsGrantConfiguration_operations :: Lens' KmsGrantConfiguration [KmsGrantOperation]
- kmsGrantConfiguration_granteePrincipal :: Lens' KmsGrantConfiguration Text
- kmsGrantConfiguration_issuingAccount :: Lens' KmsGrantConfiguration Text
Documentation
data KmsGrantConfiguration Source #
A proposed grant configuration for a KMS key. For more information, see CreateGrant.
See: newKmsGrantConfiguration smart constructor.
Constructors
| KmsGrantConfiguration' | |
Fields
| |
Instances
newKmsGrantConfiguration Source #
Arguments
| :: Text | |
| -> Text | |
| -> KmsGrantConfiguration |
Create a value of KmsGrantConfiguration 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:constraints:KmsGrantConfiguration', kmsGrantConfiguration_constraints - Use this structure to propose allowing
cryptographic operations
in the grant only when the operation request includes the specified
encryption context.
$sel:retiringPrincipal:KmsGrantConfiguration', kmsGrantConfiguration_retiringPrincipal - The principal that is given permission to retire the grant by using
RetireGrant
operation.
$sel:operations:KmsGrantConfiguration', kmsGrantConfiguration_operations - A list of operations that the grant permits.
$sel:granteePrincipal:KmsGrantConfiguration', kmsGrantConfiguration_granteePrincipal - The principal that is given permission to perform the operations that
the grant permits.
$sel:issuingAccount:KmsGrantConfiguration', kmsGrantConfiguration_issuingAccount - The Amazon Web Services account under which the grant was issued. The
account is used to propose KMS grants issued by accounts other than the
owner of the key.
kmsGrantConfiguration_constraints :: Lens' KmsGrantConfiguration (Maybe KmsGrantConstraints) Source #
Use this structure to propose allowing cryptographic operations in the grant only when the operation request includes the specified encryption context.
kmsGrantConfiguration_retiringPrincipal :: Lens' KmsGrantConfiguration (Maybe Text) Source #
The principal that is given permission to retire the grant by using RetireGrant operation.
kmsGrantConfiguration_operations :: Lens' KmsGrantConfiguration [KmsGrantOperation] Source #
A list of operations that the grant permits.
kmsGrantConfiguration_granteePrincipal :: Lens' KmsGrantConfiguration Text Source #
The principal that is given permission to perform the operations that the grant permits.
kmsGrantConfiguration_issuingAccount :: Lens' KmsGrantConfiguration Text Source #
The Amazon Web Services account under which the grant was issued. The account is used to propose KMS grants issued by accounts other than the owner of the key.