Class ComputeEnvironmentComputeResourcesArgs
Inherited Members
Namespace: Pulumi.Aws.Batch.Inputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class ComputeEnvironmentComputeResourcesArgs : ResourceArgs
Constructors
View SourceComputeEnvironmentComputeResourcesArgs()
Declaration
public ComputeEnvironmentComputeResourcesArgs()
Properties
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 Input<string> AllocationStrategy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<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 Input<int> BidPercentage { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
DesiredVcpus
The desired number of EC2 vCPUS in the compute environment.
Declaration
public Input<int> DesiredVcpus { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Ec2KeyPair
The EC2 key pair that is used for instances launched in the compute environment.
Declaration
public Input<string> Ec2KeyPair { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ImageId
The Amazon Machine Image (AMI) ID used for instances launched in the compute environment.
Declaration
public Input<string> ImageId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
InstanceRole
The Amazon ECS instance role applied to Amazon EC2 instances in a compute environment.
Declaration
public Input<string> InstanceRole { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
InstanceTypes
A list of instance types that may be launched.
Declaration
public InputList<string> InstanceTypes { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
LaunchTemplate
The launch template to use for your compute resources. See details below.
Declaration
public Input<ComputeEnvironmentComputeResourcesLaunchTemplateArgs> LaunchTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ComputeEnvironmentComputeResourcesLaunchTemplateArgs> |
MaxVcpus
The maximum number of EC2 vCPUs that an environment can reach.
Declaration
public Input<int> MaxVcpus { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
MinVcpus
The minimum number of EC2 vCPUs that an environment should maintain.
Declaration
public Input<int> MinVcpus { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
SecurityGroupIds
A list of EC2 security group that are associated with instances launched in the compute environment.
Declaration
public InputList<string> SecurityGroupIds { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<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 Input<string> SpotIamFleetRole { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Subnets
A list of VPC subnets into which the compute resources are launched.
Declaration
public InputList<string> Subnets { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Tags
Key-value pair tags to be applied to resources that are launched in the compute environment.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
Type
The type of compute environment. Valid items are EC2 or SPOT.
Declaration
public Input<string> Type { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |