Skip to content
v2.278.0

CustomPluginLocationProperty ​

Struct External

Information about the location of a custom plugin.

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 customPluginLocationProperty: kafkaconnect.CfnCustomPlugin.CustomPluginLocationProperty = {
  s3Location: {
    bucketArn: 'bucketArn',
    fileKey: 'fileKey',

    // the properties below are optional
    objectVersion: 'objectVersion',
  },
};
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_location_property = kafkaconnect.CfnCustomPlugin.CustomPluginLocationProperty(
    s3_location=kafkaconnect.CfnCustomPlugin.S3LocationProperty(
        bucket_arn="bucketArn",
        file_key="fileKey",

        # the properties below are optional
        object_version="objectVersion"
    )
)
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.*;

CustomPluginLocationProperty customPluginLocationProperty = CustomPluginLocationProperty.builder()
        .s3Location(S3LocationProperty.builder()
                .bucketArn("bucketArn")
                .fileKey("fileKey")

                // the properties below are optional
                .objectVersion("objectVersion")
                .build())
        .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 customPluginLocationProperty = new CustomPluginLocationProperty {
    S3Location = new S3LocationProperty {
        BucketArn = "bucketArn",
        FileKey = "fileKey",

        // the properties below are optional
        ObjectVersion = "objectVersion"
    }
};
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"

customPluginLocationProperty := &CustomPluginLocationProperty{
	S3Location: &S3LocationProperty{
		BucketArn: jsii.String("bucketArn"),
		FileKey: jsii.String("fileKey"),

		// the properties below are optional
		ObjectVersion: jsii.String("objectVersion"),
	},
}

Properties ​

s3LocationIResolvable | CfnCustomPlugin.S3LocationPropertys3_locationtyping.Union[IResolvable, S3LocationProperty]s3LocationIResolvableS3LocationIResolvableS3Locationinterface{} required #
The S3 bucket Amazon Resource Name (ARN), file key, and object version of the plugin file stored in Amazon S3.