1 Answer
- Newest
- Most votes
- Most comments
1
To create an Intent for an Amazon Lex bot using CloudFormation, you can use a combination of AWS::Lex::Bot and AWS::Lex::BotVersion resources. Here's an example CloudFormation template snippet that demonstrates creating a Lex bot with an Intent:
Resources: MyLexBot: Type: "AWS::Lex::Bot" Properties: Name: "MyLexBot" Description: "My Amazon Lex Bot" Intents: - IntentName: "MyIntent" IntentVersion: "1" FulfillmentActivity: Type: "ReturnIntent" SampleUtterances: - "Hello" - "Goodbye"
MyLexBotAlias: Type: "AWS::Lex::BotVersion" Properties: Name: "MyLexBotAlias" BotName: !Ref MyLexBot
answered 2 months ago
Relevant content
- asked 9 months ago
- asked 2 years ago
- asked 4 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 2 years ago