aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap

AWS::SQS::Queue - [BUG] - Redrive Policy fields don't match docs

Open
#2,012 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
No language data
Stars
1.1k
Forks
62
PR merge metrics
No merged PRs in 30d

Description

### Name of the resource

AWS::SQS::Queue

### Resource Name

_No response_

### Issue Description

[RedriveAllowPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html#cfn-sqs-queue-redriveallowpolicy) and [RedrivePolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html#cfn-sqs-queue-redrivepolicy) are both defined in the schema with the type: `[ "object", "string" ]` but the documentation accurately describes the available sub-fields for each field.

### Expected Behavior

`RedriveAllowPolicy` should have two fields: `redrivePermission` and `sourceQueueArns`.

`RedrivePolicy` should have two fields: `deadLetterTargetArn` and `maxReceiveCount`.

### Observed Behavior

The schema describes them as either a string or an untyped "object".

### Test Cases

N/A

### Other Details

Related issue in the Pulumi provider: https://github.com/pulumi/pulumi-aws-native/issues/1329

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.