com.pulumi.aws.bedrock.kotlin.inputs.AgentDataSourceDataSourceConfigurationS3ConfigurationArgs.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.bedrock.kotlin.inputs
import com.pulumi.aws.bedrock.inputs.AgentDataSourceDataSourceConfigurationS3ConfigurationArgs.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.collections.List
import kotlin.jvm.JvmName
/**
*
* @property bucketArn ARN of the bucket that contains the data source.
* @property bucketOwnerAccountId Bucket account owner ID for the S3 bucket.
* @property inclusionPrefixes List of S3 prefixes that define the object containing the data sources. For more information, see [Organizing objects using prefixes](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-prefixes.html).
*/
public data class AgentDataSourceDataSourceConfigurationS3ConfigurationArgs(
public val bucketArn: Output,
public val bucketOwnerAccountId: Output? = null,
public val inclusionPrefixes: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.bedrock.inputs.AgentDataSourceDataSourceConfigurationS3ConfigurationArgs =
com.pulumi.aws.bedrock.inputs.AgentDataSourceDataSourceConfigurationS3ConfigurationArgs.builder()
.bucketArn(bucketArn.applyValue({ args0 -> args0 }))
.bucketOwnerAccountId(bucketOwnerAccountId?.applyValue({ args0 -> args0 }))
.inclusionPrefixes(inclusionPrefixes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [AgentDataSourceDataSourceConfigurationS3ConfigurationArgs].
*/
@PulumiTagMarker
public class AgentDataSourceDataSourceConfigurationS3ConfigurationArgsBuilder internal constructor() {
private var bucketArn: Output? = null
private var bucketOwnerAccountId: Output? = null
private var inclusionPrefixes: Output>? = null
/**
* @param value ARN of the bucket that contains the data source.
*/
@JvmName("lqrqtegvgobwgbgy")
public suspend fun bucketArn(`value`: Output) {
this.bucketArn = value
}
/**
* @param value Bucket account owner ID for the S3 bucket.
*/
@JvmName("rkddrngogodarkpk")
public suspend fun bucketOwnerAccountId(`value`: Output) {
this.bucketOwnerAccountId = value
}
/**
* @param value List of S3 prefixes that define the object containing the data sources. For more information, see [Organizing objects using prefixes](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-prefixes.html).
*/
@JvmName("irjkeevvqcrjeouo")
public suspend fun inclusionPrefixes(`value`: Output>) {
this.inclusionPrefixes = value
}
@JvmName("tprvyrgrbcadbttr")
public suspend fun inclusionPrefixes(vararg values: Output) {
this.inclusionPrefixes = Output.all(values.asList())
}
/**
* @param values List of S3 prefixes that define the object containing the data sources. For more information, see [Organizing objects using prefixes](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-prefixes.html).
*/
@JvmName("jtfxkdbpnxkpmmhn")
public suspend fun inclusionPrefixes(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy