io.burkard.cdk.services.ec2.cfnLaunchTemplate.CapacityReservationTargetProperty.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 CapacityReservationTargetProperty {
def apply(
capacityReservationResourceGroupArn: Option[String] = None,
capacityReservationId: Option[String] = None
): software.amazon.awscdk.services.ec2.CfnLaunchTemplate.CapacityReservationTargetProperty =
(new software.amazon.awscdk.services.ec2.CfnLaunchTemplate.CapacityReservationTargetProperty.Builder)
.capacityReservationResourceGroupArn(capacityReservationResourceGroupArn.orNull)
.capacityReservationId(capacityReservationId.orNull)
.build()
}