@Stability(value=Stable)
public static interface CfnInstance.ElasticGpuSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
An Elastic GPU is a GPU resource that you can attach to your Amazon EC2 instance to accelerate the graphics performance of your applications. For more information, see Amazon EC2 Elastic GPUs in the Amazon EC2 User Guide for Windows Instances .
ElasticGpuSpecification 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.*;
ElasticGpuSpecificationProperty elasticGpuSpecificationProperty = ElasticGpuSpecificationProperty.builder()
.type("type")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnInstance.ElasticGpuSpecificationProperty.Builder
A builder for
CfnInstance.ElasticGpuSpecificationProperty |
static class |
CfnInstance.ElasticGpuSpecificationProperty.Jsii$Proxy
An implementation for
CfnInstance.ElasticGpuSpecificationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnInstance.ElasticGpuSpecificationProperty.Builder |
builder() |
String |
getType()
The type of Elastic Graphics accelerator.
|
@Stability(value=Stable) @NotNull String getType()
For more information about the values to specify for Type , see Elastic Graphics Basics , specifically the Elastic Graphics accelerator column, in the Amazon Elastic Compute Cloud User Guide for Windows Instances .
@Stability(value=Stable) static CfnInstance.ElasticGpuSpecificationProperty.Builder builder()
Copyright © 2022. All rights reserved.