InstanceRequirements - AWS Lambda
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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_64 and arm64.

Type: Array of strings

Array Members: Fixed number of 1 item.

Valid Values: x86_64 | arm64

Required: 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: