All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.ec2.cfnEC2Fleet.PlacementProperty.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.ec2.cfnEC2Fleet

@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.CfnEC2Fleet.PlacementProperty =
    (new software.amazon.awscdk.services.ec2.CfnEC2Fleet.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()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy