AWS Native is in preview. AWS Classic is fully supported.
aws-native.batch.getComputeEnvironment
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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:
- Compute
Environment stringArn
- Compute
Environment stringArn
- compute
Environment StringArn
- compute
Environment stringArn
- compute
Environment StringArn
getComputeEnvironment Result
The following output properties are available:
- Compute
Environment stringArn - Compute
Resources ComputeEnvironment Compute Resources - Service
Role string - State string
- Unmanagedv
Cpus int
- compute
Environment StringArn - compute
Resources ComputeEnvironment Compute Resources - service
Role String - state String
- unmanagedv
Cpus Integer
- compute
Environment stringArn - compute
Resources ComputeEnvironment Compute Resources - service
Role string - state string
- unmanagedv
Cpus number
- compute
Environment StringArn - compute
Resources Property Map - service
Role String - state String
- unmanagedv
Cpus Number
Supporting Types
ComputeEnvironmentComputeResources
- Maxv
Cpus int - Subnets List<string>
- Type string
- Allocation
Strategy string - Bid
Percentage int - Desiredv
Cpus int - Ec2Configuration
List<Pulumi.
Aws Native. Batch. Inputs. Compute Environment Ec2Configuration Object> - Ec2Key
Pair string - Image
Id string - Instance
Role string - Instance
Types List<string> - Launch
Template Pulumi.Aws Native. Batch. Inputs. Compute Environment Launch Template Specification - Minv
Cpus int - Placement
Group string - Security
Group List<string>Ids - Spot
Iam stringFleet Role - object
A key-value pair to associate with a resource.
- Update
To boolLatest Image Version
- Maxv
Cpus int - Subnets []string
- Type string
- Allocation
Strategy string - Bid
Percentage int - Desiredv
Cpus int - Ec2Configuration
[]Compute
Environment Ec2Configuration Object - Ec2Key
Pair string - Image
Id string - Instance
Role string - Instance
Types []string - Launch
Template ComputeEnvironment Launch Template Specification - Minv
Cpus int - Placement
Group string - Security
Group []stringIds - Spot
Iam stringFleet Role - interface{}
A key-value pair to associate with a resource.
- Update
To boolLatest Image Version
- maxv
Cpus Integer - subnets List<String>
- type String
- allocation
Strategy String - bid
Percentage Integer - desiredv
Cpus Integer - ec2Configuration
List<Compute
Environment Ec2Configuration Object> - ec2Key
Pair String - image
Id String - instance
Role String - instance
Types List<String> - launch
Template ComputeEnvironment Launch Template Specification - minv
Cpus Integer - placement
Group String - security
Group List<String>Ids - spot
Iam StringFleet Role - Object
A key-value pair to associate with a resource.
- update
To BooleanLatest Image Version
- maxv
Cpus number - subnets string[]
- type string
- allocation
Strategy string - bid
Percentage number - desiredv
Cpus number - ec2Configuration
Compute
Environment Ec2Configuration Object[] - ec2Key
Pair string - image
Id string - instance
Role string - instance
Types string[] - launch
Template ComputeEnvironment Launch Template Specification - minv
Cpus number - placement
Group string - security
Group string[]Ids - spot
Iam stringFleet Role - any
A key-value pair to associate with a resource.
- update
To booleanLatest Image Version
- maxv_
cpus int - subnets Sequence[str]
- type str
- allocation_
strategy str - bid_
percentage int - desiredv_
cpus int - ec2_
configuration Sequence[ComputeEnvironment Ec2Configuration Object] - ec2_
key_ strpair - image_
id str - instance_
role str - instance_
types Sequence[str] - launch_
template ComputeEnvironment Launch Template Specification - minv_
cpus int - placement_
group str - security_
group_ Sequence[str]ids - spot_
iam_ strfleet_ role - Any
A key-value pair to associate with a resource.
- update_
to_ boollatest_ image_ version
- maxv
Cpus Number - subnets List<String>
- type String
- allocation
Strategy String - bid
Percentage Number - desiredv
Cpus Number - ec2Configuration List<Property Map>
- ec2Key
Pair String - image
Id String - instance
Role String - instance
Types List<String> - launch
Template Property Map - minv
Cpus Number - placement
Group String - security
Group List<String>Ids - spot
Iam StringFleet Role - Any
A key-value pair to associate with a resource.
- update
To BooleanLatest Image Version
ComputeEnvironmentEc2ConfigurationObject
- Image
Type string - Image
Id stringOverride - Image
Kubernetes stringVersion
- Image
Type string - Image
Id stringOverride - Image
Kubernetes stringVersion
- image
Type String - image
Id StringOverride - image
Kubernetes StringVersion
- image
Type string - image
Id stringOverride - image
Kubernetes stringVersion
- image
Type String - image
Id StringOverride - image
Kubernetes StringVersion
ComputeEnvironmentLaunchTemplateSpecification
- Launch
Template stringId - Launch
Template stringName - Version string
- Launch
Template stringId - Launch
Template stringName - Version string
- launch
Template StringId - launch
Template StringName - version String
- launch
Template stringId - launch
Template stringName - version string
- launch_
template_ strid - launch_
template_ strname - version str
- launch
Template StringId - launch
Template StringName - version String
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.