Class RemoveTag
The RemoveTag Aspect will handle removing tags from this node and children.
Inheritance
System.Object
RemoveTag
Implements
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(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
RemoveTag(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
RemoveTag(String, ITagProps) |
Properties
Key | The string key for the tag. |
Props |
Methods
ApplyTag(ITaggable) | |
ApplyTagV2(ITaggableV2) | |
Visit(IConstruct) | All aspects can visit an IConstruct. |
Constructors
RemoveTag(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected RemoveTag(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
RemoveTag(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected RemoveTag(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
RemoveTag(String, ITagProps)
public RemoveTag(string key, ITagProps props = null)
Parameters
- key System.String
The string key for the tag.
- props ITagProps
The string key for the tag.
Properties
Key
The string key for the tag.
public virtual string Key { get; }
Property Value
System.String
Props
Methods
ApplyTag(ITaggable)
ApplyTagV2(ITaggableV2)
Visit(IConstruct)
All aspects can visit an IConstruct.
public virtual void Visit(IConstruct construct)
Parameters
- construct Constructs.IConstruct