1. Packages
  2. AWS Native
  3. API Docs
  4. batch
  5. getComputeEnvironment

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

aws-native.batch.getComputeEnvironment

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

    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 Map<String>
    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
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi