Package-level declarations

Types

Link copied to clipboard
class IpSet : KotlinCustomResource

Contains a list of IP addresses. This can be either IPV4 or IPV6. The list will be mutually

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

Contains a list of IP addresses. This can be either IPV4 or IPV6. The list will be mutually

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 LoggingConfiguration : KotlinCustomResource

A WAFv2 Logging Configuration Resource Provider

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

A WAFv2 Logging Configuration Resource Provider

Link copied to clipboard
Link copied to clipboard
class RegexPatternSet : KotlinCustomResource

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 .

Link copied to clipboard
data class RegexPatternSetArgs(val description: Output<String>? = null, val name: Output<String>? = null, val regularExpressionList: Output<List<String>>? = null, val scope: Output<RegexPatternSetScope>? = null, val tags: Output<List<TagArgs>>? = null) : ConvertibleToJava<RegexPatternSetArgs>

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 .

Link copied to clipboard
object RegexPatternSetMapper : ResourceMapper<RegexPatternSet>
Link copied to clipboard
class RuleGroup : KotlinCustomResource

Contains the Rules that identify the requests that you want to allow, block, or count. In a RuleGroup, you also specify a default action (ALLOW or BLOCK), and the action for each Rule that you add to a RuleGroup, for example, block requests from specified IP addresses or block requests from specified referrers. You also associate the RuleGroup with a CloudFront distribution to identify the requests that you want AWS WAF to filter. If you add more than one Rule to a RuleGroup, a request needs to match only one of the specifications to be allowed, blocked, or counted.

Link copied to clipboard
data class RuleGroupArgs(val availableLabels: Output<List<RuleGroupLabelSummaryArgs>>? = null, val capacity: Output<Int>? = null, val consumedLabels: Output<List<RuleGroupLabelSummaryArgs>>? = null, val customResponseBodies: Output<Map<String, RuleGroupCustomResponseBodyArgs>>? = null, val description: Output<String>? = null, val name: Output<String>? = null, val rules: Output<List<RuleGroupRuleArgs>>? = null, val scope: Output<RuleGroupScope>? = null, val tags: Output<List<TagArgs>>? = null, val visibilityConfig: Output<RuleGroupVisibilityConfigArgs>? = null) : ConvertibleToJava<RuleGroupArgs>

Contains the Rules that identify the requests that you want to allow, block, or count. In a RuleGroup, you also specify a default action (ALLOW or BLOCK), and the action for each Rule that you add to a RuleGroup, for example, block requests from specified IP addresses or block requests from specified referrers. You also associate the RuleGroup with a CloudFront distribution to identify the requests that you want AWS WAF to filter. If you add more than one Rule to a RuleGroup, a request needs to match only one of the specifications to be allowed, blocked, or counted.

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

Contains the Rules that identify the requests that you want to allow, block, or count. In a WebACL, you also specify a default action (ALLOW or BLOCK), and the action for each Rule that you add to a WebACL, for example, block requests from specified IP addresses or block requests from specified referrers. You also associate the WebACL with a CloudFront distribution to identify the requests that you want AWS WAF to filter. If you add more than one Rule to a WebACL, a request needs to match only one of the specifications to be allowed, blocked, or counted.

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<Map<String, WebAclCustomResponseBodyArgs>>? = null, val dataProtectionConfig: Output<WebAclDataProtectionConfigArgs>? = null, val defaultAction: Output<WebAclDefaultActionArgs>? = null, val description: Output<String>? = null, val name: Output<String>? = null, val rules: Output<List<WebAclRuleArgs>>? = null, val scope: Output<WebAclScope>? = null, val tags: Output<List<TagArgs>>? = null, val tokenDomains: Output<List<String>>? = null, val visibilityConfig: Output<WebAclVisibilityConfigArgs>? = null) : ConvertibleToJava<WebAclArgs>

Contains the Rules that identify the requests that you want to allow, block, or count. In a WebACL, you also specify a default action (ALLOW or BLOCK), and the action for each Rule that you add to a WebACL, for example, block requests from specified IP addresses or block requests from specified referrers. You also associate the WebACL with a CloudFront distribution to identify the requests that you want AWS WAF to filter. If you add more than one Rule to a WebACL, a request needs to match only one of the specifications to be allowed, blocked, or counted.

Link copied to clipboard

Builder for WebAclArgs.

Link copied to clipboard
class WebAclAssociation : KotlinCustomResource

Associates WebACL to Application Load Balancer, CloudFront or API Gateway.

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

Associates WebACL to Application Load Balancer, CloudFront or API Gateway.

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

Builder for WebAcl.

Functions

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