From 4c73e942ade97fe886fcab85f4e1105d6874ff35 Mon Sep 17 00:00:00 2001 From: heitorlessa Date: Thu, 18 May 2023 17:22:20 +0200 Subject: [PATCH 1/2] docs(batch): add encryption at rest for SQS --- examples/batch_processing/sam/sqs_batch_processing.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/batch_processing/sam/sqs_batch_processing.yaml b/examples/batch_processing/sam/sqs_batch_processing.yaml index 00bbd00e569..77871c3478b 100644 --- a/examples/batch_processing/sam/sqs_batch_processing.yaml +++ b/examples/batch_processing/sam/sqs_batch_processing.yaml @@ -1,4 +1,4 @@ -AWSTemplateFormatVersion: '2010-09-09' +AWSTemplateFormatVersion: "2010-09-09" Transform: AWS::Serverless-2016-10-31 Description: partial batch response sample @@ -37,6 +37,7 @@ Resources: Type: AWS::SQS::Queue Properties: VisibilityTimeout: 30 # Fn timeout * 6 + SqsManagedSseEnabled: true RedrivePolicy: maxReceiveCount: 2 deadLetterTargetArn: !GetAtt SampleDLQ.Arn From bd1bf257b28c9679459f63af7460c9d06267c39a Mon Sep 17 00:00:00 2001 From: heitorlessa Date: Thu, 18 May 2023 17:24:19 +0200 Subject: [PATCH 2/2] docs(batch): add encryption at rest for Kinesis Data Stream --- examples/batch_processing/sam/kinesis_batch_processing.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/batch_processing/sam/kinesis_batch_processing.yaml b/examples/batch_processing/sam/kinesis_batch_processing.yaml index 28b2c58402b..314d4f8c98f 100644 --- a/examples/batch_processing/sam/kinesis_batch_processing.yaml +++ b/examples/batch_processing/sam/kinesis_batch_processing.yaml @@ -1,4 +1,4 @@ -AWSTemplateFormatVersion: '2010-09-09' +AWSTemplateFormatVersion: "2010-09-09" Transform: AWS::Serverless-2016-10-31 Description: partial batch response sample @@ -51,3 +51,6 @@ Resources: Type: AWS::Kinesis::Stream Properties: ShardCount: 1 + StreamEncryption: + EncryptionType: KMS + KeyId: alias/aws/kinesis