@Stability(value=Stable)
public static interface CfnSpotFleet.SpotFleetTagSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSpotFleet.SpotFleetTagSpecificationProperty.Builder
A builder for
CfnSpotFleet.SpotFleetTagSpecificationProperty |
static class |
CfnSpotFleet.SpotFleetTagSpecificationProperty.Jsii$Proxy
An implementation for
CfnSpotFleet.SpotFleetTagSpecificationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnSpotFleet.SpotFleetTagSpecificationProperty.Builder |
builder() |
default String |
getResourceType()
The type of resource.
|
default List<CfnTag> |
getTags()
The tags.
|
@Stability(value=Stable) @Nullable default String getResourceType()
Currently, the only resource type that is supported is instance . To tag the Spot Fleet request on creation, use the TagSpecifications parameter in SpotFleetRequestConfigData .
@Stability(value=Stable) static CfnSpotFleet.SpotFleetTagSpecificationProperty.Builder builder()
Copyright © 2022. All rights reserved.