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

com.pulumi.aws.cognito.kotlin.inputs.RiskConfigurationRiskExceptionConfigurationArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.cognito.kotlin.inputs

import com.pulumi.aws.cognito.inputs.RiskConfigurationRiskExceptionConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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 blockedIpRangeLists Overrides the risk decision to always block the pre-authentication requests.
 * The IP range is in CIDR notation, a compact representation of an IP address and its routing prefix.
 * Can contain a maximum of 200 items.
 * @property skippedIpRangeLists Risk detection isn't performed on the IP addresses in this range list.
 * The IP range is in CIDR notation.
 * Can contain a maximum of 200 items.
 */
public data class RiskConfigurationRiskExceptionConfigurationArgs(
    public val blockedIpRangeLists: Output>? = null,
    public val skippedIpRangeLists: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.cognito.inputs.RiskConfigurationRiskExceptionConfigurationArgs =
        com.pulumi.aws.cognito.inputs.RiskConfigurationRiskExceptionConfigurationArgs.builder()
            .blockedIpRangeLists(blockedIpRangeLists?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .skippedIpRangeLists(
                skippedIpRangeLists?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0
                    })
                }),
            ).build()
}

/**
 * Builder for [RiskConfigurationRiskExceptionConfigurationArgs].
 */
@PulumiTagMarker
public class RiskConfigurationRiskExceptionConfigurationArgsBuilder internal constructor() {
    private var blockedIpRangeLists: Output>? = null

    private var skippedIpRangeLists: Output>? = null

    /**
     * @param value Overrides the risk decision to always block the pre-authentication requests.
     * The IP range is in CIDR notation, a compact representation of an IP address and its routing prefix.
     * Can contain a maximum of 200 items.
     */
    @JvmName("djvadgyjwhdwavlw")
    public suspend fun blockedIpRangeLists(`value`: Output>) {
        this.blockedIpRangeLists = value
    }

    @JvmName("mnmssmuecrwdowbf")
    public suspend fun blockedIpRangeLists(vararg values: Output) {
        this.blockedIpRangeLists = Output.all(values.asList())
    }

    /**
     * @param values Overrides the risk decision to always block the pre-authentication requests.
     * The IP range is in CIDR notation, a compact representation of an IP address and its routing prefix.
     * Can contain a maximum of 200 items.
     */
    @JvmName("xhdtnqaywqkbmqkf")
    public suspend fun blockedIpRangeLists(values: List>) {
        this.blockedIpRangeLists = Output.all(values)
    }

    /**
     * @param value Risk detection isn't performed on the IP addresses in this range list.
     * The IP range is in CIDR notation.
     * Can contain a maximum of 200 items.
     */
    @JvmName("doauoeitrhexqiea")
    public suspend fun skippedIpRangeLists(`value`: Output>) {
        this.skippedIpRangeLists = value
    }

    @JvmName("plodwyxmjloqscql")
    public suspend fun skippedIpRangeLists(vararg values: Output) {
        this.skippedIpRangeLists = Output.all(values.asList())
    }

    /**
     * @param values Risk detection isn't performed on the IP addresses in this range list.
     * The IP range is in CIDR notation.
     * Can contain a maximum of 200 items.
     */
    @JvmName("wnueymdhblqwfpok")
    public suspend fun skippedIpRangeLists(values: List>) {
        this.skippedIpRangeLists = Output.all(values)
    }

    /**
     * @param value Overrides the risk decision to always block the pre-authentication requests.
     * The IP range is in CIDR notation, a compact representation of an IP address and its routing prefix.
     * Can contain a maximum of 200 items.
     */
    @JvmName("oqrijmptkpiftxom")
    public suspend fun blockedIpRangeLists(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.blockedIpRangeLists = mapped
    }

    /**
     * @param values Overrides the risk decision to always block the pre-authentication requests.
     * The IP range is in CIDR notation, a compact representation of an IP address and its routing prefix.
     * Can contain a maximum of 200 items.
     */
    @JvmName("ccptfwigyywjaoxl")
    public suspend fun blockedIpRangeLists(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.blockedIpRangeLists = mapped
    }

    /**
     * @param value Risk detection isn't performed on the IP addresses in this range list.
     * The IP range is in CIDR notation.
     * Can contain a maximum of 200 items.
     */
    @JvmName("iayelcbetqwhfskp")
    public suspend fun skippedIpRangeLists(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.skippedIpRangeLists = mapped
    }

    /**
     * @param values Risk detection isn't performed on the IP addresses in this range list.
     * The IP range is in CIDR notation.
     * Can contain a maximum of 200 items.
     */
    @JvmName("upwttawwhuhmscnb")
    public suspend fun skippedIpRangeLists(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.skippedIpRangeLists = mapped
    }

    internal fun build(): RiskConfigurationRiskExceptionConfigurationArgs =
        RiskConfigurationRiskExceptionConfigurationArgs(
            blockedIpRangeLists = blockedIpRangeLists,
            skippedIpRangeLists = skippedIpRangeLists,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy