sns-encrypted-kms
Checks if an SNS topic is encrypted with AWS Key Management Service (AWS KMS). The rule is NON_COMPLIANT if the SNS topic is not encrypted with AWS KMS or if a KMS key ID used to encrypt the SNS topic is not present in the 'kmsKeyIds
' input parameter.
Identifier: SNS_ENCRYPTED_KMS
Resource Types: AWS::SNS::Topic
Trigger type: Configuration changes
AWS Region: All supported AWS regions except Middle East (UAE), Asia Pacific (Osaka), Asia Pacific (Melbourne), Israel (Tel Aviv), Europe (Spain), Europe (Zurich) Region
Parameters:
- kmsKeyIds (Optional)
- Type: CSV
-
Comma separated list of AWS KMS key ARNs allowed for encrypting Amazon SNS Topic.
Proactive Evaluation
For steps on how to run this rule in proactive mode, see Evaluating Your Resources with AWS Config Rules. For this rule to return COMPLIANT in proactive mode, the resource configuration schema for the StartResourceEvaluation API needs to include the following inputs, encoded as a string:
"ResourceConfiguration": ... { "KmsMasterKeyId": "
my-kms-key-Id
" } ...
For more information on proactive evaluation, see Evaluation Mode.
AWS CloudFormation template
To create AWS Config managed rules with AWS CloudFormation templates, see Creating AWS Config Managed Rules With AWS CloudFormation Templates.