Uses of Class
software.amazon.awscdk.services.ec2.NatInstanceProvider.Builder
-
Uses of NatInstanceProvider.Builder in software.amazon.awscdk.services.ec2
Modifier and TypeMethodDescriptionstatic NatInstanceProvider.Builder
NatInstanceProvider.Builder.create()
Deprecated.NatInstanceProvider.Builder.creditSpecification
(CpuCredits creditSpecification) Deprecated.Specifying the CPU credit type for burstable EC2 instance types (T2, T3, T3a, etc).NatInstanceProvider.Builder.defaultAllowedTraffic
(NatTrafficDirection defaultAllowedTraffic) Deprecated.Direction to allow all traffic through the NAT instance by default.NatInstanceProvider.Builder.instanceType
(InstanceType instanceType) Deprecated.Instance type of the NAT instance.Deprecated.Deprecated.The SSH keypair to grant access to the instance.NatInstanceProvider.Builder.machineImage
(IMachineImage machineImage) Deprecated.The machine image (AMI) to use.NatInstanceProvider.Builder.securityGroup
(ISecurityGroup securityGroup) Deprecated.- Cannot create a new security group before the VPC is created, and cannot create the VPC without the NAT provider.Deprecated.Custom user data to run on the NAT instances.
keyPair
instead - https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2-readme.html#using-an-existing-ec2-key-pair