Example usage for com.amazonaws.services.lambda.model VpcConfig VpcConfig

List of usage examples for com.amazonaws.services.lambda.model VpcConfig VpcConfig

Introduction

In this page you can find the example usage for com.amazonaws.services.lambda.model VpcConfig VpcConfig.

Prototype

VpcConfig

Source Link

Usage

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);
}