Package-level declarations

Types

Link copied to clipboard
class ApiKey : KotlinCustomResource

Provides an AWS WAFv2 API Key resource.

Link copied to clipboard
data class ApiKeyArgs(val scope: Output<String>? = null, val tokenDomains: Output<List<String>>? = null) : ConvertibleToJava<ApiKeyArgs>

Provides an AWS WAFv2 API Key resource.

Link copied to clipboard

Builder for ApiKeyArgs.

Link copied to clipboard
object ApiKeyMapper : ResourceMapper<ApiKey>
Link copied to clipboard

Builder for ApiKey.

Link copied to clipboard
class IpSet : KotlinCustomResource

Provides a WAFv2 IP Set Resource

Link copied to clipboard
data class IpSetArgs(val addresses: Output<List<String>>? = null, val description: Output<String>? = null, val ipAddressVersion: Output<String>? = null, val name: Output<String>? = null, val namePrefix: Output<String>? = null, val scope: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<IpSetArgs>

Provides a WAFv2 IP Set Resource

Link copied to clipboard

Builder for IpSetArgs.

Link copied to clipboard
object IpSetMapper : ResourceMapper<IpSet>
Link copied to clipboard

Builder for IpSet.

Link copied to clipboard
class RegexPatternSet : KotlinCustomResource

Provides an AWS WAFv2 Regex Pattern Set Resource

Link copied to clipboard
data class RegexPatternSetArgs(val description: Output<String>? = null, val name: Output<String>? = null, val namePrefix: Output<String>? = null, val regularExpressions: Output<List<RegexPatternSetRegularExpressionArgs>>? = null, val scope: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<RegexPatternSetArgs>

Provides an AWS WAFv2 Regex Pattern Set Resource

Link copied to clipboard
object RegexPatternSetMapper : ResourceMapper<RegexPatternSet>
Link copied to clipboard
class RuleGroup : KotlinCustomResource
Link copied to clipboard
data class RuleGroupArgs(val capacity: Output<Int>? = null, val customResponseBodies: Output<List<RuleGroupCustomResponseBodyArgs>>? = null, val description: Output<String>? = null, val name: Output<String>? = null, val namePrefix: Output<String>? = null, val rules: Output<List<RuleGroupRuleArgs>>? = null, val scope: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val visibilityConfig: Output<RuleGroupVisibilityConfigArgs>? = null) : ConvertibleToJava<RuleGroupArgs>
Link copied to clipboard
Link copied to clipboard
object RuleGroupMapper : ResourceMapper<RuleGroup>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class WebAcl : KotlinCustomResource
Link copied to clipboard
data class WebAclArgs(val associationConfig: Output<WebAclAssociationConfigArgs>? = null, val captchaConfig: Output<WebAclCaptchaConfigArgs>? = null, val challengeConfig: Output<WebAclChallengeConfigArgs>? = null, val customResponseBodies: Output<List<WebAclCustomResponseBodyArgs>>? = null, val dataProtectionConfig: Output<WebAclDataProtectionConfigArgs>? = null, val defaultAction: Output<WebAclDefaultActionArgs>? = null, val description: Output<String>? = null, val name: Output<String>? = null, val namePrefix: Output<String>? = null, val ruleJson: Output<String>? = null, val rules: Output<List<WebAclRuleArgs>>? = null, val scope: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val tokenDomains: Output<List<String>>? = null, val visibilityConfig: Output<WebAclVisibilityConfigArgs>? = null) : ConvertibleToJava<WebAclArgs>
Link copied to clipboard

Builder for WebAclArgs.

Link copied to clipboard
class WebAclAssociation : KotlinCustomResource

Creates a WAFv2 Web ACL Association.

Link copied to clipboard
data class WebAclAssociationArgs(val resourceArn: Output<String>? = null, val webAclArn: Output<String>? = null) : ConvertibleToJava<WebAclAssociationArgs>

Creates a WAFv2 Web ACL Association.

Link copied to clipboard
object WebAclAssociationMapper : ResourceMapper<WebAclAssociation>
Link copied to clipboard
class WebAclLoggingConfiguration : KotlinCustomResource

This resource creates a WAFv2 Web ACL Logging Configuration. !>WARNING: When logging from a WAFv2 Web ACL to a CloudWatch Log Group, the WAFv2 service tries to create or update a generic Log Resource Policy named AWSWAF-LOGS. However, if there are a large number of Web ACLs or if the account frequently creates and deletes Web ACLs, this policy may exceed the maximum policy size. As a result, this resource type will fail to be created. More details about this issue can be found in this issue. To prevent this issue, you can manage a specific resource policy. Please refer to the example below for managing a CloudWatch Log Group with a managed CloudWatch Log Resource Policy.

Link copied to clipboard
data class WebAclLoggingConfigurationArgs(val logDestinationConfigs: Output<List<String>>? = null, val loggingFilter: Output<WebAclLoggingConfigurationLoggingFilterArgs>? = null, val redactedFields: Output<List<WebAclLoggingConfigurationRedactedFieldArgs>>? = null, val resourceArn: Output<String>? = null) : ConvertibleToJava<WebAclLoggingConfigurationArgs>

This resource creates a WAFv2 Web ACL Logging Configuration. !>WARNING: When logging from a WAFv2 Web ACL to a CloudWatch Log Group, the WAFv2 service tries to create or update a generic Log Resource Policy named AWSWAF-LOGS. However, if there are a large number of Web ACLs or if the account frequently creates and deletes Web ACLs, this policy may exceed the maximum policy size. As a result, this resource type will fail to be created. More details about this issue can be found in this issue. To prevent this issue, you can manage a specific resource policy. Please refer to the example below for managing a CloudWatch Log Group with a managed CloudWatch Log Resource Policy.

Link copied to clipboard
object WebAclMapper : ResourceMapper<WebAcl>
Link copied to clipboard

Builder for WebAcl.

Functions

Link copied to clipboard
fun apiKey(name: String): ApiKey
suspend fun apiKey(name: String, block: suspend ApiKeyResourceBuilder.() -> Unit): ApiKey
Link copied to clipboard
fun ipSet(name: String): IpSet
suspend fun ipSet(name: String, block: suspend IpSetResourceBuilder.() -> Unit): IpSet
Link copied to clipboard
Link copied to clipboard
suspend fun ruleGroup(name: String, block: suspend RuleGroupResourceBuilder.() -> Unit): RuleGroup
Link copied to clipboard
fun webAcl(name: String): WebAcl
suspend fun webAcl(name: String, block: suspend WebAclResourceBuilder.() -> Unit): WebAcl