io.burkard.cdk.services.cloudwatch.TextWidgetProps.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 TextWidgetProps {
def apply(
markdown: String,
width: Option[Number] = None,
height: Option[Number] = None
): software.amazon.awscdk.services.cloudwatch.TextWidgetProps =
(new software.amazon.awscdk.services.cloudwatch.TextWidgetProps.Builder)
.markdown(markdown)
.width(width.orNull)
.height(height.orNull)
.build()
}