AWS::KMS::ReplicaKeyThe AWS::KMS::ReplicaKey resource specifies a multi-region replica AWS KMS key in AWS Key Management Service (AWS KMS).
6 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
KeyPolicy | objectstring | Required |
PrimaryKeyArn | string | RequiredCreate-only |
Description | string | |
Enabled | boolean | |
PendingWindowInDays | integer | Write-only |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | - |
KeyId | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::KMS::ReplicaKey
Resources:
MyResource:
Type: AWS::KMS::ReplicaKey
Properties:
PrimaryKeyArn: "arn:aws:service:region:account:resource"
KeyPolicy: "value"
Tags:
- Key: Environment
Value: Production
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
kms:DescribeKeykms:GetKeyPolicykms:ListResourceTagskms:ReplicateKeykms:CreateKeykms:DescribeKeykms:DisableKeykms:TagResourcekms:DescribeKeykms:DisableKeykms:EnableKeykms:PutKeyPolicykms:TagResourcekms:UntagResourcekms:UpdateKeyDescriptionkms:ListKeyskms:DescribeKeykms:DescribeKeykms:ScheduleKeyDeletionOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterKeyIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
PrimaryKeyArn