Skip to main content

integration_resource_properties

Creates, updates, deletes, gets or lists an integration_resource_properties resource.

Overview

Nameintegration_resource_properties
TypeResource
Idaws.glue.integration_resource_properties

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
resource_arnstringThe connection ARN of the source, or the database ARN of the target.
resource_property_arnstringThe resource ARN created through this create API. The format is something like arn:aws:glue:<region>:<account_id>:integrationresourceproperty/*
source_processing_propertiesobjectThe resource properties associated with the integration source.
target_processing_propertiesobjectThe resource properties associated with the integration target.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_integration_resource_propertyselectregionThis API is used for fetching the ResourceProperty of the Glue connection (for the source) or Glue database ARN (for the target)
list_integration_resource_propertiesselectregionList integration resource properties for a single customer. It supports the filters, maxRecords and markers.
create_integration_resource_propertyinsertregion, ResourceArnThis API can be used for setting up the ResourceProperty of the Glue connection (for the source) or Glue database ARN (for the target). These properties can include the role to access the connection or database. To set both source and target properties the same API needs to be invoked with the Glue connection ARN as ResourceArn with SourceProcessingProperties and the Glue database ARN as ResourceArn with TargetProcessingProperties respectively.
update_integration_resource_propertyupdateregion, ResourceArnThis API can be used for updating the ResourceProperty of the Glue connection (for the source) or Glue database ARN (for the target). These properties can include the role to access the connection or database. Since the same resource can be used across multiple integrations, updating resource properties will impact all the integrations using it.
delete_integration_resource_propertydeleteregionThis API is used for deleting the ResourceProperty of the Glue connection (for the source) or Glue database ARN (for the target).

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

This API is used for fetching the ResourceProperty of the Glue connection (for the source) or Glue database ARN (for the target)

SELECT
resource_arn,
resource_property_arn,
source_processing_properties,
target_processing_properties
FROM aws.glue.integration_resource_properties
WHERE region = '{{ region }}' -- required
;

INSERT examples

This API can be used for setting up the ResourceProperty of the Glue connection (for the source) or Glue database ARN (for the target). These properties can include the role to access the connection or database. To set both source and target properties the same API needs to be invoked with the Glue connection ARN as ResourceArn with SourceProcessingProperties and the Glue database ARN as ResourceArn with TargetProcessingProperties respectively.

INSERT INTO aws.glue.integration_resource_properties (
ResourceArn,
SourceProcessingProperties,
TargetProcessingProperties,
Tags,
region
)
SELECT
'{{ ResourceArn }}' /* required */,
'{{ SourceProcessingProperties }}',
'{{ TargetProcessingProperties }}',
'{{ Tags }}',
'{{ region }}'
RETURNING
resource_arn,
resource_property_arn,
source_processing_properties,
target_processing_properties
;

UPDATE examples

This API can be used for updating the ResourceProperty of the Glue connection (for the source) or Glue database ARN (for the target). These properties can include the role to access the connection or database. Since the same resource can be used across multiple integrations, updating resource properties will impact all the integrations using it.

UPDATE aws.glue.integration_resource_properties
SET
ResourceArn = '{{ ResourceArn }}',
SourceProcessingProperties = '{{ SourceProcessingProperties }}',
TargetProcessingProperties = '{{ TargetProcessingProperties }}'
WHERE
region = '{{ region }}' --required
AND ResourceArn = '{{ ResourceArn }}' --required
RETURNING
resource_arn,
resource_property_arn,
source_processing_properties,
target_processing_properties;

DELETE examples

This API is used for deleting the ResourceProperty of the Glue connection (for the source) or Glue database ARN (for the target).

DELETE FROM aws.glue.integration_resource_properties
WHERE region = '{{ region }}' --required
;