Interface CfnInstancePropsMixin.ElasticInferenceAcceleratorProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInstancePropsMixin.ElasticInferenceAcceleratorProperty.Jsii$Proxy
- Enclosing class:
CfnInstancePropsMixin
@Stability(Stable)
public static interface CfnInstancePropsMixin.ElasticInferenceAcceleratorProperty
extends software.amazon.jsii.JsiiSerializable
Amazon Elastic Inference is no longer available.
Specifies the Elastic Inference Accelerator for the instance.
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.cfnpropertymixins.services.ec2.*;
ElasticInferenceAcceleratorProperty elasticInferenceAcceleratorProperty = ElasticInferenceAcceleratorProperty.builder()
.count(123)
.type("type")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnInstancePropsMixin.ElasticInferenceAcceleratorProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCount
The number of elastic inference accelerators to attach to the instance.- See Also:
-
getType
The type of elastic inference accelerator.The possible values are
eia1.medium,eia1.large,eia1.xlarge,eia2.medium,eia2.large, andeia2.xlarge.- See Also:
-
builder
@Stability(Stable) static CfnInstancePropsMixin.ElasticInferenceAcceleratorProperty.Builder builder()
-