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'
    },
    Tags=[
        {
            'key': 'string',
            'value': '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.

  • Tags (list) –

    Metadata assigned to the resource consisting of a list of key-value pairs.

    • (dict) –

      The Tag object represents a label that you can assign to an Amazon Web Services resource. Each tag consists of a key and an optional value, both of which you define.

      For more information about tags, and controlling access to resources in Glue, see Amazon Web Services Tags in Glue and Specifying Glue Resource ARNs in the developer guide.

      • key (string) –

        The tag key. The key is required when you create a tag on an object. The key is case-sensitive, and must not contain the prefix aws.

      • value (string) –

        The tag value. The value is optional when you create a tag on an object. The value is case-sensitive, and must not contain the prefix aws.

Return type:

dict

Returns:

Response Syntax

{
    'ResourceArn': 'string',
    'ResourcePropertyArn': '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.

    • ResourcePropertyArn (string) –

      The resource ARN created through this create API. The format is something like arn:aws:glue:<region>:<account_id>:integrationresourceproperty/*

    • 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