# CustomPluginLocationProperty

Struct · External

Information about the location of a custom plugin.

- Source: Generated at build time
- Type last changed: v2.134.0 · 26 Mar 2024

## Example

TypeScript:

```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:

```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:

```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();
```

C#:

```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:

```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

- `s3Location`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCustomPlugin.S3LocationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kafkaconnect.CfnCustomPlugin.S3LocationProperty.html) (required) — The S3 bucket Amazon Resource Name (ARN), file key, and object version of the plugin file stored in Amazon S3.
