io.burkard.cdk.services.ec2.cfnLaunchTemplate.PlacementProperty.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 PlacementProperty {
def apply(
affinity: Option[String] = None,
availabilityZone: Option[String] = None,
groupName: Option[String] = None,
tenancy: Option[String] = None,
hostId: Option[String] = None,
spreadDomain: Option[String] = None,
hostResourceGroupArn: Option[String] = None,
partitionNumber: Option[Number] = None
): software.amazon.awscdk.services.ec2.CfnLaunchTemplate.PlacementProperty =
(new software.amazon.awscdk.services.ec2.CfnLaunchTemplate.PlacementProperty.Builder)
.affinity(affinity.orNull)
.availabilityZone(availabilityZone.orNull)
.groupName(groupName.orNull)
.tenancy(tenancy.orNull)
.hostId(hostId.orNull)
.spreadDomain(spreadDomain.orNull)
.hostResourceGroupArn(hostResourceGroupArn.orNull)
.partitionNumber(partitionNumber.orNull)
.build()
}