com.pulumi.aws.glue.kotlin.outputs.CrawlerS3Target.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.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 CrawlerS3Target(
public val connectionName: String? = null,
public val dlqEventQueueArn: String? = null,
public val eventQueueArn: String? = null,
public val exclusions: List? = null,
public val path: String,
public val sampleSize: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.glue.outputs.CrawlerS3Target): CrawlerS3Target =
CrawlerS3Target(
connectionName = javaType.connectionName().map({ args0 -> args0 }).orElse(null),
dlqEventQueueArn = javaType.dlqEventQueueArn().map({ args0 -> args0 }).orElse(null),
eventQueueArn = javaType.eventQueueArn().map({ args0 -> args0 }).orElse(null),
exclusions = javaType.exclusions().map({ args0 -> args0 }),
path = javaType.path(),
sampleSize = javaType.sampleSize().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy