These arguments are only defined for some layers, so you would need to filter them out e.g. via:
for name, module in model.named_modules():
    if isinstance(module, nn.Conv2d):
        print(name, module.kernel_size, module.stride, ...)