# RemoveTag

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

Extends: RemoveTag
Implements: IAspect

- Source: [`core/lib/tag-aspect.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/core/lib/tag-aspect.ts#L217)
- Type last changed: v2.81.0 · 25 May 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const removeTag = new cdk.RemoveTag('key', /* all optional props */ {
  applyToLaunchedInstances: false,
  excludeResourceTypes: ['excludeResourceTypes'],
  includeResourceTypes: ['includeResourceTypes'],
  priority: 123,
});
```

## Initializer

```ts
new RemoveTag(key: string, props?: TagProps)
```

## Properties

- `key`: string — The string key for the tag.

## Methods

- `visit(construct: IConstruct): void` — All aspects can visit an IConstruct.
