interface TargetGroupsConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.EC2.CfnSpotFleetPropsMixin.TargetGroupsConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsec2#CfnSpotFleetPropsMixin_TargetGroupsConfigProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnSpotFleetPropsMixin.TargetGroupsConfigProperty |
Python | aws_cdk.cfn_property_mixins.aws_ec2.CfnSpotFleetPropsMixin.TargetGroupsConfigProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ec2 » 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 { aws_ec2 as ec2 } from '@aws-cdk/cfn-property-mixins';
const targetGroupsConfigProperty: ec2.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