Skip to main content

custom_plugins

Creates, updates, deletes, gets or lists a custom_plugins resource.

Overview

Namecustom_plugins
TypeResource
Idaws.kafkaconnect.custom_plugins

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the custom plugin.
creation_timestring (date-time)The time that the custom plugin was created.
custom_plugin_arnstringThe Amazon Resource Name (ARN) of the custom plugin.
custom_plugin_statestringThe state of the custom plugin. (CREATING, CREATE_FAILED, ACTIVE, UPDATING, UPDATE_FAILED, DELETING)
descriptionstringThe description of the custom plugin.
latest_revisionobjectThe latest successfully created revision of the custom plugin. If there are no successfully created revisions, this field will be absent.
state_descriptionobjectDetails about the state of a custom plugin.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_custom_pluginselectcustom_plugin_arn, regionA summary description of the custom plugin.
list_custom_pluginsselectregionmaxResults, nextToken, namePrefixReturns a list of all of the custom plugins in this account and Region.
create_custom_plugininsertregion, contentType, location, nameCreates a custom plugin using the specified properties.
delete_custom_plugindeletecustom_plugin_arn, regionDeletes a custom plugin.

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
custom_plugin_arnstringThe Amazon Resource Name (ARN) of the custom plugin that you want to delete.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of custom plugins to list in one response.
namePrefixstringLists custom plugin names that start with the specified text string.
nextTokenstringIf the response of a ListCustomPlugins operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where the previous operation left off.

SELECT examples

A summary description of the custom plugin.

SELECT
name,
creation_time,
custom_plugin_arn,
custom_plugin_state,
description,
latest_revision,
state_description
FROM aws.kafkaconnect.custom_plugins
WHERE custom_plugin_arn = '{{ custom_plugin_arn }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates a custom plugin using the specified properties.

INSERT INTO aws.kafkaconnect.custom_plugins (
contentType,
description,
location,
name,
tags,
region
)
SELECT
'{{ contentType }}' /* required */,
'{{ description }}',
'{{ location }}' /* required */,
'{{ name }}' /* required */,
'{{ tags }}',
'{{ region }}'
RETURNING
name,
custom_plugin_arn,
custom_plugin_state,
revision
;

DELETE examples

Deletes a custom plugin.

DELETE FROM aws.kafkaconnect.custom_plugins
WHERE custom_plugin_arn = '{{ custom_plugin_arn }}' --required
AND region = '{{ region }}' --required
;