Skip to main content

data_integrations

Creates, updates, deletes or gets a data_integration resource or lists data_integrations in a region

Overview

Namedata_integrations
TypeResource
DescriptionResource Type definition for AWS::AppIntegrations::DataIntegration
Idawscc.appintegrations.data_integrations

Fields

NameDatatypeDescription
descriptionstringThe data integration description.
idstringThe unique identifer of the data integration.
data_integration_arnstringThe Amazon Resource Name (ARN) of the data integration.
namestringThe name of the data integration.
kms_keystringThe KMS key of the data integration.
schedule_configobjectThe name of the data and how often it should be pulled from the source.
source_uristringThe URI of the data source.
tagsarrayThe tags (keys and values) associated with the data integration.
file_configurationobjectThe configuration for what files should be pulled from the source.
object_configurationobjectThe configuration for what data should be pulled from the source.
regionstringAWS region.

For more information, see AWS::AppIntegrations::DataIntegration.

Methods

NameResourceAccessible byRequired Params
create_resourcedata_integrationsINSERTName, KmsKey, SourceURI, region
delete_resourcedata_integrationsDELETEIdentifier, region
update_resourcedata_integrationsUPDATEIdentifier, PatchDocument, region
list_resourcesdata_integrations_list_onlySELECTregion
get_resourcedata_integrationsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual data_integration.

SELECT
region,
description,
id,
data_integration_arn,
name,
kms_key,
schedule_config,
source_uri,
tags,
file_configuration,
object_configuration
FROM awscc.appintegrations.data_integrations
WHERE
region = 'us-east-1' AND
Identifier = '{{ id }}';

INSERT example

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

/*+ create */
INSERT INTO awscc.appintegrations.data_integrations (
Name,
KmsKey,
SourceURI,
region
)
SELECT
'{{ name }}',
'{{ kms_key }}',
'{{ source_uri }}',
'{{ region }}';

UPDATE example

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

/*+ update */
UPDATE awscc.appintegrations.data_integrations
SET PatchDocument = string('{{ {
"Description": description,
"Name": name,
"Tags": tags,
"FileConfiguration": file_configuration,
"ObjectConfiguration": object_configuration
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ id }}';

DELETE example

/*+ delete */
DELETE FROM awscc.appintegrations.data_integrations
WHERE
Identifier = '{{ id }}' AND
region = 'us-east-1';

Permissions

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

app-integrations:CreateDataIntegration,
app-integrations:TagResource,
appflow:DescribeConnectorProfiles,
appflow:CreateFlow,
appflow:DeleteFlow,
appflow:DescribeConnectorEntity,
appflow:UseConnectorProfile,
appflow:TagResource,
appflow:UntagResource,
kms:CreateGrant,
kms:DescribeKey,
kms:ListAliases,
kms:ListGrants,
kms:ListKeys,
s3:GetBucketNotification,
s3:PutBucketNotification,
s3:GetEncryptionConfiguration