pub struct Builder { /* private fields */ }Expand description
A builder for AwsLambdaFunctionVpcConfig.
Implementations§
source§impl Builder
impl Builder
sourcepub fn security_group_ids(self, input: impl Into<String>) -> Self
pub fn security_group_ids(self, input: impl Into<String>) -> Self
Appends an item to security_group_ids.
To override the contents of this collection use set_security_group_ids.
A list of VPC security groups IDs.
sourcepub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self
A list of VPC security groups IDs.
sourcepub fn subnet_ids(self, input: impl Into<String>) -> Self
pub fn subnet_ids(self, input: impl Into<String>) -> Self
Appends an item to subnet_ids.
To override the contents of this collection use set_subnet_ids.
A list of VPC subnet IDs.
sourcepub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
A list of VPC subnet IDs.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The ID of the VPC.
sourcepub fn build(self) -> AwsLambdaFunctionVpcConfig
pub fn build(self) -> AwsLambdaFunctionVpcConfig
Consumes the builder and constructs a AwsLambdaFunctionVpcConfig.