Uses of Class
software.amazon.awscdk.services.ec2.NatInstanceProps.Builder
-
Uses of NatInstanceProps.Builder in software.amazon.awscdk.services.ec2
Modifier and TypeMethodDescriptionstatic NatInstanceProps.Builder
NatInstanceProps.builder()
NatInstanceProps.Builder.creditSpecification
(CpuCredits creditSpecification) Sets the value ofNatInstanceProps.getCreditSpecification()
NatInstanceProps.Builder.defaultAllowedTraffic
(NatTrafficDirection defaultAllowedTraffic) Sets the value ofNatInstanceProps.getDefaultAllowedTraffic()
NatInstanceProps.Builder.instanceType
(InstanceType instanceType) Sets the value ofNatInstanceProps.getInstanceType()
Deprecated.- Use `keyPair` instead - https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2-readme.html#using-an-existing-ec2-key-pairSets the value ofNatInstanceProps.getKeyPair()
NatInstanceProps.Builder.machineImage
(IMachineImage machineImage) Sets the value ofNatInstanceProps.getMachineImage()
NatInstanceProps.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.Sets the value ofNatInstanceProps.getUserData()
ModifierConstructorDescriptionprotected
Jsii$Proxy
(NatInstanceProps.Builder builder) Constructor that initializes the object based on literal property values passed by theNatInstanceProps.Builder
.