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

Error while using FulfillmentCodeHookSetting for Cloudformation of AWS::Lex::Bot

Open
#1,770 0 comments 0 reactions 0 assignees View on GitHub
bug NeedTriage
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::Lex::Bot

### Issue Description

I am unable to configure the FulfillmentCodeHookSetting via Cloudformation for the Lex Bot. I have attempted to set this config within the Intents parent, and also under the Bot parent.
Intents:
- Name: "IntentName"
FulfillmentCodeHookSetting:
Enabled: true

### Expected Behavior

The Lex Bot will deploy with the FulfillmentCodeHookSetting enabled.

### Observed Behavior

Cloudformation returns with the following error message:

### Test Cases

Use FulfillmentCodeHookSetting within the Intents parent of AWS::Lex::Bot; execute the Cloudformation stack and receive the error message:

CREATE_FAILED: (AWS::Lex::Bot)
Properties validation failed for resource with message:
#/Name: failed validation constraint for keyword [pattern]
#/BotLocales/0/Intents/0: extraneous key [FulfillmentCodeHookSetting] is not permitted

### Other Details

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the AWS::Lex::Bot CloudFormation resource and reproduce the stack using FulfillmentCodeHookSetting under Intents. Compare the accepted resource properties with the reported validation error; done means the property is supported in the intended location and the bot deploys successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.