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 that are attached to a Lambda function. For more information, see [VPC Settings].

[1]: docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#security_group_idsArray<String>

A list of VPC security groups IDs.

Returns:

  • (Array<String>)

5707
5708
5709
5710
5711
5712
# File 'lib/aws-sdk-lambda/types.rb', line 5707

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

#subnet_idsArray<String>

A list of VPC subnet IDs.

Returns:

  • (Array<String>)

5707
5708
5709
5710
5711
5712
# File 'lib/aws-sdk-lambda/types.rb', line 5707

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