List of usage examples for com.amazonaws.services.lambda.model VpcConfig VpcConfig
VpcConfig
From source file:jp.classmethod.aws.gradle.lambda.VpcConfigWrapper.java
License:Apache License
/** * @return {@link VpcConfig} instance/* w w w. j a v a 2 s. c om*/ * @throws {@link GradleException} if at least one subnet and one security group are not set */ public VpcConfig toVpcConfig() { this.validate(); return new VpcConfig().withSubnetIds(this.subnetIds).withSecurityGroupIds(this.securityGroupIds); }