class Amazonite::Lambda::VpcConfig

Overview

The VPC security groups and subnets that are attached to a Lambda function. For more information, see Configuring a Lambda function to access resources in a VPC.

Included Modules

Defined in:

lambda/vpc_config.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(subnet_ids : Array(String) | Nil = nil, security_group_ids : Array(String) | Nil = nil, ipv_6_allowed_for_dual_stack : Bool | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def ipv_6_allowed_for_dual_stack : Bool | Nil #

Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.


[View source]
def ipv_6_allowed_for_dual_stack=(ipv_6_allowed_for_dual_stack : Bool | Nil) #

Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.


[View source]
def security_group_ids : Array(String) | Nil #

A list of VPC security group IDs.


[View source]
def security_group_ids=(security_group_ids : Array(String) | Nil) #

A list of VPC security group IDs.


[View source]
def subnet_ids : Array(String) | Nil #

A list of VPC subnet IDs.


[View source]
def subnet_ids=(subnet_ids : Array(String) | Nil) #

A list of VPC subnet IDs.


[View source]
def validate! : Nil #

[View source]