com.pulumi.gcp.networkservices.kotlin.inputs.EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCdnPolicySignedTokenOptionsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.networkservices.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.networkservices.inputs.EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCdnPolicySignedTokenOptionsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property allowedSignatureAlgorithms The allowed signature algorithms to use.
* Defaults to using only ED25519.
* You may specify up to 3 signature algorithms to use.
* Each value may be one of: `ED25519`, `HMAC_SHA_256`, `HMAC_SHA1`.
* @property tokenQueryParameter The query parameter in which to find the token.
* The name must be 1-64 characters long and match the regular expression `a-zA-Z*` which means the first character must be a letter, and all following characters must be a dash, underscore, letter or digit.
* Defaults to `edge-cache-token`.
*/
public data class
EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCdnPolicySignedTokenOptionsArgs(
public val allowedSignatureAlgorithms: Output>? = null,
public val tokenQueryParameter: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.networkservices.inputs.EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCdnPolicySignedTokenOptionsArgs =
com.pulumi.gcp.networkservices.inputs.EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCdnPolicySignedTokenOptionsArgs.builder()
.allowedSignatureAlgorithms(
allowedSignatureAlgorithms?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.tokenQueryParameter(tokenQueryParameter?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCdnPolicySignedTokenOptionsArgs].
*/
@PulumiTagMarker
public class
EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCdnPolicySignedTokenOptionsArgsBuilder
internal constructor() {
private var allowedSignatureAlgorithms: Output>? = null
private var tokenQueryParameter: Output? = null
/**
* @param value The allowed signature algorithms to use.
* Defaults to using only ED25519.
* You may specify up to 3 signature algorithms to use.
* Each value may be one of: `ED25519`, `HMAC_SHA_256`, `HMAC_SHA1`.
*/
@JvmName("lohgocnublcqmuhu")
public suspend fun allowedSignatureAlgorithms(`value`: Output>) {
this.allowedSignatureAlgorithms = value
}
@JvmName("kgrtlmadnrjpbbtg")
public suspend fun allowedSignatureAlgorithms(vararg values: Output) {
this.allowedSignatureAlgorithms = Output.all(values.asList())
}
/**
* @param values The allowed signature algorithms to use.
* Defaults to using only ED25519.
* You may specify up to 3 signature algorithms to use.
* Each value may be one of: `ED25519`, `HMAC_SHA_256`, `HMAC_SHA1`.
*/
@JvmName("mtaveygkaiynefat")
public suspend fun allowedSignatureAlgorithms(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy