Interface CfnSpotFleet.SpotFleetTagSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSpotFleet.SpotFleetTagSpecificationProperty.Jsii$Proxy
- Enclosing class:
- CfnSpotFleet
@Stability(Stable)
public static interface CfnSpotFleet.SpotFleetTagSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
The tags for a Spot Fleet resource.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
SpotFleetTagSpecificationProperty spotFleetTagSpecificationProperty = SpotFleetTagSpecificationProperty.builder()
.resourceType("resourceType")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSpotFleet.SpotFleetTagSpecificationPropertystatic final classAn implementation forCfnSpotFleet.SpotFleetTagSpecificationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getResourceType
The type of resource.Currently, the only resource type that is supported is
instance. To tag the Spot Fleet request on creation, use theTagSpecificationsparameter in[SpotFleetRequestConfigData](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetRequestConfigData.html). -
getTags
The tags. -
builder
-