ComputeResource constructor

ComputeResource({
  1. required int maxvCpus,
  2. required List<String> subnets,
  3. required CRType type,
  4. CRAllocationStrategy? allocationStrategy,
  5. int? bidPercentage,
  6. int? desiredvCpus,
  7. List<Ec2Configuration>? ec2Configuration,
  8. String? ec2KeyPair,
  9. String? imageId,
  10. String? instanceRole,
  11. List<String>? instanceTypes,
  12. LaunchTemplateSpecification? launchTemplate,
  13. int? minvCpus,
  14. String? placementGroup,
  15. List<String>? securityGroupIds,
  16. String? spotIamFleetRole,
  17. Map<String, String>? tags,
})

Implementation

ComputeResource({
  required this.maxvCpus,
  required this.subnets,
  required this.type,
  this.allocationStrategy,
  this.bidPercentage,
  this.desiredvCpus,
  this.ec2Configuration,
  this.ec2KeyPair,
  this.imageId,
  this.instanceRole,
  this.instanceTypes,
  this.launchTemplate,
  this.minvCpus,
  this.placementGroup,
  this.securityGroupIds,
  this.spotIamFleetRole,
  this.tags,
});