com.pulumi.aws.wafv2.kotlin.outputs.RuleGroupRuleStatementRegexMatchStatementFieldToMatch.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.wafv2.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property allQueryArguments Inspect all query arguments.
* @property body Inspect the request body, which immediately follows the request headers.
* @property cookies Inspect the cookies in the web request. See Cookies below for details.
* @property headerOrders Inspect the request headers. See Header Order below for details.
* @property headers Inspect the request headers. See Headers below for details.
* @property ja3Fingerprint
* @property jsonBody Inspect the request body as JSON. See JSON Body for details.
* @property method Inspect the HTTP method. The method indicates the type of operation that the request is asking the origin to perform.
* @property queryString Inspect the query string. This is the part of a URL that appears after a `?` character, if any.
* @property singleHeader Inspect a single header. See Single Header below for details.
* @property singleQueryArgument Inspect a single query argument. See Single Query Argument below for details.
* @property uriPath Inspect the request URI path. This is the part of a web request that identifies a resource, for example, `/images/daily-ad.jpg`.
*/
public data class RuleGroupRuleStatementRegexMatchStatementFieldToMatch(
public val allQueryArguments: RuleGroupRuleStatementRegexMatchStatementFieldToMatchAllQueryArguments? = null,
public val body: RuleGroupRuleStatementRegexMatchStatementFieldToMatchBody? = null,
public val cookies: RuleGroupRuleStatementRegexMatchStatementFieldToMatchCookies? = null,
public val headerOrders: List? =
null,
public val headers: List? = null,
public val ja3Fingerprint: RuleGroupRuleStatementRegexMatchStatementFieldToMatchJa3Fingerprint? =
null,
public val jsonBody: RuleGroupRuleStatementRegexMatchStatementFieldToMatchJsonBody? = null,
public val method: RuleGroupRuleStatementRegexMatchStatementFieldToMatchMethod? = null,
public val queryString: RuleGroupRuleStatementRegexMatchStatementFieldToMatchQueryString? = null,
public val singleHeader: RuleGroupRuleStatementRegexMatchStatementFieldToMatchSingleHeader? =
null,
public val singleQueryArgument: RuleGroupRuleStatementRegexMatchStatementFieldToMatchSingleQueryArgument? = null,
public val uriPath: RuleGroupRuleStatementRegexMatchStatementFieldToMatchUriPath? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.wafv2.outputs.RuleGroupRuleStatementRegexMatchStatementFieldToMatch): RuleGroupRuleStatementRegexMatchStatementFieldToMatch =
RuleGroupRuleStatementRegexMatchStatementFieldToMatch(
allQueryArguments = javaType.allQueryArguments().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.wafv2.kotlin.outputs.RuleGroupRuleStatementRegexMatchStatementFieldToMatchAllQueryArguments.Companion.toKotlin(args0)
})
}).orElse(null),
body = javaType.body().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.wafv2.kotlin.outputs.RuleGroupRuleStatementRegexMatchStatementFieldToMatchBody.Companion.toKotlin(args0)
})
}).orElse(null),
cookies = javaType.cookies().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.wafv2.kotlin.outputs.RuleGroupRuleStatementRegexMatchStatementFieldToMatchCookies.Companion.toKotlin(args0)
})
}).orElse(null),
headerOrders = javaType.headerOrders().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.wafv2.kotlin.outputs.RuleGroupRuleStatementRegexMatchStatementFieldToMatchHeaderOrder.Companion.toKotlin(args0)
})
}),
headers = javaType.headers().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.wafv2.kotlin.outputs.RuleGroupRuleStatementRegexMatchStatementFieldToMatchHeader.Companion.toKotlin(args0)
})
}),
ja3Fingerprint = javaType.ja3Fingerprint().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.wafv2.kotlin.outputs.RuleGroupRuleStatementRegexMatchStatementFieldToMatchJa3Fingerprint.Companion.toKotlin(args0)
})
}).orElse(null),
jsonBody = javaType.jsonBody().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.wafv2.kotlin.outputs.RuleGroupRuleStatementRegexMatchStatementFieldToMatchJsonBody.Companion.toKotlin(args0)
})
}).orElse(null),
method = javaType.method().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.wafv2.kotlin.outputs.RuleGroupRuleStatementRegexMatchStatementFieldToMatchMethod.Companion.toKotlin(args0)
})
}).orElse(null),
queryString = javaType.queryString().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.wafv2.kotlin.outputs.RuleGroupRuleStatementRegexMatchStatementFieldToMatchQueryString.Companion.toKotlin(args0)
})
}).orElse(null),
singleHeader = javaType.singleHeader().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.wafv2.kotlin.outputs.RuleGroupRuleStatementRegexMatchStatementFieldToMatchSingleHeader.Companion.toKotlin(args0)
})
}).orElse(null),
singleQueryArgument = javaType.singleQueryArgument().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.wafv2.kotlin.outputs.RuleGroupRuleStatementRegexMatchStatementFieldToMatchSingleQueryArgument.Companion.toKotlin(args0)
})
}).orElse(null),
uriPath = javaType.uriPath().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.wafv2.kotlin.outputs.RuleGroupRuleStatementRegexMatchStatementFieldToMatchUriPath.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy