io.burkard.cdk.services.ec2.cfnLaunchTemplate.CpuOptionsProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.ec2.cfnLaunchTemplate
@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.CfnLaunchTemplate.CpuOptionsProperty =
(new software.amazon.awscdk.services.ec2.CfnLaunchTemplate.CpuOptionsProperty.Builder)
.coreCount(coreCount.orNull)
.threadsPerCore(threadsPerCore.orNull)
.build()
}