interface SpotFleetTagSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.CfnSpotFleet.SpotFleetTagSpecificationProperty |
Java | software.amazon.awscdk.services.ec2.CfnSpotFleet.SpotFleetTagSpecificationProperty |
Python | aws_cdk.aws_ec2.CfnSpotFleet.SpotFleetTagSpecificationProperty |
TypeScript | @aws-cdk/aws-ec2 » CfnSpotFleet » SpotFleetTagSpecificationProperty |
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 * as ec2 from '@aws-cdk/aws-ec2';
const spotFleetTagSpecificationProperty: ec2.CfnSpotFleet.SpotFleetTagSpecificationProperty = {
resourceType: 'resourceType',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| resource | string | The type of resource. |
| tags? | Cfn[] | The tags. |
resourceType?
Type:
string
(optional)
The type of resource.
Currently, the only resource type that is supported is instance . To tag the Spot Fleet request on creation, use the TagSpecifications parameter in [SpotFleetRequestConfigData](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetRequestConfigData.html) .
tags?
Type:
Cfn[]
(optional)
The tags.

.NET
Java
Python
TypeScript