Glue / Client / create_integration_resource_property

create_integration_resource_property#

Glue.Client.create_integration_resource_property(**kwargs)#

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.

See also: AWS API Documentation

Request Syntax

response = client.create_integration_resource_property(
    ResourceArn='string',
    SourceProcessingProperties={
        'RoleArn': 'string'
    },
    TargetProcessingProperties={
        'RoleArn': 'string',
        'KmsArn': 'string',
        'ConnectionName': 'string',
        'EventBusArn': 'string'
    }
)
Parameters:
  • ResourceArn (string) –

    [REQUIRED]

    The connection ARN of the source, or the database ARN of the target.

  • SourceProcessingProperties (dict) –

    The resource properties associated with the integration source.

    • RoleArn (string) –

      The IAM role to access the Glue connection.

  • TargetProcessingProperties (dict) –

    The resource properties associated with the integration target.

    • RoleArn (string) –

      The IAM role to access the Glue database.

    • KmsArn (string) –

      The ARN of the KMS key used for encryption.

    • ConnectionName (string) –

      The Glue network connection to configure the Glue job running in the customer VPC.

    • EventBusArn (string) –

      The ARN of an Eventbridge event bus to receive the integration status notification.

Return type:

dict

Returns:

Response Syntax

{
    'ResourceArn': 'string',
    'SourceProcessingProperties': {
        'RoleArn': 'string'
    },
    'TargetProcessingProperties': {
        'RoleArn': 'string',
        'KmsArn': 'string',
        'ConnectionName': 'string',
        'EventBusArn': 'string'
    }
}

Response Structure

  • (dict) –

    • ResourceArn (string) –

      The connection ARN of the source, or the database ARN of the target.

    • SourceProcessingProperties (dict) –

      The resource properties associated with the integration source.

      • RoleArn (string) –

        The IAM role to access the Glue connection.

    • TargetProcessingProperties (dict) –

      The resource properties associated with the integration target.

      • RoleArn (string) –

        The IAM role to access the Glue database.

      • KmsArn (string) –

        The ARN of the KMS key used for encryption.

      • ConnectionName (string) –

        The Glue network connection to configure the Glue job running in the customer VPC.

      • EventBusArn (string) –

        The ARN of an Eventbridge event bus to receive the integration status notification.

Exceptions

  • Glue.Client.exceptions.ValidationException

  • Glue.Client.exceptions.AccessDeniedException

  • Glue.Client.exceptions.ConflictException

  • Glue.Client.exceptions.InternalServerException

  • Glue.Client.exceptions.ResourceNotFoundException

  • Glue.Client.exceptions.EntityNotFoundException

  • Glue.Client.exceptions.InternalServiceException

  • Glue.Client.exceptions.InvalidInputException