io.burkard.cdk.services.wafv2.cfnRuleGroup.VisibilityConfigProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.wafv2.cfnRuleGroup
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object VisibilityConfigProperty {
def apply(
metricName: String,
sampledRequestsEnabled: Boolean,
cloudWatchMetricsEnabled: Boolean
): software.amazon.awscdk.services.wafv2.CfnRuleGroup.VisibilityConfigProperty =
(new software.amazon.awscdk.services.wafv2.CfnRuleGroup.VisibilityConfigProperty.Builder)
.metricName(metricName)
.sampledRequestsEnabled(sampledRequestsEnabled)
.cloudWatchMetricsEnabled(cloudWatchMetricsEnabled)
.build()
}