io.burkard.cdk.services.sam.cfnStateMachine.S3LocationProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.sam.cfnStateMachine
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object S3LocationProperty {
def apply(
key: String,
bucket: String,
version: Option[Number] = None
): software.amazon.awscdk.services.sam.CfnStateMachine.S3LocationProperty =
(new software.amazon.awscdk.services.sam.CfnStateMachine.S3LocationProperty.Builder)
.key(key)
.bucket(bucket)
.version(version.orNull)
.build()
}