Given I have a known cidr space (/18) and know how...
# aws
Given I have a known cidr space (/18) and know how that is partitioned across subnets (using awsx logic), how can I use getIPV4Address(value) to create some private fixed addresses in my network? Unsure what
value: number
is here.
That method is a member of the ExistingVpcArgs interface; it's used for looking up an existing VPC. Not what you want.
As a matter of course, don't use the old "docs" links when reading API specs. Use the registry. I don't know why the old docs links work still...
To associate a private IPv4 address with an EC2 instance, use the
property for the args constructor parameter of an instance:
Thank you for the note about the old docs, I had not even registered that.