[ 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 | --cli-input-yaml]
[--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 | --cli-input-yaml (string) Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those 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. This may not be specified along with --cli-input-yaml.

--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. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. 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.