io.burkard.cdk.services.cloudwatch.CfnMetricStreamProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.cloudwatch
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnMetricStreamProps {
def apply(
roleArn: String,
outputFormat: String,
firehoseArn: String,
name: Option[String] = None,
tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None,
excludeFilters: Option[List[_]] = None,
includeFilters: Option[List[_]] = None,
statisticsConfigurations: Option[List[_]] = None
): software.amazon.awscdk.services.cloudwatch.CfnMetricStreamProps =
(new software.amazon.awscdk.services.cloudwatch.CfnMetricStreamProps.Builder)
.roleArn(roleArn)
.outputFormat(outputFormat)
.firehoseArn(firehoseArn)
.name(name.orNull)
.tags(tags.map(_.asJava).orNull)
.excludeFilters(excludeFilters.map(_.asJava).orNull)
.includeFilters(includeFilters.map(_.asJava).orNull)
.statisticsConfigurations(statisticsConfigurations.map(_.asJava).orNull)
.build()
}