cloudfront-keyvaluestore:PutKey

Write

cloudfront-keyvaluestore:PutKey is a Write access-level action in the cloudfront-keyvaluestore service. Grants permission to create a new key value pair or replace the value of an existing key

Resource types

ARNs that cloudfront-keyvaluestore:PutKey can be scoped to in an IAM policy.

arn:${Partition}:cloudfront::${Account}:key-value-store/${ResourceId}
key-value-store

Condition keys

No condition keys are documented for this action.

Example IAM policy

A minimal policy that allows cloudfront-keyvaluestore:PutKey. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCloudfrontkeyvaluestorePutKey",
      "Effect": "Allow",
      "Action": "cloudfront-keyvaluestore:PutKey",
      "Resource": "*"
    }
  ]
}

Related actions in cloudfront-keyvaluestore

View all cloudfront-keyvaluestore actions →