Show / Hide Table of Contents

Class ComputeEnvironmentComputeResourcesArgs

Inheritance
System.Object
InputArgs
ResourceArgs
ComputeEnvironmentComputeResourcesArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Batch.Inputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class ComputeEnvironmentComputeResourcesArgs : ResourceArgs

Constructors

View Source

ComputeEnvironmentComputeResourcesArgs()

Declaration
public ComputeEnvironmentComputeResourcesArgs()

Properties

View Source

AllocationStrategy

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

InstanceTypes

A list of instance types that may be launched.

Declaration
public InputList<string> InstanceTypes { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.