ComputeResourceUpdate class

An object representing the attributes of a compute environment that can be updated. For more information, see Compute Environments in the AWS Batch User Guide.

Constructors

ComputeResourceUpdate({int? desiredvCpus, int? maxvCpus, int? minvCpus, List<String>? securityGroupIds, List<String>? subnets})

Properties

desiredvCpus int?
The desired number of Amazon EC2 vCPUS in the compute environment.
final
hashCode int
The hash code for this object.
no setterinherited
maxvCpus int?
The maximum number of Amazon EC2 vCPUs that an environment can reach.
final
minvCpus int?
The minimum number of Amazon EC2 vCPUs that an environment should maintain.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
securityGroupIds List<String>?
The Amazon EC2 security groups associated with instances launched in the compute environment. This parameter is required for Fargate compute resources, where it can contain up to 5 security groups. This can't be specified for EC2 compute resources. Providing an empty list is handled as if this parameter wasn't specified and no change is made.
final
subnets List<String>?
The VPC subnets that the compute resources are launched into. This parameter is required for jobs running on Fargate compute resources, where it can contain up to 16 subnets. For more information, see VPCs and Subnets in the Amazon VPC User Guide. This can't be specified for EC2 compute resources. Providing an empty list will be handled as if this parameter wasn't specified and no change is made.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited