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

cloudshift.awscdk.dsl.services.waf._BuildableLastArgumentExtensions.kt Maven / Gradle / Ivy

There is a newer version: 0.7.0
Show newest version
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")

package cloudshift.awscdk.dsl.services.waf

import kotlin.Unit
import software.amazon.awscdk.services.waf.CfnWebACL

/**
 * The action to perform if none of the `Rules` contained in the `WebACL` match.
 */
public inline fun CfnWebACL.setDefaultAction(block: CfnWebACLWafActionPropertyDsl.() -> Unit = {}) {
  val builder = CfnWebACLWafActionPropertyDsl()
  builder.apply(block)
  return setDefaultAction(builder.build())
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy