All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.kinesisanalyticsv2.kotlin.outputs.ApplicationCodeContent.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.kinesisanalyticsv2.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Specifies either the application code, or the location of the application code, for a Flink-based Kinesis Data Analytics application.
 * @property s3ContentLocation Information about the Amazon S3 bucket that contains the application code.
 * @property textContent The text-format code for a Flink-based Kinesis Data Analytics application.
 * @property zipFileContent The zip-format code for a Flink-based Kinesis Data Analytics application.
 */
public data class ApplicationCodeContent(
    public val s3ContentLocation: ApplicationS3ContentLocation? = null,
    public val textContent: String? = null,
    public val zipFileContent: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.kinesisanalyticsv2.outputs.ApplicationCodeContent): ApplicationCodeContent = ApplicationCodeContent(
            s3ContentLocation = javaType.s3ContentLocation().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kinesisanalyticsv2.kotlin.outputs.ApplicationS3ContentLocation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            textContent = javaType.textContent().map({ args0 -> args0 }).orElse(null),
            zipFileContent = javaType.zipFileContent().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy