ComputeResource constructor
ComputeResource({
- required int maxvCpus,
- required List<
String> subnets, - required CRType type,
- CRAllocationStrategy? allocationStrategy,
- int? bidPercentage,
- int? desiredvCpus,
- List<
Ec2Configuration> ? ec2Configuration, - String? ec2KeyPair,
- String? imageId,
- String? instanceRole,
- List<
String> ? instanceTypes, - LaunchTemplateSpecification? launchTemplate,
- int? minvCpus,
- String? placementGroup,
- List<
String> ? securityGroupIds, - String? spotIamFleetRole,
- 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,
});