Class GetDomain
Inheritance
System.Object
GetDomain
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.ElasticSearch
Assembly: Pulumi.Aws.dll
Syntax
public static class GetDomain
Methods
View SourceInvokeAsync(GetDomainArgs, InvokeOptions)
Use this data source to get information about an Elasticsearch Domain
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var myDomain = Output.Create(Aws.ElasticSearch.GetDomain.InvokeAsync(new Aws.ElasticSearch.GetDomainArgs
{
DomainName = "my-domain-name",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetDomainResult> InvokeAsync(GetDomainArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetDomainArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetDomainResult> |