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

cloudshift.awscdk.dsl.services.devicefarm._BuildableLastArgumentExtensions.kt Maven / Gradle / Ivy

There is a newer version: 0.7.0
Show newest version
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")

package cloudshift.awscdk.dsl.services.devicefarm

import kotlin.Unit
import software.amazon.awscdk.services.devicefarm.CfnProject
import software.amazon.awscdk.services.devicefarm.CfnTestGridProject

/**
 * The VPC security groups and subnets that are attached to a project.
 */
public inline fun CfnProject.setVpcConfig(block: CfnProjectVpcConfigPropertyDsl.() -> Unit = {}) {
  val builder = CfnProjectVpcConfigPropertyDsl()
  builder.apply(block)
  return setVpcConfig(builder.build())
}

/**
 * The VPC security groups and subnets that are attached to a project.
 */
public inline
    fun CfnTestGridProject.setVpcConfig(block: CfnTestGridProjectVpcConfigPropertyDsl.() -> Unit =
    {}) {
  val builder = CfnTestGridProjectVpcConfigPropertyDsl()
  builder.apply(block)
  return setVpcConfig(builder.build())
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy