Interface CfnCapacityProvider.InstanceRequirementsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCapacityProvider.InstanceRequirementsProperty.Jsii$Proxy
- Enclosing class:
CfnCapacityProvider
@Stability(Stable)
public static interface CfnCapacityProvider.InstanceRequirementsProperty
extends software.amazon.jsii.JsiiSerializable
Specifications that define the characteristics and constraints for compute instances used by the capacity provider.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lambda.*;
InstanceRequirementsProperty instanceRequirementsProperty = InstanceRequirementsProperty.builder()
.allowedInstanceTypes(List.of("allowedInstanceTypes"))
.architectures(List.of("architectures"))
.excludedInstanceTypes(List.of("excludedInstanceTypes"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCapacityProvider.InstanceRequirementsPropertystatic final classAn implementation forCfnCapacityProvider.InstanceRequirementsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()A list of EC2 instance types that the capacity provider is allowed to use.A list of supported CPU architectures for compute instances.A list of EC2 instance types that the capacity provider should not use, even if they meet other requirements.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAllowedInstanceTypes
A list of EC2 instance types that the capacity provider is allowed to use.If not specified, all compatible instance types are allowed.
- See Also:
-
getArchitectures
A list of supported CPU architectures for compute instances.Valid values include
x86_64andarm64.- See Also:
-
getExcludedInstanceTypes
A list of EC2 instance types that the capacity provider should not use, even if they meet other requirements.- See Also:
-
builder
-