Show / Hide Table of Contents

Class ComputeEnvironmentComputeResources

Inheritance
System.Object
ComputeEnvironmentComputeResources
Inherited Members
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.Outputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class ComputeEnvironmentComputeResources

Fields

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 readonly string AllocationStrategy
Field Value
Type Description
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 readonly int? BidPercentage
Field Value
Type Description
System.Nullable<System.Int32>
View Source

DesiredVcpus

The desired number of EC2 vCPUS in the compute environment.

Declaration
public readonly int? DesiredVcpus
Field Value
Type Description
System.Nullable<System.Int32>
View Source

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

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

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

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

LaunchTemplate

The launch template to use for your compute resources. See details below.

Declaration
public readonly ComputeEnvironmentComputeResourcesLaunchTemplate LaunchTemplate
Field Value
Type Description
ComputeEnvironmentComputeResourcesLaunchTemplate
View Source

MaxVcpus

The maximum number of EC2 vCPUs that an environment can reach.

Declaration
public readonly int MaxVcpus
Field Value
Type Description
System.Int32
View Source

MinVcpus

The minimum number of EC2 vCPUs that an environment should maintain.

Declaration
public readonly int MinVcpus
Field Value
Type Description
System.Int32
View Source

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>
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 readonly string SpotIamFleetRole
Field Value
Type Description
System.String
View Source

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

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

Type

The type of compute environment. Valid items are EC2 or SPOT.

Declaration
public readonly string Type
Field Value
Type Description
System.String
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.