Skip to content
v2.278.0

CustomPluginProperty ​

Struct External

A plugin is an AWS resource that contains the code that defines a connector's logic.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kafkaconnect as kafkaconnect } from 'aws-cdk-lib';
const customPluginProperty: kafkaconnect.CfnConnector.CustomPluginProperty = {
  customPluginArn: 'customPluginArn',
  revision: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_kafkaconnect as kafkaconnect

custom_plugin_property = kafkaconnect.CfnConnector.CustomPluginProperty(
    custom_plugin_arn="customPluginArn",
    revision=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kafkaconnect.*;

CustomPluginProperty customPluginProperty = CustomPluginProperty.builder()
        .customPluginArn("customPluginArn")
        .revision(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.KafkaConnect;

var customPluginProperty = new CustomPluginProperty {
    CustomPluginArn = "customPluginArn",
    Revision = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

customPluginProperty := &CustomPluginProperty{
	CustomPluginArn: jsii.String("customPluginArn"),
	Revision: jsii.Number(123),
}

Properties ​

customPluginArnstringcustom_plugin_arnstrcustomPluginArnStringCustomPluginArnstringCustomPluginArn*string required #
The Amazon Resource Name (ARN) of the custom plugin.
revisionnumberrevisionint | floatrevisionNumberRevisiondoubleRevision*float64 required #
The revision of the custom plugin.