aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap
[AWS::BedrockAgentCore::Gateway] - [Docs] - name constraint is incorrect
- Dominant language
- No language data
- Stars
- 1.1k
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
### Name of the resource
Other
### Resource name
AWS::BedrockAgentCore::Gateway
### Reference Link
https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-name
### Details
The documentation states the name pattern is `^([0-9a-zA-Z][-]?){1,100}$`, implying a maximum of 100 characters. However, the actual limit is 48 characters.
This appears to be a documentation error.
```
Resource handler returned message: "1 validation error detected: Value 'awscdkbedrockagentcoreminimalpropsGateway1CF1FD0D' at 'name' failed to satisfy constraint: Member must satisfy regular expression pattern: ([0-9a-zA-Z][-]?){1,48} (Service: BedrockAgentCoreControl, Status Code: 400, Request ID: acaad2e2-8fd1-4091-a75a-7a631d3686ce) (SDK Attempt Count: 1)" (RequestToken: 14d8244a-70a4-2a09-40f9-505bebebad6a, HandlerErrorCode: InvalidRequest)
```
Contributor guide
Research direction
Start with the Name property at the linked AWS CloudFormation resource documentation page for AWS::BedrockAgentCore::Gateway. Compare the documented pattern with the validation error in the issue. Done means the documentation reflects the actual 48-character constraint.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 72/100