AWSx v1.0.0, Nov 28 22
AWSx v1.0.0, Nov 28 22
awsx.ec2.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:
- 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