interface TargetGroupsConfigProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.CfnSpotFleet.TargetGroupsConfigProperty |
Java | software.amazon.awscdk.services.ec2.CfnSpotFleet.TargetGroupsConfigProperty |
Python | aws_cdk.aws_ec2.CfnSpotFleet.TargetGroupsConfigProperty |
TypeScript | @aws-cdk/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 * as ec2 from '@aws-cdk/aws-ec2';
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.