Beispiel #1
0
 /// <summary>
 /// `aws.ec2.RouteTable` provides details about a specific Route Table.
 ///
 /// This resource can prove useful when a module accepts a Subnet id as
 /// an input variable and needs to, for example, add a route in
 /// the Route Table.
 ///
 ///
 ///
 /// &gt; This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/route_table.html.markdown.
 /// </summary>
 public static Task <GetRouteTableResult> InvokeAsync(GetRouteTableArgs?args = null, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <GetRouteTableResult>("aws:ec2/getRouteTable:getRouteTable", args ?? InvokeArgs.Empty, options.WithVersion());
Beispiel #2
0
 /// <summary>
 /// Get information on an EC2 Transit Gateway Route Table.
 ///
 /// {{% examples %}}
 /// ## Example Usage
 /// {{% example %}}
 /// ### By Identifier
 ///
 /// ```csharp
 /// using Pulumi;
 /// using Aws = Pulumi.Aws;
 ///
 /// class MyStack : Stack
 /// {
 ///     public MyStack()
 ///     {
 ///         var example = Output.Create(Aws.Ec2TransitGateway.GetRouteTable.InvokeAsync(new Aws.Ec2TransitGateway.GetRouteTableArgs
 ///         {
 ///             Id = "tgw-rtb-12345678",
 ///         }));
 ///     }
 ///
 /// }
 /// ```
 /// {{% /example %}}
 /// {{% /examples %}}
 /// </summary>
 public static Task <GetRouteTableResult> InvokeAsync(GetRouteTableArgs?args = null, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <GetRouteTableResult>("aws:ec2transitgateway/getRouteTable:getRouteTable", args ?? new GetRouteTableArgs(), options.WithVersion());