Show / Hide Table of Contents

Class GetComputeEnvironment

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

Methods

View Source

InvokeAsync(GetComputeEnvironmentArgs, InvokeOptions)

The Batch Compute Environment data source allows access to details of a specific compute environment within AWS Batch.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var batch_mongo = Output.Create(Aws.Batch.GetComputeEnvironment.InvokeAsync(new Aws.Batch.GetComputeEnvironmentArgs
    {
        ComputeEnvironmentName = "batch-mongo-production",
    }));
}

}

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

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