aws-cdk-lib.aws_ec2.CfnSpotFleet.TargetGroupsConfigProperty

interface TargetGroupsConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnSpotFleet.TargetGroupsConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnSpotFleet_TargetGroupsConfigProperty
Javasoftware.amazon.awscdk.services.ec2.CfnSpotFleet.TargetGroupsConfigProperty
Pythonaws_cdk.aws_ec2.CfnSpotFleet.TargetGroupsConfigProperty
TypeScript aws-cdk-lib » aws_ec2 » CfnSpotFleet » TargetGroupsConfigProperty

Describes the target groups to attach to a Spot Fleet.

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

Example

// 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

NameTypeDescription
targetGroupsIResolvable | IResolvable | TargetGroupProperty[]One or more target groups.

targetGroups

Type: IResolvable | IResolvable | TargetGroupProperty[]

One or more target groups.