io.burkard.cdk.services.cloudwatch.TextWidget.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.cloudwatch
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object TextWidget {
def apply(
markdown: String,
width: Option[Number] = None,
height: Option[Number] = None
): software.amazon.awscdk.services.cloudwatch.TextWidget =
software.amazon.awscdk.services.cloudwatch.TextWidget.Builder
.create()
.markdown(markdown)
.width(width.orNull)
.height(height.orNull)
.build()
}