(aws-sqs): default encryption of `SSE-SQS` is not explicitly set

Open Beginner friendly
#24,993 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
aws, typescript

Research direction

Read packages/aws-cdk-lib/aws-sqs/lib/queue.ts at the linked lines, comparing the default encryption path with the explicit SQS_MANAGED path. Reproduce the issue by synthesizing a default SQS Queue and inspecting its CloudFormation output; done means the output includes sqsManagedSseEnabled: true.

Written by the indexing model from the issue text.

Description

@aws-cdk/aws-sqs bug effort/small p2
Describe the bug

Right now, an SQS Queue has SQS_MANAGED (SSE-SQS) enabled by default. This, however, is implicit and should be explicit, setting the same properties as if SQS_MANAGED was explicitly set.

Expected Behavior

I expect the default Queue to create a CFN Resource with the the following property: sqsManagedSseEnabled: true

Current Behavior

There is no sqsManagedSseEnabled: true property set, instead it assumes SSE-SQS is enabled at the region.

Reproduction Steps

Create a SQS queue and examine its CFN output.

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.70

Framework Version

No response

Node.js Version

16.3.0

OS

Mac

Language

Python

Language Version

No response

Other information

No response

Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
71

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aws/aws-cdk

All issues in aws/aws-cdk

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.