Class GetApplication
Inheritance
System.Object
GetApplication
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.ElasticBeanstalk
Assembly: Pulumi.Aws.dll
Syntax
public static class GetApplication
Methods
View SourceInvokeAsync(GetApplicationArgs, InvokeOptions)
Retrieve information about an Elastic Beanstalk Application.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Aws.ElasticBeanstalk.GetApplication.InvokeAsync(new Aws.ElasticBeanstalk.GetApplicationArgs
{
Name = "example",
}));
this.Arn = example.Apply(example => example.Arn);
this.Description = example.Apply(example => example.Description);
}
[Output("arn")]
public Output<string> Arn { get; set; }
[Output("description")]
public Output<string> Description { get; set; }
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetApplicationResult> InvokeAsync(GetApplicationArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetApplicationArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetApplicationResult> |