Show / Hide Table of Contents

Class CfnEC2Fleet.TagSpecificationProperty

Specifies the tags to apply to a resource when the resource is being created for an EC2 Fleet.

Inheritance
object
CfnEC2Fleet.TagSpecificationProperty
Implements
CfnEC2Fleet.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 CfnEC2Fleet.TagSpecificationProperty : CfnEC2Fleet.ITagSpecificationProperty
Syntax (vb)
Public Class CfnEC2Fleet.TagSpecificationProperty Implements CfnEC2Fleet.ITagSpecificationProperty
Remarks

TagSpecification is a property of the AWS::EC2::EC2Fleet resource.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-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()

Specifies the tags to apply to a resource when the resource is being created for an EC2 Fleet.

Properties

ResourceType

The type of resource to tag.

Tags

The tags to apply to the resource.

Constructors

TagSpecificationProperty()

Specifies the tags to apply to a resource when the resource is being created for an EC2 Fleet.

public TagSpecificationProperty()
Remarks

TagSpecification is a property of the AWS::EC2::EC2Fleet resource.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-tagspecification.html#cfn-ec2-ec2fleet-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-ec2fleet-tagspecification.html#cfn-ec2-ec2fleet-tagspecification-tags

Implements

CfnEC2Fleet.ITagSpecificationProperty
Back to top Generated by DocFX