Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

Note: You are viewing the documentation for an older major version of the AWS CLI (version 1).

AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ aws . kafkaconnect ]

create-custom-plugin

Description

Creates a custom plugin using the specified properties.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  create-custom-plugin
--content-type <value>
[--description <value>]
--location <value>
--name <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--content-type (string)

The type of the plugin file.

Possible values:

  • JAR
  • ZIP

--description (string)

A summary description of the custom plugin.

--location (structure)

Information about the location of a custom plugin.

s3Location -> (structure)

The S3 bucket Amazon Resource Name (ARN), file key, and object version of the plugin file stored in Amazon S3.

bucketArn -> (string)

The Amazon Resource Name (ARN) of an S3 bucket.

fileKey -> (string)

The file key for an object in an S3 bucket.

objectVersion -> (string)

The version of an object in an S3 bucket.

Shorthand Syntax:

s3Location={bucketArn=string,fileKey=string,objectVersion=string}

JSON Syntax:

{
  "s3Location": {
    "bucketArn": "string",
    "fileKey": "string",
    "objectVersion": "string"
  }
}

--name (string)

The name of the custom plugin.

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Output

customPluginArn -> (string)

The Amazon Resource Name (ARN) that Amazon assigned to the custom plugin.

customPluginState -> (string)

The state of the custom plugin.

name -> (string)

The name of the custom plugin.

revision -> (long)

The revision of the custom plugin.