AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
An object representing an AWS Batch compute resource.
public class ComputeResource
The ComputeResource type exposes the following members
Gets and sets the property BidPercentage.
The 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%, then the Spot price must be below 20% of the current On-Demand price for that EC2 instance.
Gets and sets the property DesiredvCpus.
The desired number of EC2 vCPUS in the compute environment.
Gets and sets the property Ec2KeyPair.
The EC2 key pair that is used for instances launched in the compute environment.
Gets and sets the property ImageId.
The Amazon Machine Image (AMI) ID used for instances launched in the compute environment.
Gets and sets the property InstanceRole.
The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment.
You can specify the short name or full Amazon Resource Name (ARN) of an instance profile.
Gets and sets the property InstanceTypes.
The instances types that may be launched. You can specify instance families to launch
any instance type within those families (for example,
Gets and sets the property MaxvCpus.
The maximum number of EC2 vCPUs that an environment can reach.
Gets and sets the property MinvCpus.
The minimum number of EC2 vCPUs that an environment should maintain.
Gets and sets the property SecurityGroupIds.
The EC2 security group that is associated with instances launched in the compute environment.
Gets and sets the property SpotIamFleetRole.
The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a
Gets and sets the property Subnets.
The VPC subnets into which the compute resources are launched.
Gets and sets the property Tags.
Key-value pair tags to be applied to resources that are launched in the compute environment.
Gets and sets the property Type.
The type of compute environment.
Supported in: 1.3
Supported in: 4.5, 4.0, 3.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms