io.burkard.cdk.services.greengrass.CfnGroupVersion.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 CfnGroupVersion {
def apply(
internalResourceId: String,
groupId: String,
coreDefinitionVersionArn: Option[String] = None,
functionDefinitionVersionArn: Option[String] = None,
deviceDefinitionVersionArn: Option[String] = None,
subscriptionDefinitionVersionArn: Option[String] = None,
connectorDefinitionVersionArn: Option[String] = None,
loggerDefinitionVersionArn: Option[String] = None,
resourceDefinitionVersionArn: Option[String] = None
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.greengrass.CfnGroupVersion =
software.amazon.awscdk.services.greengrass.CfnGroupVersion.Builder
.create(stackCtx, internalResourceId)
.groupId(groupId)
.coreDefinitionVersionArn(coreDefinitionVersionArn.orNull)
.functionDefinitionVersionArn(functionDefinitionVersionArn.orNull)
.deviceDefinitionVersionArn(deviceDefinitionVersionArn.orNull)
.subscriptionDefinitionVersionArn(subscriptionDefinitionVersionArn.orNull)
.connectorDefinitionVersionArn(connectorDefinitionVersionArn.orNull)
.loggerDefinitionVersionArn(loggerDefinitionVersionArn.orNull)
.resourceDefinitionVersionArn(resourceDefinitionVersionArn.orNull)
.build()
}