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 KmsGrantConfiguration = KmsGrantConfiguration' {}
- newKmsGrantConfiguration :: Text -> Text -> KmsGrantConfiguration
- kmsGrantConfiguration_retiringPrincipal :: Lens' KmsGrantConfiguration (Maybe Text)
- kmsGrantConfiguration_constraints :: Lens' KmsGrantConfiguration (Maybe KmsGrantConstraints)
- kmsGrantConfiguration_granteePrincipal :: Lens' KmsGrantConfiguration Text
- kmsGrantConfiguration_issuingAccount :: Lens' KmsGrantConfiguration Text
- kmsGrantConfiguration_operations :: Lens' KmsGrantConfiguration [KmsGrantOperation]
Documentation
data KmsGrantConfiguration Source #
A proposed grant configuration for a KMS key. For more information, see CreateGrant.
See: newKmsGrantConfiguration
smart constructor.
KmsGrantConfiguration' | |
|
Instances
newKmsGrantConfiguration Source #
:: 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:retiringPrincipal:KmsGrantConfiguration'
, kmsGrantConfiguration_retiringPrincipal
- The principal that is given permission to retire the grant by using
RetireGrant
operation.
$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: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.
$sel:operations:KmsGrantConfiguration'
, kmsGrantConfiguration_operations
- A list of operations that the grant permits.
kmsGrantConfiguration_retiringPrincipal :: Lens' KmsGrantConfiguration (Maybe Text) Source #
The principal that is given permission to retire the grant by using RetireGrant operation.
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_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.
kmsGrantConfiguration_operations :: Lens' KmsGrantConfiguration [KmsGrantOperation] Source #
A list of operations that the grant permits.