aws-native logo
AWS Native v0.63.0, May 25 23

aws-native.batch.getComputeEnvironment

Explore with Pulumi AI

Resource Type definition for AWS::Batch::ComputeEnvironment

Using getComputeEnvironment

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getComputeEnvironment(args: GetComputeEnvironmentArgs, opts?: InvokeOptions): Promise<GetComputeEnvironmentResult>
function getComputeEnvironmentOutput(args: GetComputeEnvironmentOutputArgs, opts?: InvokeOptions): Output<GetComputeEnvironmentResult>
def get_compute_environment(compute_environment_arn: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetComputeEnvironmentResult
def get_compute_environment_output(compute_environment_arn: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetComputeEnvironmentResult]
func LookupComputeEnvironment(ctx *Context, args *LookupComputeEnvironmentArgs, opts ...InvokeOption) (*LookupComputeEnvironmentResult, error)
func LookupComputeEnvironmentOutput(ctx *Context, args *LookupComputeEnvironmentOutputArgs, opts ...InvokeOption) LookupComputeEnvironmentResultOutput

> Note: This function is named LookupComputeEnvironment in the Go SDK.

public static class GetComputeEnvironment 
{
    public static Task<GetComputeEnvironmentResult> InvokeAsync(GetComputeEnvironmentArgs args, InvokeOptions? opts = null)
    public static Output<GetComputeEnvironmentResult> Invoke(GetComputeEnvironmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetComputeEnvironmentResult> getComputeEnvironment(GetComputeEnvironmentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aws-native:batch:getComputeEnvironment
  arguments:
    # arguments dictionary

The following arguments are supported:

getComputeEnvironment Result

The following output properties are available:

Supporting Types

ComputeEnvironmentComputeResources

maxvCpus Number
subnets List<String>
type String
allocationStrategy String
bidPercentage Number
desiredvCpus Number
ec2Configuration List<Property Map>
ec2KeyPair String
imageId String
instanceRole String
instanceTypes List<String>
launchTemplate Property Map
minvCpus Number
placementGroup String
securityGroupIds List<String>
spotIamFleetRole String
tags Any

A key-value pair to associate with a resource.

updateToLatestImageVersion Boolean

ComputeEnvironmentEc2ConfigurationObject

ComputeEnvironmentLaunchTemplateSpecification

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0