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
preguntada hace 2 meses284 visualizaciones
1 Respuesta
1
Respuesta aceptada

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
respondido hace 2 meses
profile picture
EXPERTO
revisado hace un mes

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas