Class ComputeEnvironmentComputeResources
Inheritance
Inherited Members
Namespace: Pulumi.Aws.Batch.Outputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class ComputeEnvironmentComputeResources
Fields
View SourceAllocationStrategy
The allocation strategy to use for the compute resource in case not enough instances of the best fitting instance type can be allocated. Valid items are BEST_FIT_PROGRESSIVE, SPOT_CAPACITY_OPTIMIZED or BEST_FIT. Defaults to BEST_FIT. See AWS docs for details.
Declaration
public readonly string AllocationStrategy
Field Value
| Type | Description |
|---|---|
| System.String |
BidPercentage
Integer of minimum percentage that a Spot Instance price must be when compared with the On-Demand price for that instance type before instances are launched. For example, if your bid percentage is 20% (20), then the Spot price must be below 20% of the current On-Demand price for that EC2 instance. This parameter is required for SPOT compute environments.
Declaration
public readonly int? BidPercentage
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
DesiredVcpus
The desired number of EC2 vCPUS in the compute environment.
Declaration
public readonly int? DesiredVcpus
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Ec2KeyPair
The EC2 key pair that is used for instances launched in the compute environment.
Declaration
public readonly string Ec2KeyPair
Field Value
| Type | Description |
|---|---|
| System.String |
ImageId
The Amazon Machine Image (AMI) ID used for instances launched in the compute environment.
Declaration
public readonly string ImageId
Field Value
| Type | Description |
|---|---|
| System.String |
InstanceRole
The Amazon ECS instance role applied to Amazon EC2 instances in a compute environment.
Declaration
public readonly string InstanceRole
Field Value
| Type | Description |
|---|---|
| System.String |
InstanceTypes
A list of instance types that may be launched.
Declaration
public readonly ImmutableArray<string> InstanceTypes
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
LaunchTemplate
The launch template to use for your compute resources. See details below.
Declaration
public readonly ComputeEnvironmentComputeResourcesLaunchTemplate LaunchTemplate
Field Value
| Type | Description |
|---|---|
| ComputeEnvironmentComputeResourcesLaunchTemplate |
MaxVcpus
The maximum number of EC2 vCPUs that an environment can reach.
Declaration
public readonly int MaxVcpus
Field Value
| Type | Description |
|---|---|
| System.Int32 |
MinVcpus
The minimum number of EC2 vCPUs that an environment should maintain.
Declaration
public readonly int MinVcpus
Field Value
| Type | Description |
|---|---|
| System.Int32 |
SecurityGroupIds
A list of EC2 security group that are associated with instances launched in the compute environment.
Declaration
public readonly ImmutableArray<string> SecurityGroupIds
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
SpotIamFleetRole
The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a SPOT compute environment. This parameter is required for SPOT compute environments.
Declaration
public readonly string SpotIamFleetRole
Field Value
| Type | Description |
|---|---|
| System.String |
Subnets
A list of VPC subnets into which the compute resources are launched.
Declaration
public readonly ImmutableArray<string> Subnets
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
Tags
Key-value pair tags to be applied to resources that are launched in the compute environment.
Declaration
public readonly ImmutableDictionary<string, object> Tags
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableDictionary<System.String, System.Object> |
Type
The type of compute environment. Valid items are EC2 or SPOT.
Declaration
public readonly string Type
Field Value
| Type | Description |
|---|---|
| System.String |