Interface CfnLaunchTemplate.LaunchTemplateElasticInferenceAcceleratorProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLaunchTemplate.LaunchTemplateElasticInferenceAcceleratorProperty.Jsii$Proxy
- Enclosing class:
- CfnLaunchTemplate
@Stability(Stable)
public static interface CfnLaunchTemplate.LaunchTemplateElasticInferenceAcceleratorProperty
extends software.amazon.jsii.JsiiSerializable
Specifies an elastic inference accelerator.
LaunchTemplateElasticInferenceAccelerator is a property of AWS::EC2::LaunchTemplate LaunchTemplateData .
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.*;
LaunchTemplateElasticInferenceAcceleratorProperty launchTemplateElasticInferenceAcceleratorProperty = LaunchTemplateElasticInferenceAcceleratorProperty.builder()
.count(123)
.type("type")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnLaunchTemplate.LaunchTemplateElasticInferenceAcceleratorProperty -
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.Default: 1
-
getType
The type of elastic inference accelerator.The possible values are eia1.medium, eia1.large, and eia1.xlarge.
-
builder
@Stability(Stable) static CfnLaunchTemplate.LaunchTemplateElasticInferenceAcceleratorProperty.Builder builder()
-