Cloudflare (API key)

CDN, DDoS mitigation, Internet security, and DNS services

Go to site

Integrate the Cloudflare (API key) API with the AWS API

Setup the Cloudflare (API key) API trigger to run a workflow which integrates with the AWS API. Pipedream's integration platform allows you to integrate Cloudflare (API key) and AWS remarkably fast. Free for developers.

S3 - Upload File

Accepts a base64-encoded string, a filename, and a content type, then uploads as a file to S3

 
Try it
AWS - SQS - Send Message

Sends a message to an SQS queue

 
Try it
S3 - Stream file to S3 from URL

Accepts a file URL, and streams the file to the provided S3 bucket/key

 
Try it
Create DNS Record

Creates a DNS Record given its zone id

 
Try it
Purge All Files

Remove ALL files from Cloudflare's cache.

 
Try it

Connect Cloudflare (API key)

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://api.cloudflare.com/client/v4/user`,
  headers: {
    "X-Auth-Key": `${auths.cloudflare_api_key.API_Key}`,
    "X-Auth-Email": `${auths.cloudflare_api_key.Email}`,
  },
})

Connect AWS

const AWS = require("aws-sdk")
const { accessKeyId, secretAccessKey } = auths.aws

/* Now, pass the accessKeyId and secretAccessKey to the constructor for your desired service. For example:

const dynamodb = new AWS.DynamoDB({
  accessKeyId, 
  secretAccessKey,
  region: 'us-east-1',
})

*/