Class CfnCapacityReservation.TagSpecificationProperty
An array of key-value pairs to apply to this resource.
Inheritance
System.Object
CfnCapacityReservation.TagSpecificationProperty
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class TagSpecificationProperty : Object, CfnCapacityReservation.ITagSpecificationProperty
Syntax (vb)
Public Class TagSpecificationProperty
Inherits Object
Implements CfnCapacityReservation.ITagSpecificationProperty
Remarks
For more information, see Tag .
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
Constructors
TagSpecificationProperty() |
Properties
ResourceType | The type of resource to tag. |
Tags | The tags to apply to the resource. |
Constructors
TagSpecificationProperty()
public TagSpecificationProperty()
Properties
ResourceType
The type of resource to tag.
public string ResourceType { get; set; }
Property Value
System.String
Remarks
Tags
The tags to apply to the resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]