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

io.burkard.cdk.services.greengrass.cfnFunctionDefinitionVersion.EnvironmentProperty.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.greengrass.cfnFunctionDefinitionVersion

import scala.collection.JavaConverters._

@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object EnvironmentProperty {

  def apply(
    execution: Option[software.amazon.awscdk.services.greengrass.CfnFunctionDefinitionVersion.ExecutionProperty] = None,
    accessSysfs: Option[Boolean] = None,
    resourceAccessPolicies: Option[List[_]] = None,
    variables: Option[AnyRef] = None
  ): software.amazon.awscdk.services.greengrass.CfnFunctionDefinitionVersion.EnvironmentProperty =
    (new software.amazon.awscdk.services.greengrass.CfnFunctionDefinitionVersion.EnvironmentProperty.Builder)
      .execution(execution.orNull)
      .accessSysfs(accessSysfs.map(Boolean.box).orNull)
      .resourceAccessPolicies(resourceAccessPolicies.map(_.asJava).orNull)
      .variables(variables.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy