Show / Hide Table of Contents

Class CfnCapacityReservation.TagSpecificationProperty

An array of key-value pairs to apply to this resource.

Inheritance
object
CfnCapacityReservation.TagSpecificationProperty
Implements
CfnCapacityReservation.ITagSpecificationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCapacityReservation.TagSpecificationProperty : CfnCapacityReservation.ITagSpecificationProperty
Syntax (vb)
Public Class CfnCapacityReservation.TagSpecificationProperty Implements CfnCapacityReservation.ITagSpecificationProperty
Remarks

For more information, see Tag .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-capacityreservation-tagspecification.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.AWS.EC2;

             var tagSpecificationProperty = new TagSpecificationProperty {
                 ResourceType = "resourceType",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Synopsis

Constructors

TagSpecificationProperty()

An array of key-value pairs to apply to this resource.

Properties

ResourceType

The type of resource to tag.

Tags

The tags to apply to the resource.

Constructors

TagSpecificationProperty()

An array of key-value pairs to apply to this resource.

public TagSpecificationProperty()
Remarks

For more information, see Tag .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-capacityreservation-tagspecification.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.AWS.EC2;

             var tagSpecificationProperty = new TagSpecificationProperty {
                 ResourceType = "resourceType",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Properties

ResourceType

The type of resource to tag.

public string? ResourceType { get; set; }
Property Value

string

Remarks

Specify capacity-reservation .

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

Tags

The tags to apply to the resource.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

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

Implements

CfnCapacityReservation.ITagSpecificationProperty
Back to top Generated by DocFX