Cloudformation AWS Lex Bot Intent

0

How to declare an Intent in a CloudFormation file? When I try to use the type "AWS::Lex::Bot Intent" it doesn't work... Is it possible or I need to create the Intent with aws cli/console?

kaue
질문됨 2달 전284회 조회
1개 답변
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

profile picture
SOKHIM
답변함 2달 전
profile picture
전문가
검토됨 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠