io.burkard.cdk.services.ec2.cfnSpotFleet.SpotPlacementProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.ec2.cfnSpotFleet
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object SpotPlacementProperty {
def apply(
groupName: Option[String] = None,
availabilityZone: Option[String] = None,
tenancy: Option[String] = None
): software.amazon.awscdk.services.ec2.CfnSpotFleet.SpotPlacementProperty =
(new software.amazon.awscdk.services.ec2.CfnSpotFleet.SpotPlacementProperty.Builder)
.groupName(groupName.orNull)
.availabilityZone(availabilityZone.orNull)
.tenancy(tenancy.orNull)
.build()
}