amazonka-kms-0.0.7: Amazon Key Management Service SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.KMS.PutKeyPolicy

Contents

Description

Synopsis

Request

Request constructor

putKeyPolicy Source

PutKeyPolicy constructor.

The fields accessible through corresponding lenses are:

Request lenses

pkpKeyId :: Lens' PutKeyPolicy Text Source

Unique identifier of the key. This can be an ARN, an alias, or a globally unique identifier.

pkpPolicy :: Lens' PutKeyPolicy Text Source

The policy, in JSON format, to be attached to the key.

pkpPolicyName :: Lens' PutKeyPolicy Text Source

Name of the policy to be attached. Currently, the only supported name is "default".

Response

Response constructor