Show / Hide Table of Contents

Class GetVpc

Inheritance
System.Object
GetVpc
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Ec2
Assembly: Pulumi.Aws.dll
Syntax
public static class GetVpc

Methods

View Source

InvokeAsync(GetVpcArgs, InvokeOptions)

aws.ec2.Vpc provides details about a specific VPC.

This resource can prove useful when a module accepts a vpc id as an input variable and needs to, for example, determine the CIDR block of that VPC.

{{% examples %}} {{% /examples %}}

Declaration
public static Task<GetVpcResult> InvokeAsync(GetVpcArgs args = null, InvokeOptions options = null)
Parameters
Type Name Description
GetVpcArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetVpcResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.