com.pulumi.aws.glue.kotlin.inputs.CrawlerS3TargetArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.glue.kotlin.inputs
import com.pulumi.aws.glue.inputs.CrawlerS3TargetArgs.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property connectionName The name of a connection which allows crawler to access data in S3 within a VPC.
* @property dlqEventQueueArn The ARN of the dead-letter SQS queue.
* @property eventQueueArn The ARN of the SQS queue to receive S3 notifications from.
* @property exclusions A list of glob patterns used to exclude from the crawl.
* @property path The path to the Amazon S3 target.
* @property sampleSize Sets the number of files in each leaf folder to be crawled when crawling sample files in a dataset. If not set, all the files are crawled. A valid value is an integer between 1 and 249.
*/
public data class CrawlerS3TargetArgs(
public val connectionName: Output? = null,
public val dlqEventQueueArn: Output? = null,
public val eventQueueArn: Output? = null,
public val exclusions: Output>? = null,
public val path: Output,
public val sampleSize: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.glue.inputs.CrawlerS3TargetArgs =
com.pulumi.aws.glue.inputs.CrawlerS3TargetArgs.builder()
.connectionName(connectionName?.applyValue({ args0 -> args0 }))
.dlqEventQueueArn(dlqEventQueueArn?.applyValue({ args0 -> args0 }))
.eventQueueArn(eventQueueArn?.applyValue({ args0 -> args0 }))
.exclusions(exclusions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.path(path.applyValue({ args0 -> args0 }))
.sampleSize(sampleSize?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CrawlerS3TargetArgs].
*/
@PulumiTagMarker
public class CrawlerS3TargetArgsBuilder internal constructor() {
private var connectionName: Output? = null
private var dlqEventQueueArn: Output? = null
private var eventQueueArn: Output? = null
private var exclusions: Output>? = null
private var path: Output? = null
private var sampleSize: Output? = null
/**
* @param value The name of a connection which allows crawler to access data in S3 within a VPC.
*/
@JvmName("cqgltjaryxwvpruw")
public suspend fun connectionName(`value`: Output) {
this.connectionName = value
}
/**
* @param value The ARN of the dead-letter SQS queue.
*/
@JvmName("fylruitobslqqggb")
public suspend fun dlqEventQueueArn(`value`: Output) {
this.dlqEventQueueArn = value
}
/**
* @param value The ARN of the SQS queue to receive S3 notifications from.
*/
@JvmName("dbwbhjscjyshaqmj")
public suspend fun eventQueueArn(`value`: Output) {
this.eventQueueArn = value
}
/**
* @param value A list of glob patterns used to exclude from the crawl.
*/
@JvmName("tdatdqoqsrumwkyt")
public suspend fun exclusions(`value`: Output>) {
this.exclusions = value
}
@JvmName("warpgorwwyfbieis")
public suspend fun exclusions(vararg values: Output) {
this.exclusions = Output.all(values.asList())
}
/**
* @param values A list of glob patterns used to exclude from the crawl.
*/
@JvmName("yxbcxcvfpvtfisqw")
public suspend fun exclusions(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy