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

io.burkard.cdk.services.ec2.InstanceRequireImdsv2Aspect.scala Maven / Gradle / Ivy

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

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object InstanceRequireImdsv2Aspect {

  def apply(
    suppressLaunchTemplateWarning: Option[Boolean] = None,
    suppressWarnings: Option[Boolean] = None
  ): software.amazon.awscdk.services.ec2.InstanceRequireImdsv2Aspect =
    software.amazon.awscdk.services.ec2.InstanceRequireImdsv2Aspect.Builder
      .create()
      .suppressLaunchTemplateWarning(suppressLaunchTemplateWarning.map(Boolean.box).orNull)
      .suppressWarnings(suppressWarnings.map(Boolean.box).orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy