AcceleratorTotalMemoryMiBProperty Struct
The minimum and maximum amount of total accelerator memory, in MiB.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const acceleratorTotalMemoryMiBProperty: ec2.CfnLaunchTemplate.AcceleratorTotalMemoryMiBProperty = {
max: 123,
min: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2
accelerator_total_memory_mi_b_property = ec2.CfnLaunchTemplate.AcceleratorTotalMemoryMiBProperty(
max=123,
min=123
)
java
// 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.*;
AcceleratorTotalMemoryMiBProperty acceleratorTotalMemoryMiBProperty = AcceleratorTotalMemoryMiBProperty.builder()
.max(123)
.min(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var acceleratorTotalMemoryMiBProperty = new AcceleratorTotalMemoryMiBProperty {
Max = 123,
Min = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
acceleratorTotalMemoryMiBProperty := &AcceleratorTotalMemoryMiBProperty{
Max: jsii.Number(123),
Min: jsii.Number(123),
}
Properties
The maximum amount of accelerator memory, in MiB.
To specify no maximum limit, omit this parameter.
The minimum amount of accelerator memory, in MiB.
To specify no minimum limit, omit this parameter.