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

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

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

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

import com.pulumi.awsnative.kinesisanalyticsv2.kotlin.enums.ApplicationCustomArtifactConfigurationArtifactType
import kotlin.Suppress

/**
 * The configuration of connectors and user-defined functions.
 * @property artifactType Set this to either `UDF` or `DEPENDENCY_JAR`. `UDF` stands for user-defined functions. This type of artifact must be in an S3 bucket. A `DEPENDENCY_JAR` can be in either Maven or an S3 bucket.
 * @property mavenReference The parameters required to fully specify a Maven reference.
 * @property s3ContentLocation The location of the custom artifacts.
 */
public data class ApplicationCustomArtifactConfiguration(
    public val artifactType: ApplicationCustomArtifactConfigurationArtifactType,
    public val mavenReference: ApplicationMavenReference? = null,
    public val s3ContentLocation: ApplicationS3ContentLocation? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.kinesisanalyticsv2.outputs.ApplicationCustomArtifactConfiguration): ApplicationCustomArtifactConfiguration = ApplicationCustomArtifactConfiguration(
            artifactType = javaType.artifactType().let({ args0 ->
                com.pulumi.awsnative.kinesisanalyticsv2.kotlin.enums.ApplicationCustomArtifactConfigurationArtifactType.Companion.toKotlin(args0)
            }),
            mavenReference = javaType.mavenReference().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kinesisanalyticsv2.kotlin.outputs.ApplicationMavenReference.Companion.toKotlin(args0)
                })
            }).orElse(null),
            s3ContentLocation = javaType.s3ContentLocation().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kinesisanalyticsv2.kotlin.outputs.ApplicationS3ContentLocation.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy