Skip to main content

data_providers

Creates, updates, deletes or gets a data_provider resource or lists data_providers in a region

Overview

Namedata_providers
TypeResource
DescriptionResource schema for AWS::DMS::DataProvider
Idawscc.dms.data_providers

Fields

NameDatatypeDescription
data_provider_namestringThe property describes a name to identify the data provider.
data_provider_identifierstringThe property describes an identifier for the data provider. It is used for describing/deleting/modifying can be name/arn
data_provider_arnstringThe data provider ARN.
data_provider_creation_timestringThe data provider creation time.
descriptionstringThe optional description of the data provider.
enginestringThe property describes a data engine for the data provider.
exact_settingsbooleanThe property describes the exact settings which can be modified
settingsobjectThe property identifies the exact type of settings for the data provider.
tagsarrayAn array of key-value pairs to apply to this resource.
regionstringAWS region.

For more information, see AWS::DMS::DataProvider.

Methods

NameResourceAccessible byRequired Params
create_resourcedata_providersINSERTEngine, region
delete_resourcedata_providersDELETEIdentifier, region
update_resourcedata_providersUPDATEIdentifier, PatchDocument, region
list_resourcesdata_providers_list_onlySELECTregion
get_resourcedata_providersSELECTIdentifier, region

SELECT examples

Gets all properties from an individual data_provider.

SELECT
region,
data_provider_name,
data_provider_identifier,
data_provider_arn,
data_provider_creation_time,
description,
engine,
exact_settings,
settings,
tags
FROM awscc.dms.data_providers
WHERE
region = 'us-east-1' AND
Identifier = '{{ data_provider_arn }}';

INSERT example

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

/*+ create */
INSERT INTO awscc.dms.data_providers (
Engine,
region
)
SELECT
'{{ engine }}',
'{{ region }}';

UPDATE example

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

/*+ update */
UPDATE awscc.dms.data_providers
SET PatchDocument = string('{{ {
"DataProviderName": data_provider_name,
"DataProviderIdentifier": data_provider_identifier,
"Description": description,
"Engine": engine,
"ExactSettings": exact_settings,
"Settings": settings,
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ data_provider_arn }}';

DELETE example

/*+ delete */
DELETE FROM awscc.dms.data_providers
WHERE
Identifier = '{{ data_provider_arn }}' AND
region = 'us-east-1';

Permissions

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

dms:CreateDataProvider,
dms:ListDataProviders,
dms:DescribeDataProviders,
dms:AddTagsToResource,
dms:ListTagsForResource,
iam:GetRole,
iam:PassRole