Show / Hide Table of Contents

Interface CfnSpotFleetPropsMixin.ISpotFleetTagSpecificationProperty

The tags for a Spot Fleet resource.

Namespace: Amazon.CDK.CfnPropertyMixins.AWS.EC2
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface CfnSpotFleetPropsMixin.ISpotFleetTagSpecificationProperty
Syntax (vb)
Public Interface CfnSpotFleetPropsMixin.ISpotFleetTagSpecificationProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleettagspecification.html

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.CfnPropertyMixins.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.

string? ResourceType { get; }
Property Value

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleettagspecification.html#cfn-ec2-spotfleet-spotfleettagspecification-resourcetype

Tags

The tags.

ICfnTag[]? Tags { get; }
Property Value

ICfnTag[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleettagspecification.html#cfn-ec2-spotfleet-spotfleettagspecification-tags

Back to top Generated by DocFX