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

com.pulumi.aws.wafv2.kotlin.outputs.RuleGroupRuleStatementIpSetReferenceStatement.kt Maven / Gradle / Ivy

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

package com.pulumi.aws.wafv2.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property arn The Amazon Resource Name (ARN) of the IP Set that this statement references.
 * @property ipSetForwardedIpConfig The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. See IPSet Forwarded IP Config below for more details.
 */
public data class RuleGroupRuleStatementIpSetReferenceStatement(
    public val arn: String,
    public val ipSetForwardedIpConfig: RuleGroupRuleStatementIpSetReferenceStatementIpSetForwardedIpConfig? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.wafv2.outputs.RuleGroupRuleStatementIpSetReferenceStatement): RuleGroupRuleStatementIpSetReferenceStatement =
            RuleGroupRuleStatementIpSetReferenceStatement(
                arn = javaType.arn(),
                ipSetForwardedIpConfig = javaType.ipSetForwardedIpConfig().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.aws.wafv2.kotlin.outputs.RuleGroupRuleStatementIpSetReferenceStatementIpSetForwardedIpConfig.Companion.toKotlin(args0)
                    })
                }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy