Skip to content

Commit 27d197c

Browse files
authored
docs(batch): add encryption at rest for SQS (#2290)
1 parent 04e25c2 commit 27d197c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Diff for: examples/batch_processing/sam/kinesis_batch_processing.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
AWSTemplateFormatVersion: '2010-09-09'
1+
AWSTemplateFormatVersion: "2010-09-09"
22
Transform: AWS::Serverless-2016-10-31
33
Description: partial batch response sample
44

@@ -51,3 +51,6 @@ Resources:
5151
Type: AWS::Kinesis::Stream
5252
Properties:
5353
ShardCount: 1
54+
StreamEncryption:
55+
EncryptionType: KMS
56+
KeyId: alias/aws/kinesis

Diff for: examples/batch_processing/sam/sqs_batch_processing.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
AWSTemplateFormatVersion: '2010-09-09'
1+
AWSTemplateFormatVersion: "2010-09-09"
22
Transform: AWS::Serverless-2016-10-31
33
Description: partial batch response sample
44

@@ -37,6 +37,7 @@ Resources:
3737
Type: AWS::SQS::Queue
3838
Properties:
3939
VisibilityTimeout: 30 # Fn timeout * 6
40+
SqsManagedSseEnabled: true
4041
RedrivePolicy:
4142
maxReceiveCount: 2
4243
deadLetterTargetArn: !GetAtt SampleDLQ.Arn

0 commit comments

Comments
 (0)