public static interface CfnSpotFleet.SpotFleetTagSpecificationProperty
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 java.lang.String |
getResourceType()
The type of resource.
|
default java.util.List<CfnTag> |
getTags()
The tags.
|
default java.lang.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
.
default java.util.List<CfnTag> getTags()
static CfnSpotFleet.SpotFleetTagSpecificationProperty.Builder builder()