io.burkard.cdk.CfnMacroProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnMacroProps {
def apply(
name: String,
functionName: String,
description: Option[String] = None,
logGroupName: Option[String] = None,
logRoleArn: Option[String] = None
): software.amazon.awscdk.CfnMacroProps =
(new software.amazon.awscdk.CfnMacroProps.Builder)
.name(name)
.functionName(functionName)
.description(description.orNull)
.logGroupName(logGroupName.orNull)
.logRoleArn(logRoleArn.orNull)
.build()
}