Function PrefixWith

  • Decorator to prefixes all resource ids in stack with a given string

    Example

    @PrefixWith('Test')
    class TestStack extends Stack {
    constructor(scope: any, id: string) {
    super(scope, id);
    }
    }

    Parameters

    • prefix: string

      the prefix to add to all resources

    Returns any

Generated using TypeDoc