amazonka-kms-0.3.5: 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

A unique identifier for the customer master key. This value can be a globally unique identifier or the fully specified ARN to a key. Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012

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