Struct rusoto_batch::ComputeResource [] [src]

pub struct ComputeResource {
    pub bid_percentage: Option<i64>,
    pub desiredv_cpus: Option<i64>,
    pub ec_2_key_pair: Option<String>,
    pub image_id: Option<String>,
    pub instance_role: String,
    pub instance_types: Vec<String>,
    pub maxv_cpus: i64,
    pub minv_cpus: i64,
    pub security_group_ids: Vec<String>,
    pub spot_iam_fleet_role: Option<String>,
    pub subnets: Vec<String>,
    pub tags: Option<HashMap<String, String>>,
    pub type_: String,
}

An object representing an AWS Batch compute resource.

Fields

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.

The desired number of EC2 vCPUS in the compute environment.

The EC2 key pair that is used for instances launched in the compute environment.

The Amazon Machine Image (AMI) ID used for instances launched in the compute environment.

The Amazon ECS instance role applied to Amazon EC2 instances in a compute environment.

The instances types that may launched.

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

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

The EC2 security group that is associated with instances launched in the compute environment.

The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a SPOT compute environment.

The VPC subnets into which the compute resources are launched.

Key-value pair tags to be applied to resources that are launched in the compute environment.

The type of compute environment.

Trait Implementations

impl Default for ComputeResource
[src]

Returns the "default value" for a type. Read more

impl Debug for ComputeResource
[src]

Formats the value using the given formatter.

impl Clone for ComputeResource
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more