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 for the types of EC2 instances that the capacity provider can use.
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 instance types that the capacity provider can use.The instruction set architecture for EC2 instances.A list of instance types that the capacity provider should not use.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAllowedInstanceTypes
A list of instance types that the capacity provider can use.Supports wildcards (for example, m5.*).
- See Also:
-
getArchitectures
The instruction set architecture for EC2 instances.Specify either x86_64 or arm64.
- See Also:
-
getExcludedInstanceTypes
A list of instance types that the capacity provider should not use.Takes precedence over AllowedInstanceTypes.
- See Also:
-
builder
-