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 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