C# Класс Amazon.Batch.Model.CreateComputeEnvironmentRequest

Container for the parameters to the CreateComputeEnvironment operation. Creates an AWS Batch compute environment. You can create MANAGED or UNMANAGEDcompute environments.

In a managed compute environment, AWS Batch manages the compute resources within the environment, based on the compute resources that you specify. Instances launched into a managed compute environment use the latest Amazon ECS-optimized AMI. You can choose to use Amazon EC2 On-Demand instances in your managed compute environment, or you can use Amazon EC2 Spot instances that only launch when the Spot bid price is below a specified percentage of the On-Demand price.

In an unmanaged compute environment, you can manage your own compute resources. This provides more compute resource configuration options, such as using a custom AMI, but you must ensure that your AMI meets the Amazon ECS container instance AMI specification. For more information, see Container Instance AMIs in the Amazon EC2 Container Service Developer Guide. After you have created your unmanaged compute environment, you can use the DescribeComputeEnvironments operation to find the Amazon ECS cluster that is associated with it and then manually launch your container instances into that Amazon ECS cluster. For more information, see Launching an Amazon ECS Container Instance in the Amazon EC2 Container Service Developer Guide.

Наследование: AmazonBatchRequest
Показать файл Открыть проект Примеры использования класса

Приватные методы

Метод Описание
IsSetComputeEnvironmentName ( ) : bool
IsSetComputeResources ( ) : bool
IsSetServiceRole ( ) : bool
IsSetState ( ) : bool
IsSetType ( ) : bool