AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi

ComputeEnvironment

Resource Type definition for AWS::Batch::ComputeEnvironment

Create a ComputeEnvironment Resource

new ComputeEnvironment(name: string, args: ComputeEnvironmentArgs, opts?: CustomResourceOptions);
@overload
def ComputeEnvironment(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       compute_environment_name: Optional[str] = None,
                       compute_resources: Optional[ComputeEnvironmentComputeResourcesArgs] = None,
                       replace_compute_environment: Optional[bool] = None,
                       service_role: Optional[str] = None,
                       state: Optional[str] = None,
                       tags: Optional[Any] = None,
                       type: Optional[str] = None,
                       unmanagedv_cpus: Optional[int] = None,
                       update_policy: Optional[ComputeEnvironmentUpdatePolicyArgs] = None)
@overload
def ComputeEnvironment(resource_name: str,
                       args: ComputeEnvironmentArgs,
                       opts: Optional[ResourceOptions] = None)
func NewComputeEnvironment(ctx *Context, name string, args ComputeEnvironmentArgs, opts ...ResourceOption) (*ComputeEnvironment, error)
public ComputeEnvironment(string name, ComputeEnvironmentArgs args, CustomResourceOptions? opts = null)
public ComputeEnvironment(String name, ComputeEnvironmentArgs args)
public ComputeEnvironment(String name, ComputeEnvironmentArgs args, CustomResourceOptions options)
type: aws-native:batch:ComputeEnvironment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ComputeEnvironmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ComputeEnvironmentArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ComputeEnvironmentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ComputeEnvironmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ComputeEnvironmentArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ComputeEnvironment Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The ComputeEnvironment resource accepts the following input properties:

type String
computeEnvironmentName String
computeResources Property Map
replaceComputeEnvironment Boolean
serviceRole String
state String
tags Any

A key-value pair to associate with a resource.

unmanagedvCpus Number
updatePolicy Property Map

Outputs

All input properties are implicitly available as output properties. Additionally, the ComputeEnvironment resource produces the following output properties:

ComputeEnvironmentArn string
Id string

The provider-assigned unique ID for this managed resource.

ComputeEnvironmentArn string
Id string

The provider-assigned unique ID for this managed resource.

computeEnvironmentArn String
id String

The provider-assigned unique ID for this managed resource.

computeEnvironmentArn string
id string

The provider-assigned unique ID for this managed resource.

compute_environment_arn str
id str

The provider-assigned unique ID for this managed resource.

computeEnvironmentArn String
id String

The provider-assigned unique ID for this managed resource.

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

ComputeEnvironmentUpdatePolicy

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0