Show / Hide Table of Contents

Class GetCluster

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

Methods

View Source

InvokeAsync(GetClusterArgs, InvokeOptions)

The ECS Cluster data source allows access to details of a specific cluster within an AWS ECS service.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var ecs_mongo = Output.Create(Aws.Ecs.GetCluster.InvokeAsync(new Aws.Ecs.GetClusterArgs
    {
        ClusterName = "ecs-mongo-production",
    }));
}

}

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

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