Function TagWith

  • Decorator to add tags to a stack.

    If this is used on a class, it will add the tags to all resources in the stack.

    Example

    @TagWith('my-tag', 'my-value')
    class MyStack extends Stack {
    constructor(scope: any, id: string) {
    super(scope, id);
    }
    }

    Parameters

    • key: string

      tag key

    • value: string

      tag value

    Returns any

Generated using TypeDoc