Show / Hide Table of Contents

Class RemoveTag

The RemoveTag Aspect will handle removing tags from this node and children.

Inheritance
object
RemoveTag
Implements
IAspect
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RemoveTag : DeputyBase, IAspect
Syntax (vb)
Public Class RemoveTag Inherits DeputyBase Implements IAspect
Remarks

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;

            var removeTag = new RemoveTag("key", new TagProps {
                ApplyToLaunchedInstances = false,
                ExcludeResourceTypes = new [] { "excludeResourceTypes" },
                IncludeResourceTypes = new [] { "includeResourceTypes" },
                Priority = 123
            });

Synopsis

Constructors

RemoveTag(string, ITagProps?)

The RemoveTag Aspect will handle removing tags from this node and children.

Properties

Key

The string key for the tag.

Props

The RemoveTag Aspect will handle removing tags from this node and children.

Methods

ApplyTag(ITaggable)

The RemoveTag Aspect will handle removing tags from this node and children.

ApplyTagV2(ITaggableV2)

The RemoveTag Aspect will handle removing tags from this node and children.

Visit(IConstruct)

All aspects can visit an IConstruct.

Constructors

RemoveTag(string, ITagProps?)

The RemoveTag Aspect will handle removing tags from this node and children.

public RemoveTag(string key, ITagProps? props = null)
Parameters
key string

The string key for the tag.

props ITagProps

The string key for the tag.

Remarks

ExampleMetadata: fixture=_generated

Properties

Key

The string key for the tag.

public virtual string Key { get; }
Property Value

string

Remarks

ExampleMetadata: fixture=_generated

Props

The RemoveTag Aspect will handle removing tags from this node and children.

protected virtual ITagProps Props { get; }
Property Value

ITagProps

Remarks

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;

            var removeTag = new RemoveTag("key", new TagProps {
                ApplyToLaunchedInstances = false,
                ExcludeResourceTypes = new [] { "excludeResourceTypes" },
                IncludeResourceTypes = new [] { "includeResourceTypes" },
                Priority = 123
            });

Methods

ApplyTag(ITaggable)

The RemoveTag Aspect will handle removing tags from this node and children.

protected virtual void ApplyTag(ITaggable resource)
Parameters
resource ITaggable
Remarks

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;

            var removeTag = new RemoveTag("key", new TagProps {
                ApplyToLaunchedInstances = false,
                ExcludeResourceTypes = new [] { "excludeResourceTypes" },
                IncludeResourceTypes = new [] { "includeResourceTypes" },
                Priority = 123
            });

ApplyTagV2(ITaggableV2)

The RemoveTag Aspect will handle removing tags from this node and children.

protected virtual void ApplyTagV2(ITaggableV2 resource)
Parameters
resource ITaggableV2
Remarks

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;

            var removeTag = new RemoveTag("key", new TagProps {
                ApplyToLaunchedInstances = false,
                ExcludeResourceTypes = new [] { "excludeResourceTypes" },
                IncludeResourceTypes = new [] { "includeResourceTypes" },
                Priority = 123
            });

Visit(IConstruct)

All aspects can visit an IConstruct.

public virtual void Visit(IConstruct construct)
Parameters
construct IConstruct
Remarks

ExampleMetadata: fixture=_generated

Implements

IAspect
Back to top Generated by DocFX