Class CfnSpotFleet.TargetGroupsConfigProperty
Describes the target groups to attach to a Spot Fleet.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSpotFleet.TargetGroupsConfigProperty : CfnSpotFleet.ITargetGroupsConfigProperty
Syntax (vb)
Public Class CfnSpotFleet.TargetGroupsConfigProperty Implements CfnSpotFleet.ITargetGroupsConfigProperty
Remarks
Spot Fleet registers the running Spot Instances with these target groups.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var targetGroupsConfigProperty = new TargetGroupsConfigProperty {
TargetGroups = new [] { new TargetGroupProperty {
Arn = "arn"
} }
};
Synopsis
Constructors
| TargetGroupsConfigProperty() | Describes the target groups to attach to a Spot Fleet. |
Properties
| TargetGroups | One or more target groups. |
Constructors
TargetGroupsConfigProperty()
Describes the target groups to attach to a Spot Fleet.
public TargetGroupsConfigProperty()
Remarks
Spot Fleet registers the running Spot Instances with these target groups.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var targetGroupsConfigProperty = new TargetGroupsConfigProperty {
TargetGroups = new [] { new TargetGroupProperty {
Arn = "arn"
} }
};
Properties
TargetGroups
One or more target groups.
public object TargetGroups { get; set; }