io.burkard.cdk.services.apprunner.cfnService.InstanceConfigurationProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.apprunner.cfnService
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object InstanceConfigurationProperty {
def apply(
instanceRoleArn: Option[String] = None,
cpu: Option[String] = None,
memory: Option[String] = None
): software.amazon.awscdk.services.apprunner.CfnService.InstanceConfigurationProperty =
(new software.amazon.awscdk.services.apprunner.CfnService.InstanceConfigurationProperty.Builder)
.instanceRoleArn(instanceRoleArn.orNull)
.cpu(cpu.orNull)
.memory(memory.orNull)
.build()
}