InstanceRequirements
Specifications that define the characteristics and constraints for compute instances used by the capacity provider.
Contents
- AllowedInstanceTypes
-
A list of EC2 instance types that the capacity provider is allowed to use. If not specified, all compatible instance types are allowed.
Type: Array of strings
Array Members: Minimum number of 0 items. Maximum number of 400 items.
Length Constraints: Minimum length of 1. Maximum length of 30.
Pattern:
[a-zA-Z0-9\.\-]+Required: No
- Architectures
-
A list of supported CPU architectures for compute instances. Valid values include
x86_64andarm64.Type: Array of strings
Array Members: Fixed number of 1 item.
Valid Values:
x86_64 | arm64Required: No
- ExcludedInstanceTypes
-
A list of EC2 instance types that the capacity provider should not use, even if they meet other requirements.
Type: Array of strings
Array Members: Minimum number of 0 items. Maximum number of 400 items.
Length Constraints: Minimum length of 1. Maximum length of 30.
Pattern:
[a-zA-Z0-9\.\-]+Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: