aws-cloudformation-custom-resource

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"

Access API gateway endpoint in cloudformation using custom resource

久未见 提交于 2020-05-31 04:06:36
问题 I want to be able to call a API gateway endpoint from within cloudformation and parse the response from the output and pass in relevant information to one of the other service in the cloudformation. I have an api endpoint https://123x123x.execute-api.eu-west-2.amazonaws.com/myendpoint/tenants with x-api-key: b8Yk6m63rq8XRnMDKa2PeWE3KvBcU7ZyFIn0Vvrty Content-Type: application/json which returns { "tenants": [ { "tenantId": "tenant-1234", "AZ": "us-west-2c", "tenantUsers": 24, "instanceType":

Access API gateway endpoint in cloudformation using custom resource

拈花ヽ惹草 提交于 2020-05-31 04:06:11
问题 I want to be able to call a API gateway endpoint from within cloudformation and parse the response from the output and pass in relevant information to one of the other service in the cloudformation. I have an api endpoint https://123x123x.execute-api.eu-west-2.amazonaws.com/myendpoint/tenants with x-api-key: b8Yk6m63rq8XRnMDKa2PeWE3KvBcU7ZyFIn0Vvrty Content-Type: application/json which returns { "tenants": [ { "tenantId": "tenant-1234", "AZ": "us-west-2c", "tenantUsers": 24, "instanceType":

AWS Cloudformation- How to do string Uppercase or lowercase in json/yaml template

谁都会走 提交于 2020-01-13 05:16:11
问题 I am working on AWS CloudFormation and I created one template in which I asked user to select Environment. On the basis of selected value I created the resources. User have to select between DEV, QA, PROD, UAT etc. but when I suffix this value to S3 bucket name (-downloads.com) it not allowed because capital letter is not allowed in S3 bucket name. So I did change in JSON where I use fn::Transform with "Condition":"Lower" but then while creating resources below error occurs. No transform

Does CDK perform orchestration ? apart from provisioning

孤街醉人 提交于 2019-12-02 21:20:36
问题 We used CloudFormation/Terraform for provisioning resources in AWS. Provisioning is about creating a new state or transforming one state to another. We used ansible tool to orchestrate provisioning Automation may be used on the single system. Orchestration takes the automation and coordinates the process between multiple systems. Usually because one system may be dependent on another system before it can accomplish its task. You cannot have orchestration without automation. So, Orchestration