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

com.pulumi.gcp.compute.kotlin.inputs.BackendServiceSecuritySettingsAwsV4AuthenticationArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.gcp.compute.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.compute.inputs.BackendServiceSecuritySettingsAwsV4AuthenticationArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property accessKey The access key used for s3 bucket authentication.
 * Required for updating or creating a backend that uses AWS v4 signature authentication, but will not be returned as part of the configuration when queried with a REST API GET request.
 * @property accessKeyId The identifier of an access key used for s3 bucket authentication.
 * @property accessKeyVersion The optional version identifier for the access key. You can use this to keep track of different iterations of your access key.
 * @property originRegion The name of the cloud region of your origin. This is a free-form field with the name of the region your cloud uses to host your origin.
 * For example, "us-east-1" for AWS or "us-ashburn-1" for OCI.
 */
public data class BackendServiceSecuritySettingsAwsV4AuthenticationArgs(
    public val accessKey: Output? = null,
    public val accessKeyId: Output? = null,
    public val accessKeyVersion: Output? = null,
    public val originRegion: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.compute.inputs.BackendServiceSecuritySettingsAwsV4AuthenticationArgs =
        com.pulumi.gcp.compute.inputs.BackendServiceSecuritySettingsAwsV4AuthenticationArgs.builder()
            .accessKey(accessKey?.applyValue({ args0 -> args0 }))
            .accessKeyId(accessKeyId?.applyValue({ args0 -> args0 }))
            .accessKeyVersion(accessKeyVersion?.applyValue({ args0 -> args0 }))
            .originRegion(originRegion?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [BackendServiceSecuritySettingsAwsV4AuthenticationArgs].
 */
@PulumiTagMarker
public class BackendServiceSecuritySettingsAwsV4AuthenticationArgsBuilder internal constructor() {
    private var accessKey: Output? = null

    private var accessKeyId: Output? = null

    private var accessKeyVersion: Output? = null

    private var originRegion: Output? = null

    /**
     * @param value The access key used for s3 bucket authentication.
     * Required for updating or creating a backend that uses AWS v4 signature authentication, but will not be returned as part of the configuration when queried with a REST API GET request.
     */
    @JvmName("apyteptslgepdxyr")
    public suspend fun accessKey(`value`: Output) {
        this.accessKey = value
    }

    /**
     * @param value The identifier of an access key used for s3 bucket authentication.
     */
    @JvmName("dwliuxepolxofyss")
    public suspend fun accessKeyId(`value`: Output) {
        this.accessKeyId = value
    }

    /**
     * @param value The optional version identifier for the access key. You can use this to keep track of different iterations of your access key.
     */
    @JvmName("ximnctwvmcpwsajf")
    public suspend fun accessKeyVersion(`value`: Output) {
        this.accessKeyVersion = value
    }

    /**
     * @param value The name of the cloud region of your origin. This is a free-form field with the name of the region your cloud uses to host your origin.
     * For example, "us-east-1" for AWS or "us-ashburn-1" for OCI.
     */
    @JvmName("tkaskwqskivyvnro")
    public suspend fun originRegion(`value`: Output) {
        this.originRegion = value
    }

    /**
     * @param value The access key used for s3 bucket authentication.
     * Required for updating or creating a backend that uses AWS v4 signature authentication, but will not be returned as part of the configuration when queried with a REST API GET request.
     */
    @JvmName("mxuwgiaaxybnhxxm")
    public suspend fun accessKey(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.accessKey = mapped
    }

    /**
     * @param value The identifier of an access key used for s3 bucket authentication.
     */
    @JvmName("beemucjwqywfbaqj")
    public suspend fun accessKeyId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.accessKeyId = mapped
    }

    /**
     * @param value The optional version identifier for the access key. You can use this to keep track of different iterations of your access key.
     */
    @JvmName("ragbmblkopygsmse")
    public suspend fun accessKeyVersion(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.accessKeyVersion = mapped
    }

    /**
     * @param value The name of the cloud region of your origin. This is a free-form field with the name of the region your cloud uses to host your origin.
     * For example, "us-east-1" for AWS or "us-ashburn-1" for OCI.
     */
    @JvmName("ghtthmmloteavbbr")
    public suspend fun originRegion(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.originRegion = mapped
    }

    internal fun build(): BackendServiceSecuritySettingsAwsV4AuthenticationArgs =
        BackendServiceSecuritySettingsAwsV4AuthenticationArgs(
            accessKey = accessKey,
            accessKeyId = accessKeyId,
            accessKeyVersion = accessKeyVersion,
            originRegion = originRegion,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy