io.burkard.cdk.services.greengrass.CfnResourceDefinition.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.greengrass
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnResourceDefinition {
def apply(
internalResourceId: String,
name: String,
tags: Option[AnyRef] = None,
initialVersion: Option[software.amazon.awscdk.services.greengrass.CfnResourceDefinition.ResourceDefinitionVersionProperty] = None
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.greengrass.CfnResourceDefinition =
software.amazon.awscdk.services.greengrass.CfnResourceDefinition.Builder
.create(stackCtx, internalResourceId)
.name(name)
.tags(tags.orNull)
.initialVersion(initialVersion.orNull)
.build()
}