import * as core from "@terrascript/core"; export interface S3Args extends core.SchemaArgs { bucketArn: string | core.StringOut; fileKey: string | core.StringOut; objectVersion?: string | core.StringOut; } export class S3 extends core.Schema { @core.attr(String) public bucketArn!: string | core.StringOut; @core.attr(String) public fileKey!: string | core.StringOut; @core.attr(String) public objectVersion?: string | core.StringOut; } export interface LocationArgs extends core.SchemaArgs { s3: S3; } export class Location extends core.Schema { @core.attr(S3) public s3!: S3; } export interface MskconnectCustomPluginArgs extends core.ResourceArgs { /** * (Required) The type of the plugin file. Allowed values are `ZIP` and `JAR`. */ contentType: string | core.StringOut; /** * (Optional) A summary description of the custom plugin. */ description?: string | core.StringOut; /** * (Required) Information about the location of a custom plugin. See below. */ location: Location; /** * (Required) The name of the custom plugin.. */ name: string | core.StringOut; } export class MskconnectCustomPlugin extends core.Resource { /** * the Amazon Resource Name (ARN) of the custom plugin. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Required) The type of the plugin file. Allowed values are `ZIP` and `JAR`. */ @core.attr(String) public contentType!: string | core.StringOut; /** * (Optional) A summary description of the custom plugin. */ @core.attr(String) public description?: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * an ID of the latest successfully created revision of the custom plugin. */ @core.attr(Number, { computed: true }) public latestRevision!: number | core.NumberOut; /** * (Required) Information about the location of a custom plugin. See below. */ @core.attr(Location) public location!: Location; /** * (Required) The name of the custom plugin.. */ @core.attr(String) public name!: string | core.StringOut; /** * the state of the custom plugin. */ @core.attr(String, { computed: true }) public state!: string | core.StringOut; constructor(name: string, args?: MskconnectCustomPluginArgs) { super(name, "aws_mskconnect_custom_plugin", args); } public override getNamespace(): string { return "aws_managed_streaming_for_kafka_connect"; } }