Skip to content
v2.274.0

InstanceConfigProperty Struct ​

An EC2 instance configuration AWS PCS uses to launch compute nodes.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pcs as pcs } from 'aws-cdk-lib';
const instanceConfigProperty: pcs.CfnComputeNodeGroup.InstanceConfigProperty = {
  instanceType: 'instanceType',
};

Properties ​

instanceTypestringinstance_typestrinstanceTypeStringInstanceTypestringInstanceType*string#
The EC2 instance type that AWS PCS can provision in the compute node group.

Example: t2.xlarge