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

com.pulumi.gcp.networksecurity.kotlin.outputs.AuthzPolicyHttpRuleFromSourceResourceIamServiceAccount.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.networksecurity.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property contains The input string must have the substring specified here. Note: empty contains match is not allowed, please use regex instead.
 * Examples:
 * * abc matches the value xyz.abc.def
 * @property exact The input string must match exactly the string specified here.
 * Examples:
 * * abc only matches the value abc.
 * @property ignoreCase If true, indicates the exact/prefix/suffix/contains matching should be case insensitive. For example, the matcher data will match both input string Data and data if set to true.
 * @property prefix The input string must have the prefix specified here. Note: empty prefix is not allowed, please use regex instead.
 * Examples:
 * * abc matches the value abc.xyz
 * @property suffix The input string must have the suffix specified here. Note: empty prefix is not allowed, please use regex instead.
 * Examples:
 * * abc matches the value xyz.abc
 */
public data class AuthzPolicyHttpRuleFromSourceResourceIamServiceAccount(
    public val contains: String? = null,
    public val exact: String? = null,
    public val ignoreCase: Boolean? = null,
    public val prefix: String? = null,
    public val suffix: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.networksecurity.outputs.AuthzPolicyHttpRuleFromSourceResourceIamServiceAccount): AuthzPolicyHttpRuleFromSourceResourceIamServiceAccount =
            AuthzPolicyHttpRuleFromSourceResourceIamServiceAccount(
                contains = javaType.contains().map({ args0 -> args0 }).orElse(null),
                exact = javaType.exact().map({ args0 -> args0 }).orElse(null),
                ignoreCase = javaType.ignoreCase().map({ args0 -> args0 }).orElse(null),
                prefix = javaType.prefix().map({ args0 -> args0 }).orElse(null),
                suffix = javaType.suffix().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy