Readonly
idReadonly
vpcAsynchronously retrieves the IDs for the isolated subnets in this Vpc. This will only retrieve data for the subnets specified when the Vpc was created. If subnets were created externally, they will not be included.
The nat gateways created to allow private subnets access to the internet. Only available if this was created using [VpcArgs].
Asynchronously retrieves the IDs for the private subnets in this Vpc. This will only retrieve data for the subnets specified when the Vpc was created. If subnets were created externally, they will not be included.
Asynchronously retrieves the IDs for the public subnets in this Vpc. This will only retrieve data for the subnets specified when the Vpc was created. If subnets were created externally, they will not be included.
Optional
subnets: Subnet[]Asynchronously retrieves the subnets of a particular type in this Vpc. This will only retrieve data for the subnets specified when the Vpc was created. If subnets were created externally, they will not be included.
Asynchronously retrieves the IDs for the subnets of a particular type in this Vpc. This will only retrieve data for the subnets specified when the Vpc was created. If subnets were created externally, they will not be included.
Protected
initializeStatic
fromGet an existing Vpc resource's state with the given name and IDs of its relevant sub-resources. This will not cause a VPC (or any sub-resources) to be created, and removing this Vpc from your pulumi application will not cause the existing cloud resource (or sub-resources) to be destroyed.
Optional
opts: anyStatic
getGets the default vpc for the current aws account and region.
See https://docs.aws.amazon.com/vpc/latest/userguide/default-vpc.html for more details.
Note: the no-arg version of this call is not recommended. It will acquire the default Vpc
for the current region and cache it. Instead, it is recommended that the getDefault(opts)
version be used instead with either opts.provider
or opts.parent
set. This version will
properly get the default vpc for the region the provider specifies.
This method will return the same Vpc instance when passed the same provider
.
Generated using TypeDoc
The internet gateway created to allow traffic to/from the internet to the public subnets. Only available if this was created using [VpcArgs].