interface ServiceManagedEc2InstanceCapabilitiesProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.aws_deadline.CfnFleet.ServiceManagedEc2InstanceCapabilitiesProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsdeadline#CfnFleet_ServiceManagedEc2InstanceCapabilitiesProperty |
Java | software.amazon.awscdk.services.deadline.CfnFleet.ServiceManagedEc2InstanceCapabilitiesProperty |
Python | aws_cdk.aws_deadline.CfnFleet.ServiceManagedEc2InstanceCapabilitiesProperty |
TypeScript | aws-cdk-lib » aws_deadline » CfnFleet » ServiceManagedEc2InstanceCapabilitiesProperty |
The Amazon EC2 instance capabilities.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_deadline as deadline } from 'aws-cdk-lib';
const serviceManagedEc2InstanceCapabilitiesProperty: deadline.CfnFleet.ServiceManagedEc2InstanceCapabilitiesProperty = {
cpuArchitectureType: 'cpuArchitectureType',
memoryMiB: {
min: 123,
// the properties below are optional
max: 123,
},
osFamily: 'osFamily',
vCpuCount: {
min: 123,
// the properties below are optional
max: 123,
},
// the properties below are optional
acceleratorCapabilities: {
selections: [{
name: 'name',
// the properties below are optional
runtime: 'runtime',
}],
// the properties below are optional
count: {
min: 123,
// the properties below are optional
max: 123,
},
},
allowedInstanceTypes: ['allowedInstanceTypes'],
customAmounts: [{
min: 123,
name: 'name',
// the properties below are optional
max: 123,
}],
customAttributes: [{
name: 'name',
values: ['values'],
}],
excludedInstanceTypes: ['excludedInstanceTypes'],
rootEbsVolume: {
iops: 123,
sizeGiB: 123,
throughputMiB: 123,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| cpu | string | The CPU architecture type. |
| memory | IResolvable | Memory | The memory, as MiB, for the Amazon EC2 instance type. |
| os | string | The operating system (OS) family. |
| v | IResolvable | VCpu | The amount of vCPU to require for instances in this fleet. |
| accelerator | IResolvable | Accelerator | Describes the GPU accelerator capabilities required for worker host instances in this fleet. |
| allowed | string[] | The allowable Amazon EC2 instance types. |
| custom | IResolvable | (IResolvable | Fleet)[] | The custom capability amounts to require for instances in this fleet. |
| custom | IResolvable | (IResolvable | Fleet)[] | The custom capability attributes to require for instances in this fleet. |
| excluded | string[] | The instance types to exclude from the fleet. |
| root | IResolvable | Ec2 | The root EBS volume. |
cpuArchitectureType
Type:
string
The CPU architecture type.
memoryMiB
Type:
IResolvable | Memory
The memory, as MiB, for the Amazon EC2 instance type.
osFamily
Type:
string
The operating system (OS) family.
vCpuCount
Type:
IResolvable | VCpu
The amount of vCPU to require for instances in this fleet.
acceleratorCapabilities?
Type:
IResolvable | Accelerator
(optional)
Describes the GPU accelerator capabilities required for worker host instances in this fleet.
allowedInstanceTypes?
Type:
string[]
(optional)
The allowable Amazon EC2 instance types.
customAmounts?
Type:
IResolvable | (IResolvable | Fleet)[]
(optional)
The custom capability amounts to require for instances in this fleet.
customAttributes?
Type:
IResolvable | (IResolvable | Fleet)[]
(optional)
The custom capability attributes to require for instances in this fleet.
excludedInstanceTypes?
Type:
string[]
(optional)
The instance types to exclude from the fleet.
rootEbsVolume?
Type:
IResolvable | Ec2
(optional)
The root EBS volume.

.NET
Go
Java
Python
TypeScript