Interface CfnSpotFleet.ISpotFleetTagSpecificationProperty
The tags for a Spot Fleet resource.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public interface ISpotFleetTagSpecificationProperty
Syntax (vb)
Public Interface 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
Properties
ResourceType | The type of resource. |
Tags | The tags. |
Properties
ResourceType
The type of resource.
virtual string ResourceType { get; }
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
.