@Stability(value=Stable)
public static interface CfnEC2Fleet.AcceleratorCountRequestProperty
extends software.amazon.jsii.JsiiSerializable
To exclude accelerator-enabled instance types, set Max to 0 .
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.ec2.*;
AcceleratorCountRequestProperty acceleratorCountRequestProperty = AcceleratorCountRequestProperty.builder()
.max(123)
.min(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnEC2Fleet.AcceleratorCountRequestProperty.Builder
A builder for
CfnEC2Fleet.AcceleratorCountRequestProperty |
static class |
CfnEC2Fleet.AcceleratorCountRequestProperty.Jsii$Proxy
An implementation for
CfnEC2Fleet.AcceleratorCountRequestProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnEC2Fleet.AcceleratorCountRequestProperty.Builder |
builder() |
default Number |
getMax()
The maximum number of accelerators.
|
default Number |
getMin()
The minimum number of accelerators.
|
@Stability(value=Stable) @Nullable default Number getMax()
To specify no maximum limit, omit this parameter. To exclude accelerator-enabled instance types, set Max to 0 .
@Stability(value=Stable) @Nullable default Number getMin()
To specify no minimum limit, omit this parameter.
@Stability(value=Stable) static CfnEC2Fleet.AcceleratorCountRequestProperty.Builder builder()
Copyright © 2022. All rights reserved.