InstanceRequirementsProperty Struct
Specifications that define the characteristics and constraints for compute instances used by the capacity provider.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const instanceRequirementsProperty: lambda.CfnCapacityProvider.InstanceRequirementsProperty = {
allowedInstanceTypes: ['allowedInstanceTypes'],
architectures: ['architectures'],
excludedInstanceTypes: ['excludedInstanceTypes'],
};
Properties
allowedInstanceTypesstring[]allowed_instance_typestyping.List[str]allowedInstanceTypesList<String>AllowedInstanceTypesstring[]AllowedInstanceTypes*[]*string#A list of EC2 instance types that the capacity provider is allowed to use.
If not specified, all compatible instance types are allowed.
architecturesstring[]architecturestyping.List[str]architecturesList<String>Architecturesstring[]Architectures*[]*string#A list of supported CPU architectures for compute instances.
Valid values include x86_64 and arm64 .
excludedInstanceTypesstring[]excluded_instance_typestyping.List[str]excludedInstanceTypesList<String>ExcludedInstanceTypesstring[]ExcludedInstanceTypes*[]*string#A list of EC2 instance types that the capacity provider should not use, even if they meet other requirements.