interface TargetGroupsConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnSpotFleetPropsMixin.TargetGroupsConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnSpotFleetPropsMixin_TargetGroupsConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnSpotFleetPropsMixin.TargetGroupsConfigProperty |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnSpotFleetPropsMixin.TargetGroupsConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnSpotFleetPropsMixin » 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 { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const targetGroupsConfigProperty: ec2_mixins.CfnSpotFleetPropsMixin.TargetGroupsConfigProperty = {
targetGroups: [{
arn: 'arn',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| target | IResolvable | (IResolvable | Target)[] | One or more target groups. |
targetGroups?
Type:
IResolvable | (IResolvable | Target)[]
(optional)
One or more target groups.

.NET
Go
Java
Python
TypeScript