问题
I found an interesting github link for automating the way to import the AWS connect flow from CloudFormation: https://github.com/iann0036/amazon-connect-cfn/blob/master/example_stack.yaml
It is working as expected. but this way is very complicated to frame the complete segment of connect flow in the cloudformation.yaml itself.
myConnectContactFlow:
Type: "AWS::Connect::ContactFlow"
Properties:
ConnectInstance: !GetAtt myConnectInstance.Domain
Name: "myFlow"
Description: "An example flow"
States:
- Id: "play"
Start: true
Type: "PlayPrompt"
Parameters:
- Name: "Text"
Value: "You have called an Amazon Connect instance"
- Name: "TextToSpeechType"
Value: "text"
Branches:
- Destination: "disconnect"
Condition: "Success"
- Id: "disconnect"
Type: "Disconnect"
I am looking for a way to achieve the following:
- where we export the Amazon connect flow from one instance
- push the exported connect flow (json) to S3 bucket in another instance.
(NOTE: Till this I have automated already, I am looking for the solution for following) - Now using the CloudFormation, import the connect flow (json) in S3 to the Amazon connect instance.
If there is a better way to achieve this welcome for your thoughts too.
来源:https://stackoverflow.com/questions/62159014/amazon-connect-and-cloudformation