AWSx

Pulumi Official
Package maintained by Pulumi
v1.0.0-beta.7 published on Wednesday, May 25, 2022 by Pulumi

getDefaultVpc

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

function getDefaultVpc(args: GetDefaultVpcArgs, opts?: InvokeOptions): Promise<GetDefaultVpcResult>
def get_default_vpc(opts: Optional[InvokeOptions] = None) -> GetDefaultVpcResult
func GetDefaultVpc(ctx *Context, args *GetDefaultVpcArgs, opts ...InvokeOption) (*GetDefaultVpcResult, error)

> 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 CompletableFuture<GetDefaultVpcResult> getDefaultVpc(GetDefaultVpcArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: awsx:ec2:getDefaultVpc
  Arguments:
    # Arguments dictionary

The following arguments are supported:

getDefaultVpc Result

The following output properties are available:

PrivateSubnetIds List<string>
PublicSubnetIds List<string>
VpcId string

The VPC ID for the default VPC

PrivateSubnetIds []string
PublicSubnetIds []string
VpcId string

The VPC ID for the default VPC

privateSubnetIds List<String>
publicSubnetIds List<String>
vpcId String

The VPC ID for the default VPC

privateSubnetIds string[]
publicSubnetIds string[]
vpcId string

The VPC ID for the default VPC

private_subnet_ids Sequence[str]
public_subnet_ids Sequence[str]
vpc_id str

The VPC ID for the default VPC

privateSubnetIds List<String>
publicSubnetIds List<String>
vpcId String

The VPC ID for the default VPC

Package Details

Repository
https://github.com/pulumi/pulumi-awsx
License
Apache-2.0