Class CfnSpotFleet.SpotFleetTagSpecificationProperty
The tags for a Spot Fleet resource.
Inheritance
System.Object
CfnSpotFleet.SpotFleetTagSpecificationProperty
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SpotFleetTagSpecificationProperty : Object, CfnSpotFleet.ISpotFleetTagSpecificationProperty
Syntax (vb)
Public Class SpotFleetTagSpecificationProperty
Inherits Object
Implements CfnSpotFleet.ISpotFleetTagSpecificationProperty
Remarks
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 spotFleetTagSpecificationProperty = new SpotFleetTagSpecificationProperty {
ResourceType = "resourceType",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
SpotFleetTagSpecificationProperty() |
Properties
ResourceType | The type of resource. |
Tags | The tags. |
Constructors
SpotFleetTagSpecificationProperty()
public SpotFleetTagSpecificationProperty()
Properties
ResourceType
The type of resource.
public string ResourceType { get; set; }
Property Value
System.String
Remarks
Currently, the only resource type that is supported is instance
. To tag the Spot Fleet request on creation, use the TagSpecifications
parameter in SpotFleetRequestConfigData
.