Class: Aws::Lambda::Types::VpcConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lambda::Types::VpcConfig
- 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"],
}
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.
Instance Attribute Summary collapse
-
#security_group_ids ⇒ Array<String>
A list of one or more security groups IDs in your VPC.
-
#subnet_ids ⇒ Array<String>
A list of one or more subnet IDs in your VPC.
Instance Attribute Details
#security_group_ids ⇒ Array<String>
A list of one or more security groups IDs in your VPC.
2439 2440 2441 2442 2443 |
# File 'lib/aws-sdk-lambda/types.rb', line 2439 class VpcConfig < Struct.new( :subnet_ids, :security_group_ids) include Aws::Structure end |
#subnet_ids ⇒ Array<String>
A list of one or more subnet IDs in your VPC.
2439 2440 2441 2442 2443 |
# File 'lib/aws-sdk-lambda/types.rb', line 2439 class VpcConfig < Struct.new( :subnet_ids, :security_group_ids) include Aws::Structure end |