Amazon Connect and CloudFormation

孤街醉人 提交于 2020-06-13 12:29:09

问题


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:

  1. where we export the Amazon connect flow from one instance
  2. 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)
  3. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!