@Stability(value=Stable)
public static interface CfnLaunchTemplate.AcceleratorCountProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
AcceleratorCountProperty acceleratorCountProperty = AcceleratorCountProperty.builder()
.max(123)
.min(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLaunchTemplate.AcceleratorCountProperty.Builder
A builder for
CfnLaunchTemplate.AcceleratorCountProperty |
static class |
CfnLaunchTemplate.AcceleratorCountProperty.Jsii$Proxy
An implementation for
CfnLaunchTemplate.AcceleratorCountProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnLaunchTemplate.AcceleratorCountProperty.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 CfnLaunchTemplate.AcceleratorCountProperty.Builder builder()
Copyright © 2022. All rights reserved.