Interface CfnEC2Fleet.ITagSpecificationProperty
Specifies the tags to apply to a resource when the resource is being created for an EC2 Fleet.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public interface ITagSpecificationProperty
Syntax (vb)
Public Interface ITagSpecificationProperty
Remarks
TagSpecification
is a property of the AWS::EC2::EC2Fleet resource.
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.AWS.EC2;
var tagSpecificationProperty = new TagSpecificationProperty {
ResourceType = "resourceType",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
ResourceType | The type of resource to tag. |
Tags | The tags to apply to the resource. |
Properties
ResourceType
The type of resource to tag.
virtual string ResourceType { get; }
Property Value
System.String