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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lambda/types.rb

Overview

Note:

When making an API call, you may pass VpcConfig data as a hash:

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

The VPC security groups and subnets attached to a Lambda function.

Instance Attribute Summary collapse

Instance Attribute Details

#security_group_idsArray<String>

A list of VPC security groups IDs.

Returns:

  • (Array<String>)


2957
2958
2959
2960
2961
# File 'lib/aws-sdk-lambda/types.rb', line 2957

class VpcConfig < Struct.new(
  :subnet_ids,
  :security_group_ids)
  include Aws::Structure
end

#subnet_idsArray<String>

A list of VPC subnet IDs.

Returns:

  • (Array<String>)


2957
2958
2959
2960
2961
# File 'lib/aws-sdk-lambda/types.rb', line 2957

class VpcConfig < Struct.new(
  :subnet_ids,
  :security_group_ids)
  include Aws::Structure
end