Skip to content
v2.273.0

TargetGroupsConfigProperty Struct ​

Describes the target groups to attach to a Spot Fleet.

Spot Fleet registers the running Spot Instances with these target groups.

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 targetGroupsConfigProperty: ec2.CfnSpotFleet.TargetGroupsConfigProperty = {
  targetGroups: [{
    arn: 'arn',
  }],
};

Properties ​

targetGroupsIResolvable | IResolvable | CfnSpotFleet.TargetGroupProperty[]target_groupstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, TargetGroupProperty]]]targetGroupsIResolvableTargetGroupsIResolvableTargetGroupsinterface{}required#
One or more target groups.