Show / Hide Table of Contents

Class GetInstance

Inheritance
System.Object
GetInstance
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.Rds
Assembly: Pulumi.Aws.dll
Syntax
public static class GetInstance

Methods

View Source

InvokeAsync(GetInstanceArgs, InvokeOptions)

Use this data source to get information about an RDS instance

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var database = Output.Create(Aws.Rds.GetInstance.InvokeAsync(new Aws.Rds.GetInstanceArgs
    {
        DbInstanceIdentifier = "my-test-database",
    }));
}

}

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

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