interface TargetGroupsConfigProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.CfnSpotFleet.TargetGroupsConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnSpotFleet_TargetGroupsConfigProperty |
Java | software.amazon.awscdk.services.ec2.CfnSpotFleet.TargetGroupsConfigProperty |
Python | aws_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
Name | Type | Description |
---|---|---|
target | IResolvable | IResolvable | Target [] | One or more target groups. |
targetGroups
Type:
IResolvable
|
IResolvable
|
Target
[]
One or more target groups.