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
Idawscc.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.

For more information, see AWS::AppFlow::ConnectorProfile.

Methods

NameResourceAccessible byRequired Params
create_resourceconnector_profilesINSERTConnectorProfileName, ConnectionMode, ConnectorType, region
delete_resourceconnector_profilesDELETEIdentifier, region
update_resourceconnector_profilesUPDATEIdentifier, PatchDocument, region
list_resourcesconnector_profiles_list_onlySELECTregion
get_resourceconnector_profilesSELECTIdentifier, region

SELECT examples

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 awscc.appflow.connector_profiles
WHERE
region = 'us-east-1' AND
Identifier = '{{ connector_profile_name }}';

INSERT example

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

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

UPDATE example

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

/*+ update */
UPDATE awscc.appflow.connector_profiles
SET PatchDocument = string('{{ {
"KMSArn": kms_arn,
"ConnectionMode": connection_mode,
"ConnectorProfileConfig": connector_profile_config
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ connector_profile_name }}';

DELETE example

/*+ delete */
DELETE FROM awscc.appflow.connector_profiles
WHERE
Identifier = '{{ connector_profile_name }}' AND
region = 'us-east-1';

Permissions

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

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