| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Lambda.Types.VpcConfig
Description
Synopsis
- data VpcConfig = VpcConfig' {}
- newVpcConfig :: VpcConfig
- vpcConfig_securityGroupIds :: Lens' VpcConfig (Maybe [Text])
- vpcConfig_subnetIds :: Lens' VpcConfig (Maybe [Text])
Documentation
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.
See: newVpcConfig smart constructor.
Constructors
| VpcConfig' | |
Instances
| ToJSON VpcConfig Source # | |
Defined in Amazonka.Lambda.Types.VpcConfig | |
| Generic VpcConfig Source # | |
| Read VpcConfig Source # | |
| Show VpcConfig Source # | |
| NFData VpcConfig Source # | |
Defined in Amazonka.Lambda.Types.VpcConfig | |
| Eq VpcConfig Source # | |
| Hashable VpcConfig Source # | |
Defined in Amazonka.Lambda.Types.VpcConfig | |
| type Rep VpcConfig Source # | |
Defined in Amazonka.Lambda.Types.VpcConfig type Rep VpcConfig = D1 ('MetaData "VpcConfig" "Amazonka.Lambda.Types.VpcConfig" "amazonka-lambda-2.0-FcjxCCKaCGK94C2lDO9alC" 'False) (C1 ('MetaCons "VpcConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "securityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "subnetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) | |
newVpcConfig :: VpcConfig Source #
Create a value of VpcConfig with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:securityGroupIds:VpcConfig', vpcConfig_securityGroupIds - A list of VPC security group IDs.
$sel:subnetIds:VpcConfig', vpcConfig_subnetIds - A list of VPC subnet IDs.