Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
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.awsnative.wafv2.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.wafv2.RegexPatternSetArgs.builder
import com.pulumi.awsnative.wafv2.kotlin.enums.RegexPatternSetScope
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Contains a list of Regular expressions based on the provided inputs. RegexPatternSet can be used with other WAF entities with RegexPatternSetReferenceStatement to perform other actions .
* @property description Description of the entity.
* @property name Name of the RegexPatternSet.
* @property regularExpressionList The regular expression patterns in the set.
* @property scope Use CLOUDFRONT for CloudFront RegexPatternSet, use REGIONAL for Application Load Balancer and API Gateway.
* @property tags Key:value pairs associated with an AWS resource. The key:value pair can be anything you define. Typically, the tag key represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50 tags to each AWS resource.
* > To modify tags on existing resources, use the AWS WAF APIs or command line interface. With AWS CloudFormation , you can only add tags to AWS WAF resources during resource creation.
*/
public data class RegexPatternSetArgs(
public val description: Output? = null,
public val name: Output? = null,
public val regularExpressionList: Output>? = null,
public val scope: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.wafv2.RegexPatternSetArgs =
com.pulumi.awsnative.wafv2.RegexPatternSetArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.regularExpressionList(regularExpressionList?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.scope(scope?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [RegexPatternSetArgs].
*/
@PulumiTagMarker
public class RegexPatternSetArgsBuilder internal constructor() {
private var description: Output? = null
private var name: Output? = null
private var regularExpressionList: Output>? = null
private var scope: Output? = null
private var tags: Output>? = null
/**
* @param value Description of the entity.
*/
@JvmName("lworxqylhokxtage")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value Name of the RegexPatternSet.
*/
@JvmName("lsvishieetwbtyqu")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The regular expression patterns in the set.
*/
@JvmName("diyeugykfbxlixtm")
public suspend fun regularExpressionList(`value`: Output>) {
this.regularExpressionList = value
}
@JvmName("jbkubufmvfsmbhru")
public suspend fun regularExpressionList(vararg values: Output) {
this.regularExpressionList = Output.all(values.asList())
}
/**
* @param values The regular expression patterns in the set.
*/
@JvmName("kgnhsjxkcvginslb")
public suspend fun regularExpressionList(values: List