Skip to main content

connectors

Creates, updates, deletes or gets a connector resource or lists connectors in a region

Overview

Nameconnectors
TypeResource
DescriptionResource schema for AWS::AppFlow::Connector
Idaws.appflow.connectors

Fields

NameDatatypeDescription
connector_labelstringThe name of the connector. The name is unique for each ConnectorRegistration in your AWS account.
connector_arnstringThe arn of the connector. The arn is unique for each ConnectorRegistration in your AWS account.
connector_provisioning_typestringThe provisioning type of the connector. Currently the only supported value is LAMBDA.
connector_provisioning_configobjectContains information about the configuration of the connector being registered.
descriptionstringA description about the connector that's being registered.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTConnectorProvisioningType, ConnectorProvisioningConfig, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all connectors in a region.

SELECT
region,
connector_label,
connector_arn,
connector_provisioning_type,
connector_provisioning_config,
description
FROM aws.appflow.connectors
WHERE region = 'us-east-1';

Gets all properties from an individual connector.

SELECT
region,
connector_label,
connector_arn,
connector_provisioning_type,
connector_provisioning_config,
description
FROM aws.appflow.connectors
WHERE region = 'us-east-1' AND data__Identifier = '<ConnectorLabel>';

INSERT example

Use the following StackQL query and manifest file to create a new connector resource, using stack-deploy.

/*+ create */
INSERT INTO aws.appflow.connectors (
ConnectorProvisioningType,
ConnectorProvisioningConfig,
region
)
SELECT
'{{ ConnectorProvisioningType }}',
'{{ ConnectorProvisioningConfig }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.appflow.connectors
WHERE data__Identifier = '<ConnectorLabel>'
AND region = 'us-east-1';

Permissions

To operate on the connectors resource, the following permissions are required:

Create

appflow:RegisterConnector,
lambda:InvokeFunction

Read

appflow:DescribeConnector

Delete

appflow:UnRegisterConnector

List

appflow:ListConnectors

Update

appflow:UpdateConnectorRegistration,
lambda:InvokeFunction