io.burkard.cdk.services.ec2.cfnInstance.CpuOptionsProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.ec2.cfnInstance
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CpuOptionsProperty {
def apply(
coreCount: Option[Number] = None,
threadsPerCore: Option[Number] = None
): software.amazon.awscdk.services.ec2.CfnInstance.CpuOptionsProperty =
(new software.amazon.awscdk.services.ec2.CfnInstance.CpuOptionsProperty.Builder)
.coreCount(coreCount.orNull)
.threadsPerCore(threadsPerCore.orNull)
.build()
}