@Stability(value=Stable)
public static interface CfnInstance.ElasticInferenceAcceleratorProperty
extends software.amazon.jsii.JsiiSerializable
ElasticInferenceAccelerator is a property of the AWS::EC2::Instance resource.
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.*;
ElasticInferenceAcceleratorProperty elasticInferenceAcceleratorProperty = ElasticInferenceAcceleratorProperty.builder()
.type("type")
// the properties below are optional
.count(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnInstance.ElasticInferenceAcceleratorProperty.Builder
A builder for
CfnInstance.ElasticInferenceAcceleratorProperty |
static class |
CfnInstance.ElasticInferenceAcceleratorProperty.Jsii$Proxy
An implementation for
CfnInstance.ElasticInferenceAcceleratorProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnInstance.ElasticInferenceAcceleratorProperty.Builder |
builder() |
default Number |
getCount()
The number of elastic inference accelerators to attach to the instance.
|
String |
getType()
The type of elastic inference accelerator.
|
@Stability(value=Stable) @NotNull String getType()
The possible values are eia1.medium , eia1.large , eia1.xlarge , eia2.medium , eia2.large , and eia2.xlarge .
@Stability(value=Stable) @Nullable default Number getCount()
@Stability(value=Stable) static CfnInstance.ElasticInferenceAcceleratorProperty.Builder builder()
Copyright © 2022. All rights reserved.