public AwsCdkSecretHandler(Construct scope, string applicationName, string environmentName, AwsCdkKmsHandler awsCdkKmsHandler, string region, string accountId) : base(scope, applicationName, environmentName) { if (string.IsNullOrEmpty(region) || string.IsNullOrEmpty(accountId)) { throw new ArgumentException("The accountId or region can not be null for the secrethandler constructor"); } TagHandler = new TagHandler(); AwsCdkKmsHandler = awsCdkKmsHandler; Region = region; AccountId = accountId; }
public AwsCdkRoleHandler(Construct scope, string applicationName, string environmentName) : base(scope, applicationName, environmentName) { TagHandler = new TagHandler(); }