AWSx (Pulumi Crosswalk for AWS) v3.0.0 published on Tuesday, Jul 22, 2025 by Pulumi
awsx.ec2.getDefaultVpc
AWSx (Pulumi Crosswalk for AWS) v3.0.0 published on Tuesday, Jul 22, 2025 by Pulumi
Deprecated: Waiting for https://github.com/pulumi/pulumi/issues/7583. Use the DefaultVpc resource until resolved.
[NOT YET IMPLEMENTED] Get the Default VPC for a region.
Using getDefaultVpc
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDefaultVpc(args: GetDefaultVpcArgs, opts?: InvokeOptions): Promise<GetDefaultVpcResult>
function getDefaultVpcOutput(args: GetDefaultVpcOutputArgs, opts?: InvokeOptions): Output<GetDefaultVpcResult>def get_default_vpc(opts: Optional[InvokeOptions] = None) -> GetDefaultVpcResult
def get_default_vpc_output(opts: Optional[InvokeOptions] = None) -> Output[GetDefaultVpcResult]func GetDefaultVpc(ctx *Context, args *GetDefaultVpcArgs, opts ...InvokeOption) (*GetDefaultVpcResult, error)
func GetDefaultVpcOutput(ctx *Context, args *GetDefaultVpcOutputArgs, opts ...InvokeOption) GetDefaultVpcResultOutput> Note: This function is named GetDefaultVpc in the Go SDK.
public static class GetDefaultVpc
{
public static Task<GetDefaultVpcResult> InvokeAsync(GetDefaultVpcArgs args, InvokeOptions? opts = null)
public static Output<GetDefaultVpcResult> Invoke(GetDefaultVpcInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDefaultVpcResult> getDefaultVpc(GetDefaultVpcArgs args, InvokeOptions options)
public static Output<GetDefaultVpcResult> getDefaultVpc(GetDefaultVpcArgs args, InvokeOptions options)
fn::invoke:
function: awsx:ec2:getDefaultVpc
arguments:
# arguments dictionaryThe following arguments are supported:
getDefaultVpc Result
The following output properties are available:
- Private
Subnet List<string>Ids - Public
Subnet List<string>Ids - Vpc
Id string - The VPC ID for the default VPC
- Private
Subnet []stringIds - Public
Subnet []stringIds - Vpc
Id string - The VPC ID for the default VPC
- private
Subnet List<String>Ids - public
Subnet List<String>Ids - vpc
Id String - The VPC ID for the default VPC
- private
Subnet string[]Ids - public
Subnet string[]Ids - vpc
Id string - The VPC ID for the default VPC
- private_
subnet_ Sequence[str]ids - public_
subnet_ Sequence[str]ids - vpc_
id str - The VPC ID for the default VPC
- private
Subnet List<String>Ids - public
Subnet List<String>Ids - vpc
Id String - The VPC ID for the default VPC
Package Details
- Repository
- AWSx (Pulumi Crosswalk for AWS) pulumi/pulumi-awsx
- License
- Apache-2.0
AWSx (Pulumi Crosswalk for AWS) v3.0.0 published on Tuesday, Jul 22, 2025 by Pulumi
