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

com.pulumi.aws.kinesis.kotlin.inputs.FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationSchemaConfigurationArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.aws.kinesis.kotlin.inputs

import com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationSchemaConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property catalogId The ID of the AWS Glue Data Catalog. If you don't supply this, the AWS account ID is used by default.
 * @property databaseName Specifies the name of the AWS Glue database that contains the schema for the output data.
 * @property region If you don't specify an AWS Region, the default is the current region.
 * @property roleArn The role that Kinesis Data Firehose can use to access AWS Glue. This role must be in the same account you use for Kinesis Data Firehose. Cross-account roles aren't allowed.
 * @property tableName Specifies the AWS Glue table that contains the column information that constitutes your data schema.
 * @property versionId Specifies the table version for the output data schema. Defaults to `LATEST`.
 */
public data class
FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationSchemaConfigurationArgs(
    public val catalogId: Output? = null,
    public val databaseName: Output,
    public val region: Output? = null,
    public val roleArn: Output,
    public val tableName: Output,
    public val versionId: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationSchemaConfigurationArgs =
        com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationSchemaConfigurationArgs.builder()
            .catalogId(catalogId?.applyValue({ args0 -> args0 }))
            .databaseName(databaseName.applyValue({ args0 -> args0 }))
            .region(region?.applyValue({ args0 -> args0 }))
            .roleArn(roleArn.applyValue({ args0 -> args0 }))
            .tableName(tableName.applyValue({ args0 -> args0 }))
            .versionId(versionId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationSchemaConfigurationArgs].
 */
@PulumiTagMarker
public class
FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationSchemaConfigurationArgsBuilder
internal constructor() {
    private var catalogId: Output? = null

    private var databaseName: Output? = null

    private var region: Output? = null

    private var roleArn: Output? = null

    private var tableName: Output? = null

    private var versionId: Output? = null

    /**
     * @param value The ID of the AWS Glue Data Catalog. If you don't supply this, the AWS account ID is used by default.
     */
    @JvmName("msgjbjgisstmkmxt")
    public suspend fun catalogId(`value`: Output) {
        this.catalogId = value
    }

    /**
     * @param value Specifies the name of the AWS Glue database that contains the schema for the output data.
     */
    @JvmName("njbvpaicvvncprit")
    public suspend fun databaseName(`value`: Output) {
        this.databaseName = value
    }

    /**
     * @param value If you don't specify an AWS Region, the default is the current region.
     */
    @JvmName("dxbqcdxdpkjpexbm")
    public suspend fun region(`value`: Output) {
        this.region = value
    }

    /**
     * @param value The role that Kinesis Data Firehose can use to access AWS Glue. This role must be in the same account you use for Kinesis Data Firehose. Cross-account roles aren't allowed.
     */
    @JvmName("bgjetcldsypftnov")
    public suspend fun roleArn(`value`: Output) {
        this.roleArn = value
    }

    /**
     * @param value Specifies the AWS Glue table that contains the column information that constitutes your data schema.
     */
    @JvmName("ksrpybkmrojmgepi")
    public suspend fun tableName(`value`: Output) {
        this.tableName = value
    }

    /**
     * @param value Specifies the table version for the output data schema. Defaults to `LATEST`.
     */
    @JvmName("yqudyhlvnhedofng")
    public suspend fun versionId(`value`: Output) {
        this.versionId = value
    }

    /**
     * @param value The ID of the AWS Glue Data Catalog. If you don't supply this, the AWS account ID is used by default.
     */
    @JvmName("vpofgomwgmwnyjsg")
    public suspend fun catalogId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.catalogId = mapped
    }

    /**
     * @param value Specifies the name of the AWS Glue database that contains the schema for the output data.
     */
    @JvmName("krupmynmtwtbebni")
    public suspend fun databaseName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.databaseName = mapped
    }

    /**
     * @param value If you don't specify an AWS Region, the default is the current region.
     */
    @JvmName("olshhukxoucrvooo")
    public suspend fun region(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.region = mapped
    }

    /**
     * @param value The role that Kinesis Data Firehose can use to access AWS Glue. This role must be in the same account you use for Kinesis Data Firehose. Cross-account roles aren't allowed.
     */
    @JvmName("mdqvehrtkbohvajh")
    public suspend fun roleArn(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.roleArn = mapped
    }

    /**
     * @param value Specifies the AWS Glue table that contains the column information that constitutes your data schema.
     */
    @JvmName("vtktymtubtdryecs")
    public suspend fun tableName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tableName = mapped
    }

    /**
     * @param value Specifies the table version for the output data schema. Defaults to `LATEST`.
     */
    @JvmName("fjukrfugkyxtojnw")
    public suspend fun versionId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.versionId = mapped
    }

    internal fun build(): FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationSchemaConfigurationArgs =
        FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationSchemaConfigurationArgs(
            catalogId = catalogId,
            databaseName = databaseName ?: throw PulumiNullFieldException("databaseName"),
            region = region,
            roleArn = roleArn ?: throw PulumiNullFieldException("roleArn"),
            tableName = tableName ?: throw PulumiNullFieldException("tableName"),
            versionId = versionId,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy