Skip to content

ConnectorProfile

Source: src/AWS/AppFlow/ConnectorProfile.ts

An Amazon AppFlow connector profile. A connector profile stores the connection settings and credentials for a SaaS/data-warehouse connector (Salesforce, Snowflake, Redshift, etc.) so flows can reference it.

Most connectors require vendor credentials obtained through a human-in-the-loop OAuth or API-key step, so a connector profile’s live lifecycle generally cannot be created purely programmatically. S3 and EventBridge flows do not need a connector profile at all.

const profile = yield* AppFlow.ConnectorProfile("Warehouse", {
connectorProfileName: "warehouse",
connectorType: "Redshift",
connectionMode: "Public",
connectorProfileConfig: {
connectorProfileProperties: {
Redshift: {
databaseUrl: "jdbc:redshift://cluster:5439/db",
bucketName: "appflow-staging",
roleArn: role.roleArn,
},
},
connectorProfileCredentials: {
Redshift: { username: "admin", password: "..." },
},
},
});