Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data VpcConfig = VpcConfig' {}
- newVpcConfig :: NonEmpty Text -> NonEmpty Text -> VpcConfig
- vpcConfig_securityGroupIds :: Lens' VpcConfig (NonEmpty Text)
- vpcConfig_subnets :: Lens' VpcConfig (NonEmpty Text)
Documentation
Specifies a VPC that your training jobs and hosted models have access to. Control access to and from your training and model containers by configuring the VPC. For more information, see Protect Endpoints by Using an Amazon Virtual Private Cloud and Protect Training Jobs by Using an Amazon Virtual Private Cloud.
See: newVpcConfig
smart constructor.
VpcConfig' | |
|
Instances
Eq VpcConfig Source # | |
Read VpcConfig Source # | |
Show VpcConfig Source # | |
Generic VpcConfig Source # | |
NFData VpcConfig Source # | |
Defined in Amazonka.SageMaker.Types.VpcConfig | |
Hashable VpcConfig Source # | |
Defined in Amazonka.SageMaker.Types.VpcConfig | |
ToJSON VpcConfig Source # | |
Defined in Amazonka.SageMaker.Types.VpcConfig | |
FromJSON VpcConfig Source # | |
type Rep VpcConfig Source # | |
Defined in Amazonka.SageMaker.Types.VpcConfig type Rep VpcConfig = D1 ('MetaData "VpcConfig" "Amazonka.SageMaker.Types.VpcConfig" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "VpcConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "securityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text)) :*: S1 ('MetaSel ('Just "subnets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text)))) |
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
- The VPC security group IDs, in the form sg-xxxxxxxx. Specify the
security groups for the VPC that is specified in the Subnets
field.
$sel:subnets:VpcConfig'
, vpcConfig_subnets
- The ID of the subnets in the VPC to which you want to connect your
training job or model. For information about the availability of
specific instance types, see
Supported Instance Types and Availability Zones.
vpcConfig_securityGroupIds :: Lens' VpcConfig (NonEmpty Text) Source #
The VPC security group IDs, in the form sg-xxxxxxxx. Specify the
security groups for the VPC that is specified in the Subnets
field.
vpcConfig_subnets :: Lens' VpcConfig (NonEmpty Text) Source #
The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see Supported Instance Types and Availability Zones.