You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Lambda::Types::VpcConfig

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing VpcConfig as input to an Aws::Client method, you can use a vanilla Hash:

{
  subnet_ids: ["SubnetId"],
  security_group_ids: ["SecurityGroupId"],
}

If your Lambda function accesses resources in a VPC, you provide this parameter identifying the list of security group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one security group and one subnet ID.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#security_group_idsArray<String>

A list of one or more security groups IDs in your VPC.

Returns:

  • (Array<String>)

    A list of one or more security groups IDs in your VPC.

#subnet_idsArray<String>

A list of one or more subnet IDs in your VPC.

Returns:

  • (Array<String>)

    A list of one or more subnet IDs in your VPC.