Skip to main content

connector_profiles

Creates, updates, deletes or gets a connector_profile resource or lists connector_profiles in a region

Overview

Nameconnector_profiles
TypeResource
DescriptionResource Type definition for AWS::AppFlow::ConnectorProfile
Idaws.appflow.connector_profiles

Fields

NameDatatypeDescription
connector_profile_arnstringUnique identifier for connector profile resources
connector_labelstringThe label of the connector. The label is unique for each ConnectorRegistration in your AWS account. Only needed if calling for CUSTOMCONNECTOR connector type/.
connector_profile_namestringThe maximum number of items to retrieve in a single batch.
kms_arnstringThe ARN of the AWS Key Management Service (AWS KMS) key that's used to encrypt your function's environment variables. If it's not provided, AWS Lambda uses a default service key.
connector_typestringList of Saas providers that need connector profile to be created
connection_modestringMode in which data transfer should be enabled. Private connection mode is currently enabled for Salesforce, Snowflake, Trendmicro and Singular
connector_profile_configobjectConnector specific configurations needed to create connector profile
credentials_arnstringA unique Arn for Connector-Profile resource
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTConnectorProfileName, ConnectionMode, ConnectorType, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all connector_profiles in a region.

SELECT
region,
connector_profile_arn,
connector_label,
connector_profile_name,
kms_arn,
connector_type,
connection_mode,
connector_profile_config,
credentials_arn
FROM aws.appflow.connector_profiles
WHERE region = 'us-east-1';

Gets all properties from an individual connector_profile.

SELECT
region,
connector_profile_arn,
connector_label,
connector_profile_name,
kms_arn,
connector_type,
connection_mode,
connector_profile_config,
credentials_arn
FROM aws.appflow.connector_profiles
WHERE region = 'us-east-1' AND data__Identifier = '<ConnectorProfileName>';

INSERT example

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

/*+ create */
INSERT INTO aws.appflow.connector_profiles (
ConnectorProfileName,
ConnectorType,
ConnectionMode,
region
)
SELECT
'{{ ConnectorProfileName }}',
'{{ ConnectorType }}',
'{{ ConnectionMode }}',
'{{ region }}';

DELETE example

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

Permissions

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

Create

appflow:CreateConnectorProfile,
kms:ListKeys,
kms:DescribeKey,
kms:ListAliases,
kms:CreateGrant,
kms:ListGrants,
iam:PassRole,
secretsmanager:CreateSecret,
secretsmanager:GetSecretValue,
secretsmanager:PutResourcePolicy

Delete

appflow:DeleteConnectorProfile

List

appflow:DescribeConnectorProfiles

Read

appflow:DescribeConnectorProfiles

Update

appflow:UpdateConnectorProfile,
kms:ListKeys,
kms:DescribeKey,
kms:ListAliases,
kms:CreateGrant,
kms:ListGrants,
iam:PassRole,
secretsmanager:CreateSecret,
secretsmanager:GetSecretValue,
secretsmanager:PutResourcePolicy