AWSConfigRemediation-EnableEncryptionOnDynamoDBTable
Description
The AWSConfigRemediation-EnableEncryptionOnDynamoDBTable
runbook
encrypts an Amazon DynamoDB (DynamoDB) table using the Amazon Key Management Service (Amazon KMS) customer managed key you
specify for the KMSKeyId
parameter.
Document type
Automation
Owner
Amazon
Platforms
Databases
Parameters
-
AutomationAssumeRole
Type: String
Allowed values: ^arn:(?:aws|aws-us-gov|aws-cn):iam::\d{12}:role\/[\w+=,.@/-]+$
Description: (Required) The Amazon Resource Name (ARN) of the Amazon Identity and Access Management (IAM) role that allows Systems Manager Automation to perform the actions on your behalf.
-
KMSKeyId
Type: String
Description: (Required) The ARN of the customer managed key you want to use to encrypt the DynamoDB table you specify in the
TableName
parameter. -
TableName
Type: String
Description: (Required) The name of the DynamoDB table you want to encrypt.
Required IAM permissions
The AutomationAssumeRole
parameter requires the following actions to
successfully use the runbook.
-
ssm:StartAutomationExecution
-
ssm:GetAutomationExecution
-
dynamodb:DescribeTable
-
dynamodb:UpdateTable
Document Steps
-
aws:executeAwsApi
- Encrypts the DynamoDB table you specify in theTableName
parameter. -
aws:waitForAwsResourceProperty
- Verifies theEnabled
property for the DynamoDB table'sSSESpecification
is set totrue
. -
aws:assertAwsResourceProperty
- Verifies the DynamoDB table is encrypted with the customer managed key specified in theKMSKeyId
parameter.