
com.pulumi.azurenative.kubernetesconfiguration.kotlin.inputs.BucketDefinitionArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.kubernetesconfiguration.kotlin.inputs
import com.pulumi.azurenative.kubernetesconfiguration.inputs.BucketDefinitionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Parameters to reconcile to the Bucket source kind type.
* @property accessKey Plaintext access key used to securely access the S3 bucket
* @property bucketName The bucket name to sync from the url endpoint for the flux configuration.
* @property insecure Specify whether to use insecure communication when puling data from the S3 bucket.
* @property localAuthRef Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
* @property syncIntervalInSeconds The interval at which to re-reconcile the cluster bucket source with the remote.
* @property timeoutInSeconds The maximum time to attempt to reconcile the cluster bucket source with the remote.
* @property url The URL to sync for the flux configuration S3 bucket.
*/
public data class BucketDefinitionArgs(
public val accessKey: Output? = null,
public val bucketName: Output? = null,
public val insecure: Output? = null,
public val localAuthRef: Output? = null,
public val syncIntervalInSeconds: Output? = null,
public val timeoutInSeconds: Output? = null,
public val url: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.kubernetesconfiguration.inputs.BucketDefinitionArgs = com.pulumi.azurenative.kubernetesconfiguration.inputs.BucketDefinitionArgs.builder()
.accessKey(accessKey?.applyValue({ args0 -> args0 }))
.bucketName(bucketName?.applyValue({ args0 -> args0 }))
.insecure(insecure?.applyValue({ args0 -> args0 }))
.localAuthRef(localAuthRef?.applyValue({ args0 -> args0 }))
.syncIntervalInSeconds(syncIntervalInSeconds?.applyValue({ args0 -> args0 }))
.timeoutInSeconds(timeoutInSeconds?.applyValue({ args0 -> args0 }))
.url(url?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BucketDefinitionArgs].
*/
@PulumiTagMarker
public class BucketDefinitionArgsBuilder internal constructor() {
private var accessKey: Output? = null
private var bucketName: Output? = null
private var insecure: Output? = null
private var localAuthRef: Output? = null
private var syncIntervalInSeconds: Output? = null
private var timeoutInSeconds: Output? = null
private var url: Output? = null
/**
* @param value Plaintext access key used to securely access the S3 bucket
*/
@JvmName("qdcgdxccyflkjijr")
public suspend fun accessKey(`value`: Output) {
this.accessKey = value
}
/**
* @param value The bucket name to sync from the url endpoint for the flux configuration.
*/
@JvmName("leqnfeitmajouyhi")
public suspend fun bucketName(`value`: Output) {
this.bucketName = value
}
/**
* @param value Specify whether to use insecure communication when puling data from the S3 bucket.
*/
@JvmName("fvypaxjhfolcskku")
public suspend fun insecure(`value`: Output) {
this.insecure = value
}
/**
* @param value Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
*/
@JvmName("wxvphxinfijtthbs")
public suspend fun localAuthRef(`value`: Output) {
this.localAuthRef = value
}
/**
* @param value The interval at which to re-reconcile the cluster bucket source with the remote.
*/
@JvmName("haqpduuklyktcbed")
public suspend fun syncIntervalInSeconds(`value`: Output) {
this.syncIntervalInSeconds = value
}
/**
* @param value The maximum time to attempt to reconcile the cluster bucket source with the remote.
*/
@JvmName("cumkqioyjvitwlea")
public suspend fun timeoutInSeconds(`value`: Output) {
this.timeoutInSeconds = value
}
/**
* @param value The URL to sync for the flux configuration S3 bucket.
*/
@JvmName("bdhuhgbufukccnso")
public suspend fun url(`value`: Output) {
this.url = value
}
/**
* @param value Plaintext access key used to securely access the S3 bucket
*/
@JvmName("yqhafsdbiehnaqiv")
public suspend fun accessKey(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.accessKey = mapped
}
/**
* @param value The bucket name to sync from the url endpoint for the flux configuration.
*/
@JvmName("lispuskywniervde")
public suspend fun bucketName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.bucketName = mapped
}
/**
* @param value Specify whether to use insecure communication when puling data from the S3 bucket.
*/
@JvmName("jgaujqplpwnlowma")
public suspend fun insecure(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.insecure = mapped
}
/**
* @param value Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
*/
@JvmName("mnoutkrfcsmwipag")
public suspend fun localAuthRef(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.localAuthRef = mapped
}
/**
* @param value The interval at which to re-reconcile the cluster bucket source with the remote.
*/
@JvmName("jkicvmybhndunijf")
public suspend fun syncIntervalInSeconds(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.syncIntervalInSeconds = mapped
}
/**
* @param value The maximum time to attempt to reconcile the cluster bucket source with the remote.
*/
@JvmName("hsvmkgyhmhgkhhiw")
public suspend fun timeoutInSeconds(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.timeoutInSeconds = mapped
}
/**
* @param value The URL to sync for the flux configuration S3 bucket.
*/
@JvmName("fgrgfawomubetyxu")
public suspend fun url(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.url = mapped
}
internal fun build(): BucketDefinitionArgs = BucketDefinitionArgs(
accessKey = accessKey,
bucketName = bucketName,
insecure = insecure,
localAuthRef = localAuthRef,
syncIntervalInSeconds = syncIntervalInSeconds,
timeoutInSeconds = timeoutInSeconds,
url = url,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy