cloudshift.awscdk.dsl.services.devicefarm._BuildableLastArgumentExtensions.kt Maven / Gradle / Ivy
@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())
}