class
Amazonite::Lambda::InstanceRequirements
- Amazonite::Lambda::InstanceRequirements
- Reference
- Object
Overview
Specifications that define the characteristics and constraints for compute instances used by the capacity provider.
Included Modules
- JSON::Serializable
Defined in:
lambda/instance_requirements.crConstructors
- .new(pull : JSON::PullParser)
- .new(architectures : Array(Architecture) | Nil = nil, allowed_instance_types : Array(String) | Nil = nil, excluded_instance_types : Array(String) | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#allowed_instance_types : Array(String) | Nil
A list of EC2 instance types that the capacity provider is allowed to use.
-
#allowed_instance_types=(allowed_instance_types : Array(String) | Nil)
A list of EC2 instance types that the capacity provider is allowed to use.
-
#architectures : Array(Architecture) | Nil
A list of supported CPU architectures for compute instances.
-
#architectures=(architectures : Array(Architecture) | Nil)
A list of supported CPU architectures for compute instances.
-
#excluded_instance_types : Array(String) | Nil
A list of EC2 instance types that the capacity provider should not use, even if they meet other requirements.
-
#excluded_instance_types=(excluded_instance_types : Array(String) | Nil)
A list of EC2 instance types that the capacity provider should not use, even if they meet other requirements.
-
#hash(hasher)
See
Object#hash(hasher) - #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
A list of EC2 instance types that the capacity provider is allowed to use. If not specified, all compatible instance types are allowed.
A list of EC2 instance types that the capacity provider is allowed to use. If not specified, all compatible instance types are allowed.
A list of supported CPU architectures for compute instances. Valid values include x86_64 and
arm64.
A list of supported CPU architectures for compute instances. Valid values include x86_64 and
arm64.
A list of EC2 instance types that the capacity provider should not use, even if they meet other requirements.
A list of EC2 instance types that the capacity provider should not use, even if they meet other requirements.