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

aws-native.batch.ComputeEnvironment

Explore with Pulumi AI

Resource Type definition for AWS::Batch::ComputeEnvironment

Create 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,
                       eks_configuration: Optional[ComputeEnvironmentEksConfigurationArgs] = 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:

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

ComputeEnvironmentEksConfiguration

ComputeEnvironmentLaunchTemplateSpecification

ComputeEnvironmentUpdatePolicy

Package Details

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